Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DAbstractCallSite.h212 Value *getCalledOperand() const { in getCalledOperand() function
214 return CB->getCalledOperand(); in getCalledOperand()
221 Value *V = getCalledOperand(); in getCalledFunction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/CFGuard/
H A DCFGuard.cpp183 Value *CalledOperand = CB->getCalledOperand(); in insertCFGuardCheck()
212 Value *CalledOperand = CB->getCalledOperand(); in insertCFGuardDispatch()
/freebsd/contrib/llvm-project/llvm/tools/llvm-diff/lib/
H A DDiffConsumer.cpp59 printValue(CI->getCalledOperand(), isL); in printValue()
62 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/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp390 if (CB.getCalledOperand()->getType() != Callee->getType()) in versionCallSite()
391 Callee = Builder.CreateBitCast(Callee, CB.getCalledOperand()->getType()); in versionCallSite()
392 auto *Cond = Builder.CreateICmpEQ(CB.getCalledOperand(), Callee); in versionCallSite()
689 Value *Callee = CB.getCalledOperand(); in tryPromoteCall()
H A DLowerInvoke.cpp54 CallInst::Create(II->getFunctionType(), II->getCalledOperand(), in runImpl()
/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.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.cpp55 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()
289 cast<Function>(CallMain->getCalledOperand()->stripPointerCasts()); in runOnModule()
H A DWebAssemblyAddMissingPrototypes.cpp98 if (CB->getCalledOperand() == V) in runOnModule()
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp528 Args.push_back(CI->getCalledOperand()); in wrapInvoke()
854 if (canLongjmp(CB->getCalledOperand())) in containsLongjmpableCalls()
1093 const Value *Callee = II->getCalledOperand(); in runEHOnFunction()
1406 const Value *Callee = CI->getCalledOperand(); in handleLongjmpableCallsForEmscriptenSjLj()
1677 const Value *Callee = CI->getCalledOperand(); in handleLongjmpableCallsForWasmSjLj()
/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 DGlobalMergeFunctions.cpp50 Function *Callee = CI->getCalledOperand() in canParameterizeCallOperand()
52 CI->getCalledOperand()->stripPointerCasts()) in canParameterizeCallOperand()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DKCFI.cpp95 Value *FuncPtr = Call->getCalledOperand(); in run()
H A DValueProfilePlugins.inc85 Value *Callee = cast<CallBase>(I)->getCalledOperand();
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXAliasAnalysis.cpp128 if (const auto *IA = dyn_cast<InlineAsm>(Call->getCalledOperand())) { in getMemoryEffects()
/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 DMemProfContextDisambiguation.cpp2679 auto *CalledValue = CB->getCalledOperand(); in findProfiledCalleeThroughTailCalls()
2728 if (!CB->getCalledOperand() || CB->isIndirectCall()) in getCalleeFunc()
2730 auto *CalleeVal = CB->getCalledOperand()->stripPointerCasts(); in getCalleeFunc()
2741 if (!CB->getCalledOperand() || CB->isIndirectCall()) in calleeMatchesFunc()
2743 auto *CalleeVal = CB->getCalledOperand()->stripPointerCasts(); in calleeMatchesFunc()
2781 if (!CB1->getCalledOperand() || CB1->isIndirectCall()) in sameCallee()
2783 auto *CalleeVal1 = CB1->getCalledOperand()->stripPointerCasts(); in sameCallee()
2786 if (!CB2->getCalledOperand() || CB2->isIndirectCall()) in sameCallee()
2788 auto *CalleeVal2 = CB2->getCalledOperand()->stripPointerCasts(); in sameCallee()
5173 auto *GA = dyn_cast_or_null<GlobalAlias>(CB->getCalledOperand()); in applyImport()
[all …]
H A DAttributor.cpp1051 auto *Callee = dyn_cast_if_present<Function>(CB.getCalledOperand()); in getAssociatedArgument()
1294 if (auto *Callee = dyn_cast_if_present<Function>(CB->getCalledOperand())) in SubsumingPositionIterator()
1303 dyn_cast_if_present<Function>(CB->getCalledOperand())) { in SubsumingPositionIterator()
1323 auto *Callee = dyn_cast_if_present<Function>(CB->getCalledOperand()); in SubsumingPositionIterator()
1531 if (CB.getCalledOperand() == Arg->getParent() && in translateArgumentToCallSiteContent()
1749 if (const Function *Callee = dyn_cast<Function>(CB.getCalledOperand())) in checkForAllCallees()
2467 auto *Callee = dyn_cast_if_present<Function>(CB->getCalledOperand()); in cleanupIR()
2866 if (cast<CallBase>(ACS.getInstruction())->getCalledOperand()->getType() != in isValidFunctionSignatureRewrite()
3245 cast<CallInst>(I).getCalledOperand())) in initializeInformationCache()
3524 Function *Callee = dyn_cast_if_present<Function>(CB.getCalledOperand()); in identifyDefaultAbstractAttributes()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp336 const Value *V = getCalledOperand(); in isIndirectCall()
358 if (auto *F = dyn_cast_or_null<Function>(getCalledOperand())) in getIntrinsicID()
462 if (auto *F = dyn_cast<Function>(getCalledOperand())) in hasFnAttrOnCalledFunction()
469 if (auto *F = dyn_cast<Function>(getCalledOperand())) in hasFnAttrOnCalledFunction()
483 if (auto *F = dyn_cast<Function>(getCalledOperand())) in getFnAttrOnCalledFunction()
497 Value *V = getCalledOperand(); in getParamAttrOnCalledFunction()
637 if (auto *Fn = dyn_cast<Function>(getCalledOperand())) { in getMemoryEffects()
718 if (auto *Fn = dyn_cast<Function>(getCalledOperand())) in getCaptureInfo()
735 if (auto *Fn = dyn_cast<Function>(getCalledOperand())) in hasArgumentWithAdditionalReturnCaptureComponents()
810 auto *NewCI = CallInst::Create(CI->getFunctionType(), CI->getCalledOperand(), in Create()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DSpeculateAnalyses.cpp54 auto CalledValue = Call->getCalledOperand()->stripPointerCasts(); in findCalles()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DIRDynamicChecks.cpp363 return GetFunction(inst->getCalledOperand()); in GetCalledFunction()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DKernelInfo.cpp149 identifyCallee(R, Caller.getParent(), Call.getCalledOperand()); in remarkCall()

1234