Home
last modified time | relevance | path

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

1234

/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp292 if (CB.getCalledOperand()->getType() != Callee->getType()) in versionCallSite()
293 Callee = Builder.CreateBitCast(Callee, CB.getCalledOperand()->getType()); in versionCallSite()
294 auto *Cond = Builder.CreateICmpEQ(CB.getCalledOperand(), Callee); in versionCallSite()
566 Value *Callee = CB.getCalledOperand(); in tryPromoteCall()
H A DLowerInvoke.cpp54 CallInst::Create(II->getFunctionType(), II->getCalledOperand(), in runImpl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/CFGuard/
H A DCFGuard.cpp179 Value *CalledOperand = CB->getCalledOperand(); in insertCFGuardCheck()
208 Value *CalledOperand = CB->getCalledOperand(); in insertCFGuardDispatch()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-diff/lib/
H A DDiffConsumer.cpp57 printValue(CI->getCalledOperand(), isL); in printValue()
60 printValue(II->getCalledOperand(), isL); in printValue()
H A DDifferenceEngine.cpp345 if (!equivalentAsOperands(L.getCalledOperand(), R.getCalledOperand(), in diffCallSites()
927 if (!equivalentAsOperands(LCall->getCalledOperand(), in runBlockDiff()
928 RInvoke->getCalledOperand(), nullptr)) in runBlockDiff()
941 if (!equivalentAsOperands(LInvoke->getCalledOperand(), in runBlockDiff()
942 RCall->getCalledOperand(), nullptr)) in runBlockDiff()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFCheckAndAdjustIR.cpp119 auto *GV = dyn_cast<GlobalValue>(Call->getCalledOperand()); in removePassThroughBuiltin()
149 auto *GV = dyn_cast<GlobalValue>(Call->getCalledOperand()); in removeCompareBuiltin()
205 auto *Called = dyn_cast<Function>(Call->getCalledOperand()); in sinkMinMaxInBB()
H A DBPFPreserveDIType.cpp56 const auto *GV = dyn_cast<GlobalValue>(Call->getCalledOperand()); in BPFPreserveDITypeImpl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFixFunctionBitcasts.cpp74 Value *Callee = CB->getCalledOperand(); in findUses()
287 cast<Function>(CallMain->getCalledOperand()->stripPointerCasts()); in runOnModule()
H A DWebAssemblyAddMissingPrototypes.cpp99 if (CB->getCalledOperand() == V) in runOnModule()
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp530 Args.push_back(CI->getCalledOperand()); in wrapInvoke()
856 if (canLongjmp(CB->getCalledOperand())) in containsLongjmpableCalls()
1095 const Value *Callee = II->getCalledOperand(); in runEHOnFunction()
1508 const Value *Callee = CI->getCalledOperand(); in handleLongjmpableCallsForEmscriptenSjLj()
1787 const Value *Callee = CI->getCalledOperand(); in handleLongjmpableCallsForWasmSjLj()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAnnotateKernelFeatures.cpp77 dyn_cast<Function>(CB->getCalledOperand()->stripPointerCasts()); in addFeatureAttributes()
H A DSIMachineFunctionInfo.cpp760 const InlineAsm *IA = dyn_cast<InlineAsm>(CB->getCalledOperand()); in mayUseAGPRs()
772 dyn_cast<Function>(CB->getCalledOperand()->stripPointerCasts()); in mayUseAGPRs()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DWasmEHPrepare.cpp313 if (CI->getCalledOperand() == GetExnF) in prepareEHPad()
315 if (CI->getCalledOperand() == GetSelectorF) in prepareEHPad()
H A DPreISelIntrinsicLowering.cpp78 if (!CI || CI->getCalledOperand() != &F) in lowerLoadRelative()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DKCFI.cpp97 Value *FuncPtr = Call->getCalledOperand(); in run()
H A DValueProfilePlugins.inc85 Value *Callee = cast<CallBase>(I)->getCalledOperand();
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DInlineAsmLowering.cpp48 const InlineAsm *IA = cast<InlineAsm>(CB.getCalledOperand()); in ExtraFlags()
219 const InlineAsm *IA = cast<InlineAsm>(Call.getCalledOperand()); in lowerInlineAsm()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributor.cpp1043 auto *Callee = dyn_cast_if_present<Function>(CB.getCalledOperand()); in getAssociatedArgument()
1286 if (auto *Callee = dyn_cast_if_present<Function>(CB->getCalledOperand())) in SubsumingPositionIterator()
1295 dyn_cast_if_present<Function>(CB->getCalledOperand())) { in SubsumingPositionIterator()
1315 auto *Callee = dyn_cast_if_present<Function>(CB->getCalledOperand()); in SubsumingPositionIterator()
1522 if (CB.getCalledOperand() == Arg->getParent() && in translateArgumentToCallSiteContent()
1740 if (const Function *Callee = dyn_cast<Function>(CB.getCalledOperand())) in checkForAllCallees()
2472 auto *Callee = dyn_cast_if_present<Function>(CB->getCalledOperand()); in cleanupIR()
2873 if (cast<CallBase>(ACS.getInstruction())->getCalledOperand()->getType() != in isValidFunctionSignatureRewrite()
3259 cast<CallInst>(I).getCalledOperand())) in initializeInformationCache()
3531 Function *Callee = dyn_cast_if_present<Function>(CB.getCalledOperand()); in identifyDefaultAbstractAttributes()
H A DCalledValuePropagation.cpp389 auto RegI = CVPLatticeKey(C->getCalledOperand(), IPOGrouping::Register); in runCVP()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DSpeculateAnalyses.cpp56 auto CalledValue = Call->getCalledOperand()->stripPointerCasts(); in findCalles()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXUtilities.cpp333 return dyn_cast<Function>(CB->getCalledOperand()->stripPointerCasts()); in getMaybeBitcastedCallee()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DIRDynamicChecks.cpp446 return GetFunction(inst->getCalledOperand()); in GetCalledFunction()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DFastISel.h131 Callee = Call.getCalledOperand();
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp375 auto *CalledValue = CB->getCalledOperand(); in computeFunctionSummary()
1119 auto *CalledValue = CB->getCalledOperand(); in mayHaveMemprofSummary()

1234