Home
last modified time | relevance | path

Searched refs:getCalledOperand (Results 1 – 25 of 66) sorted by relevance

123

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DAbstractCallSite.h210 Value *getCalledOperand() const { in getCalledOperand() function
212 return CB->getCalledOperand(); in getCalledOperand()
219 Value *V = getCalledOperand(); in getCalledFunction()
H A DInstrTypes.h1389 Value *getCalledOperand() const { return Op<CalledOperandOpEndIdx>(); }
1397 return dyn_cast_or_null<Function>(getCalledOperand());
1462 bool isInlineAsm() const { return isa<InlineAsm>(getCalledOperand()); }
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp291 if (CB.getCalledOperand()->getType() != Callee->getType()) in versionCallSite()
292 Callee = Builder.CreateBitCast(Callee, CB.getCalledOperand()->getType()); in versionCallSite()
293 auto *Cond = Builder.CreateICmpEQ(CB.getCalledOperand(), Callee); in versionCallSite()
540 Value *Callee = CB.getCalledOperand(); in tryPromoteCall()
H A DLowerInvoke.cpp56 CallInst::Create(II->getFunctionType(), II->getCalledOperand(), in runImpl()
H A DEvaluator.cpp266 auto *V = CB.getCalledOperand(); in getCalleeWithFormalArgs()
589 InstResult = castCallResultIfNeeded(CB.getCalledOperand(), C); in EvaluateBlock()
613 InstResult = castCallResultIfNeeded(CB.getCalledOperand(), RetVal); in EvaluateBlock()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-diff/
H A DDifferenceEngine.cpp227 if (!equivalentAsOperands(L.getCalledOperand(), R.getCalledOperand())) { in diffCallSites()
641 if (!equivalentAsOperands(LCall->getCalledOperand(), in runBlockDiff()
642 RInvoke->getCalledOperand())) in runBlockDiff()
655 if (!equivalentAsOperands(LInvoke->getCalledOperand(), in runBlockDiff()
656 RCall->getCalledOperand())) in runBlockDiff()
H A DDiffConsumer.cpp58 printValue(CI->getCalledOperand(), isL); in printValue()
61 printValue(II->getCalledOperand(), isL); in printValue()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/CFGuard/
H A DCFGuard.cpp166 Value *CalledOperand = CB->getCalledOperand(); in insertCFGuardCheck()
190 Value *CalledOperand = CB->getCalledOperand(); in insertCFGuardDispatch()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUFixFunctionBitcasts.cpp39 dyn_cast<Function>(CB.getCalledOperand()->stripPointerCasts()); in visitCallBase()
H A DAMDGPUAnnotateKernelFeatures.cpp294 dyn_cast<Function>(CB->getCalledOperand()->stripPointerCasts()); in addFeatureAttributes()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DWasmEHPrepare.cpp293 if (CI->getCalledOperand() == GetExnF) in prepareEHPad()
295 if (CI->getCalledOperand() == GetSelectorF) in prepareEHPad()
H A DPreISelIntrinsicLowering.cpp42 if (!CI || CI->getCalledOperand() != &F) in lowerLoadRelative()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFixFunctionBitcasts.cpp79 Value *Callee = CB->getCalledOperand(); in findUses()
310 cast<Function>(CallMain->getCalledOperand()->stripPointerCasts()); in runOnModule()
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp428 Args.push_back(CI->getCalledOperand()); in wrapInvoke()
812 bool NeedInvoke = AllowExceptions && canThrow(II->getCalledOperand()); in runEHOnFunction()
827 IRB.CreateCall(II->getFunctionType(), II->getCalledOperand(), Args); in runEHOnFunction()
1046 const Value *Callee = CI->getCalledOperand(); in runSjLjOnFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/BPF/
H A DBPFCheckAndAdjustIR.cpp110 auto *GV = dyn_cast<GlobalValue>(Call->getCalledOperand()); in removePassThroughBuiltin()
H A DBPFPreserveDIType.cpp54 const auto *GV = dyn_cast<GlobalValue>(Call->getCalledOperand()); in BPFPreserveDITypeImpl()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DValueProfilePlugins.inc84 Value *Callee = cast<CallBase>(I)->getCalledOperand();
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
H A DInlineAsmLowering.cpp53 const InlineAsm *IA = cast<InlineAsm>(CB.getCalledOperand()); in ExtraFlags()
277 const InlineAsm *IA = cast<InlineAsm>(Call.getCalledOperand()); in lowerInlineAsm()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DPruneEH.cpp132 if (const auto *IA = dyn_cast<InlineAsm>(CB->getCalledOperand())) in runImpl()
H A DCalledValuePropagation.cpp388 auto RegI = CVPLatticeKey(C->getCalledOperand(), IPOGrouping::Register); in runCVP()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Orc/
H A DSpeculateAnalyses.cpp57 auto CalledValue = Call->getCalledOperand()->stripPointerCasts(); in findCalles()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DFastISel.h130 Callee = Call.getCalledOperand();
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DAliasAnalysisEvaluator.cpp119 Value *Callee = Call->getCalledOperand(); in runInternal()
H A DMemorySSA.cpp177 if (Call->getCalledOperand() != Other.Call->getCalledOperand()) in operator ==()
213 MLOC.getCall()->getCalledOperand())); in getHashValue()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp1687 Value *AssumeIntrinsic = II->getCalledOperand(); in visitCallInst()
2236 Value *Callee = Call.getCalledOperand(); in visitCallBase()
2463 dyn_cast<Function>(Call.getCalledOperand()->stripPointerCasts()); in transformConstExprCastCall()
2585 PointerType *APTy = cast<PointerType>(Call.getCalledOperand()->getType()); in transformConstExprCastCall()
2750 Value *Callee = Call.getCalledOperand(); in transformCallThroughTrampoline()

123