Lines Matching refs:CallInst

131   if (auto *Call = dyn_cast<CallInst>(I))  in isIntrinsicCall()
141 static CallInst *isGEPAndLoad(Value *I) { in isGEPAndLoad()
143 return cast<CallInst>(I); in isGEPAndLoad()
147 static CallInst *isGEPAndStore(Value *I) { in isGEPAndStore()
149 return cast<CallInst>(I); in isGEPAndStore()
161 static CallInst *makeIntrinsicCall(Module *M, in makeIntrinsicCall()
167 return CallInst::Create(Fn, Args); in makeIntrinsicCall()
170 static void setParamElementType(CallInst *Call, unsigned ArgNo, Type *Type) { in setParamElementType()
175 static void setParamReadNone(CallInst *Call, unsigned ArgNo) { in setParamReadNone()
180 static void setParamReadOnly(CallInst *Call, unsigned ArgNo) { in setParamReadOnly()
185 static void setParamWriteOnly(CallInst *Call, unsigned ArgNo) { in setParamWriteOnly()
228 CallInst *Call = makeIntrinsicCall(M, Intrinsic::bpf_getelementptr_and_load, in makeGEPAndLoad()
249 CallInst *Call = in makeGEPAndStore()
268 static unsigned getOperandAsUnsigned(CallInst *Call, unsigned ArgNo) { in getOperandAsUnsigned()
278 static GetElementPtrInst *reconstructGEP(CallInst *Call, int Delta) { in reconstructGEP()
291 static void reconstructCommon(CallInst *Call, GetElementPtrInst *GEP, T *Insn, in reconstructCommon()
304 BPFPreserveStaticOffsetPass::reconstructLoad(CallInst *Call) { in reconstructLoad()
315 BPFPreserveStaticOffsetPass::reconstructStore(CallInst *Call) { in reconstructStore()
451 if (auto *Call = dyn_cast<CallInst>(U)) in isInlineableCall()
528 BPFPreserveStaticOffsetPass::reconstructLoad(cast<CallInst>(Insn)); in rewriteAccessChain()
539 BPFPreserveStaticOffsetPass::reconstructStore(cast<CallInst>(Insn)); in rewriteAccessChain()
620 return cast<CallInst>(U)->getArgOperand(0) == Op; in removePAICalls()
631 auto *Call = dyn_cast<CallInst>(V); in removePAICalls()