Home | History | Annotate | Download | only in IR

Lines Matching defs:CallInst

1359 class CallInst : public Instruction,
1360 public OperandBundleUser<CallInst, User::op_iterator> {
1361 friend class OperandBundleUser<CallInst, User::op_iterator>;
1366 CallInst(const CallInst &CI);
1368 /// Construct a CallInst given a range of arguments.
1369 /// Construct a CallInst from a range of arguments
1370 inline CallInst(FunctionType *Ty, Value *Func, ArrayRef<Value *> Args,
1374 inline CallInst(Value *Func, ArrayRef<Value *> Args,
1377 : CallInst(cast<FunctionType>(
1381 inline CallInst(Value *Func, ArrayRef<Value *> Args, const Twine &NameStr,
1383 : CallInst(Func, Args, None, NameStr, InsertBefore) {}
1385 /// Construct a CallInst given a range of arguments.
1386 /// Construct a CallInst from a range of arguments
1387 inline CallInst(Value *Func, ArrayRef<Value *> Args,
1391 explicit CallInst(Value *F, const Twine &NameStr,
1394 CallInst(Value *F, const Twine &NameStr, BasicBlock *InsertAtEnd);
1412 CallInst *cloneImpl() const;
1415 static CallInst *Create(Value *Func, ArrayRef<Value *> Args,
1424 static CallInst *Create(Value *Func, ArrayRef<Value *> Args,
1432 static CallInst *Create(FunctionType *Ty, Value *Func, ArrayRef<Value *> Args,
1436 CallInst(Ty, Func, Args, None, NameStr, InsertBefore);
1439 static CallInst *Create(FunctionType *Ty, Value *Func, ArrayRef<Value *> Args,
1448 CallInst(Ty, Func, Args, Bundles, NameStr, InsertBefore);
1451 static CallInst *Create(Value *Func, ArrayRef<Value *> Args,
1459 CallInst(Func, Args, Bundles, NameStr, InsertAtEnd);
1462 static CallInst *Create(Value *Func, ArrayRef<Value *> Args,
1465 CallInst(Func, Args, None, NameStr, InsertAtEnd);
1468 static CallInst *Create(Value *F, const Twine &NameStr = "",
1470 return new(1) CallInst(F, NameStr, InsertBefore);
1473 static CallInst *Create(Value *F, const Twine &NameStr,
1475 return new(1) CallInst(F, NameStr, InsertAtEnd);
1484 static CallInst *Create(CallInst *CI, ArrayRef<OperandBundleDef> Bundles,
1680 "Use CallInst::isNoBuiltin() to check for Attribute::NoBuiltin");
1915 struct OperandTraits<CallInst> : public VariadicOperandTraits<CallInst, 1> {
1918 CallInst::CallInst(Value *Func, ArrayRef<Value *> Args,
1924 Instruction::Call, OperandTraits<CallInst>::op_end(this) -
1930 CallInst::CallInst(FunctionType *Ty, Value *Func, ArrayRef<Value *> Args,
1934 OperandTraits<CallInst>::op_end(this) -
1944 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(CallInst, Value)
3776 "Use CallInst::isNoBuiltin() to check for Attribute::NoBuiltin");