Home
last modified time | relevance | path

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

1234

/freebsd/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/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp388 if (CB.getCalledOperand()->getType() != Callee->getType()) in versionCallSite()
389 Callee = Builder.CreateBitCast(Callee, CB.getCalledOperand()->getType()); in versionCallSite()
390 auto *Cond = Builder.CreateICmpEQ(CB.getCalledOperand(), Callee); in versionCallSite()
600 Value *Callee = CB.getCalledOperand(); in tryPromoteCall()
H A DLowerInvoke.cpp54 CallInst::Create(II->getFunctionType(), II->getCalledOperand(), in runImpl()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/CFGuard/
H A DCFGuard.cpp180 Value *CalledOperand = CB->getCalledOperand(); in insertCFGuardCheck()
209 Value *CalledOperand = CB->getCalledOperand(); in insertCFGuardDispatch()
/freebsd/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()
921 if (!equivalentAsOperands(LCall->getCalledOperand(), in runBlockDiff()
922 RInvoke->getCalledOperand(), nullptr)) in runBlockDiff()
935 if (!equivalentAsOperands(LInvoke->getCalledOperand(), in runBlockDiff()
936 RCall->getCalledOperand(), nullptr)) in runBlockDiff()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DIndirectCallVisitor.h43 LoadInst *LI = dyn_cast<LoadInst>(CB->getCalledOperand()); in tryGetVTableInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFCheckAndAdjustIR.cpp122 auto *GV = dyn_cast<GlobalValue>(Call->getCalledOperand()); in removePassThroughBuiltin()
152 auto *GV = dyn_cast<GlobalValue>(Call->getCalledOperand()); in removeCompareBuiltin()
208 auto *Called = dyn_cast<Function>(Call->getCalledOperand()); in sinkMinMaxInBB()
H A DBPFPreserveDIType.cpp56 const auto *GV = dyn_cast<GlobalValue>(Call->getCalledOperand()); in BPFPreserveDITypeImpl()
/freebsd/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.cpp524 Args.push_back(CI->getCalledOperand()); in wrapInvoke()
849 if (canLongjmp(CB->getCalledOperand())) in containsLongjmpableCalls()
1088 const Value *Callee = II->getCalledOperand(); in runEHOnFunction()
1401 const Value *Callee = CI->getCalledOperand(); in handleLongjmpableCallsForEmscriptenSjLj()
1672 const Value *Callee = CI->getCalledOperand(); in handleLongjmpableCallsForWasmSjLj()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAnnotateKernelFeatures.cpp77 dyn_cast<Function>(CB->getCalledOperand()->stripPointerCasts()); in addFeatureAttributes()
/freebsd/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/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DKCFI.cpp96 Value *FuncPtr = Call->getCalledOperand(); in run()
H A DValueProfilePlugins.inc85 Value *Callee = cast<CallBase>(I)->getCalledOperand();
/freebsd/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/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DJumpTableToSwitch.cpp161 auto *L = dyn_cast<LoadInst>(Call->getCalledOperand()); in run()
/freebsd/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()
2475 auto *Callee = dyn_cast_if_present<Function>(CB->getCalledOperand()); in cleanupIR()
2877 if (cast<CallBase>(ACS.getInstruction())->getCalledOperand()->getType() != in isValidFunctionSignatureRewrite()
3264 cast<CallInst>(I).getCalledOperand())) in initializeInformationCache()
3536 Function *Callee = dyn_cast_if_present<Function>(CB.getCalledOperand()); in identifyDefaultAbstractAttributes()
H A DCalledValuePropagation.cpp390 auto RegI = CVPLatticeKey(C->getCalledOperand(), IPOGrouping::Register); in runCVP()
H A DExpandVariadics.cpp459 Value *CalledOperand = CB->getCalledOperand(); in runOnFunction()
809 Value *Dst = NF ? NF : CI->getCalledOperand(); in expandCall()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DSpeculateAnalyses.cpp56 auto CalledValue = Call->getCalledOperand()->stripPointerCasts(); in findCalles()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp332 const Value *V = getCalledOperand(); in isIndirectCall()
433 if (auto *F = dyn_cast<Function>(getCalledOperand())) in hasFnAttrOnCalledFunction()
440 if (auto *F = dyn_cast<Function>(getCalledOperand())) in hasFnAttrOnCalledFunction()
454 if (auto *F = dyn_cast<Function>(getCalledOperand())) in getFnAttrOnCalledFunction()
467 Value *V = getCalledOperand(); in getParamAttrOnCalledFunction()
606 if (auto *Fn = dyn_cast<Function>(getCalledOperand())) { in getMemoryEffects()
742 auto *NewCI = CallInst::Create(CI->getFunctionType(), CI->getCalledOperand(), in Create()
822 II->getFunctionType(), II->getCalledOperand(), II->getNormalDest(), in Create()
907 CBI->getFunctionType(), CBI->getCalledOperand(), CBI->getDefaultDest(), in Create()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DIRDynamicChecks.cpp446 return GetFunction(inst->getCalledOperand()); in GetCalledFunction()

1234