Lines Matching refs:FTy
679 void CallInst::init(FunctionType *FTy, Value *Func, ArrayRef<Value *> Args, in init() argument
681 this->FTy = FTy; in init()
686 assert((Args.size() == FTy->getNumParams() || in init()
687 (FTy->isVarArg() && Args.size() > FTy->getNumParams())) && in init()
691 assert((i >= FTy->getNumParams() || in init()
692 FTy->getParamType(i) == Args[i]->getType()) && in init()
708 void CallInst::init(FunctionType *FTy, Value *Func, const Twine &NameStr) { in init() argument
709 this->FTy = FTy; in init()
713 assert(FTy->getNumParams() == 0 && "Calling a function with bad signature"); in init()
726 : CallBase(CI.Attrs, CI.FTy, CI.getType(), Instruction::Call, in CallInst()
771 void InvokeInst::init(FunctionType *FTy, Value *Fn, BasicBlock *IfNormal, in init() argument
775 this->FTy = FTy; in init()
782 assert(((Args.size() == FTy->getNumParams()) || in init()
783 (FTy->isVarArg() && Args.size() > FTy->getNumParams())) && in init()
787 assert((i >= FTy->getNumParams() || in init()
788 FTy->getParamType(i) == Args[i]->getType()) && in init()
807 : CallBase(II.Attrs, II.FTy, II.getType(), Instruction::Invoke, in InvokeInst()
851 void CallBrInst::init(FunctionType *FTy, Value *Fn, BasicBlock *Fallthrough, in init() argument
856 this->FTy = FTy; in init()
864 assert(((Args.size() == FTy->getNumParams()) || in init()
865 (FTy->isVarArg() && Args.size() > FTy->getNumParams())) && in init()
869 assert((i >= FTy->getNumParams() || in init()
870 FTy->getParamType(i) == Args[i]->getType()) && in init()
891 : CallBase(CBI.Attrs, CBI.FTy, CBI.getType(), Instruction::CallBr, in CallBrInst()