ΒΆllvm::CallInst* createCallInstWithColors(
llvm::FunctionCallee Func,
ArrayRef<llvm::Value*> Args,
const llvm::Twine& NameStr,
llvm::Instruction* InsertBefore,
const DenseMap<llvm::BasicBlock*,
llvm::ColorVector>&
BlockColors)
llvm::CallInst* createCallInstWithColors(
llvm::FunctionCallee Func,
ArrayRef<llvm::Value*> Args,
const llvm::Twine& NameStr,
llvm::Instruction* InsertBefore,
const DenseMap<llvm::BasicBlock*,
llvm::ColorVector>&
BlockColors)
Description
Create a call instruction with the correct funclet token. This should be called instead of calling CallInst::Create directly unless the call is going to be removed from the IR before WinEHPrepare.
Declared at: llvm/lib/Transforms/ObjCARC/ObjCARC.h:100
Parameters
- llvm::FunctionCallee Func
- ArrayRef<llvm::Value*> Args
- const llvm::Twine& NameStr
- llvm::Instruction* InsertBefore
- const DenseMap<llvm::BasicBlock*, llvm::ColorVector>& BlockColors