Lines Matching refs:CallInst

130   if (auto *Call = dyn_cast<CallInst>(I))  in isIntrinsicCall()
140 static CallInst *isGEPAndLoad(Value *I) { in isGEPAndLoad()
142 return cast<CallInst>(I); in isGEPAndLoad()
146 static CallInst *isGEPAndStore(Value *I) { in isGEPAndStore()
148 return cast<CallInst>(I); in isGEPAndStore()
160 static CallInst *makeIntrinsicCall(Module *M, in makeIntrinsicCall()
166 return CallInst::Create(Fn, Args); in makeIntrinsicCall()
169 static void setParamElementType(CallInst *Call, unsigned ArgNo, Type *Type) { in setParamElementType()
174 static void setParamReadNone(CallInst *Call, unsigned ArgNo) { in setParamReadNone()
179 static void setParamReadOnly(CallInst *Call, unsigned ArgNo) { in setParamReadOnly()
184 static void setParamWriteOnly(CallInst *Call, unsigned ArgNo) { in setParamWriteOnly()
227 CallInst *Call = makeIntrinsicCall(M, Intrinsic::bpf_getelementptr_and_load, in makeGEPAndLoad()
248 CallInst *Call = in makeGEPAndStore()
267 static unsigned getOperandAsUnsigned(CallInst *Call, unsigned ArgNo) { in getOperandAsUnsigned()
277 static GetElementPtrInst *reconstructGEP(CallInst *Call, int Delta) { in reconstructGEP()
290 static void reconstructCommon(CallInst *Call, GetElementPtrInst *GEP, T *Insn, in reconstructCommon()
303 BPFPreserveStaticOffsetPass::reconstructLoad(CallInst *Call) { in reconstructLoad()
314 BPFPreserveStaticOffsetPass::reconstructStore(CallInst *Call) { in reconstructStore()
450 if (auto *Call = dyn_cast<CallInst>(U)) in isInlineableCall()
527 BPFPreserveStaticOffsetPass::reconstructLoad(cast<CallInst>(Insn)); in rewriteAccessChain()
538 BPFPreserveStaticOffsetPass::reconstructStore(cast<CallInst>(Insn)); in rewriteAccessChain()
619 return cast<CallInst>(U)->getArgOperand(0) == Op; in removePAICalls()
630 auto *Call = dyn_cast<CallInst>(V); in removePAICalls()