Home | History | Annotate | Download | only in IR

Lines Matching defs:CallInst

1348 /// CallInst - This class represents a function call, abstracting a target
1353 class CallInst : public Instruction,
1354 public OperandBundleUser<CallInst, User::op_iterator> {
1357 CallInst(const CallInst &CI);
1368 /// Construct a CallInst given a range of arguments.
1369 /// \brief Construct a CallInst from a range of arguments
1370 inline CallInst(FunctionType *Ty, Value *Func, ArrayRef<Value *> Args,
1373 inline CallInst(Value *Func, ArrayRef<Value *> Args,
1376 : CallInst(cast<FunctionType>(
1380 inline CallInst(Value *Func, ArrayRef<Value *> Args, const Twine &NameStr,
1382 : CallInst(Func, Args, None, NameStr, InsertBefore) {}
1384 /// Construct a CallInst given a range of arguments.
1385 /// \brief Construct a CallInst from a range of arguments
1386 inline CallInst(Value *Func, ArrayRef<Value *> Args,
1390 explicit CallInst(Value *F, const Twine &NameStr,
1392 CallInst(Value *F, const Twine &NameStr, BasicBlock *InsertAtEnd);
1394 friend class OperandBundleUser<CallInst, User::op_iterator>;
1400 CallInst *cloneImpl() const;
1403 static CallInst *Create(Value *Func, ArrayRef<Value *> Args,
1411 static CallInst *Create(Value *Func, ArrayRef<Value *> Args,
1418 static CallInst *Create(FunctionType *Ty, Value *Func, ArrayRef<Value *> Args,
1422 CallInst(Ty, Func, Args, None, NameStr, InsertBefore);
1424 static CallInst *Create(FunctionType *Ty, Value *Func, ArrayRef<Value *> Args,
1433 CallInst(Ty, Func, Args, Bundles, NameStr, InsertBefore);
1435 static CallInst *Create(Value *Func, ArrayRef<Value *> Args,
1443 CallInst(Func, Args, Bundles, NameStr, InsertAtEnd);
1445 static CallInst *Create(Value *Func, ArrayRef<Value *> Args,
1448 CallInst(Func, Args, None, NameStr, InsertAtEnd);
1450 static CallInst *Create(Value *F, const Twine &NameStr = "",
1452 return new(1) CallInst(F, NameStr, InsertBefore);
1454 static CallInst *Create(Value *F, const Twine &NameStr,
1456 return new(1) CallInst(F, NameStr, InsertAtEnd);
1465 static CallInst *Create(CallInst *CI, ArrayRef<OperandBundleDef> Bundles,
1508 ~CallInst() override;
1652 "Use CallInst::isNoBuiltin() to check for Attribute::NoBuiltin");
1867 struct OperandTraits<CallInst> : public VariadicOperandTraits<CallInst, 1> {
1870 CallInst::CallInst(Value *Func, ArrayRef<Value *> Args,
1876 Instruction::Call, OperandTraits<CallInst>::op_end(this) -
1882 CallInst::CallInst(FunctionType *Ty, Value *Func, ArrayRef<Value *> Args,
1886 OperandTraits<CallInst>::op_end(this) -
1896 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(CallInst, Value)
3621 "Use CallInst::isNoBuiltin() to check for Attribute::NoBuiltin");