Searched refs:getCalledValue (Results 1 - 25 of 67) sorted by relevance

123

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUFixFunctionBitcasts.cpp37 auto Callee = dyn_cast<Function>(CS.getCalledValue()->stripPointerCasts());
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DValueProfilePlugins.inc62 Value *Callee = CallSite(I).getCalledValue();
H A DDataFlowSanitizer.cpp1505 IRB.CreateCall(I.getFunctionType(), I.getCalledValue(),
1541 if ((F && F->isIntrinsic()) || isa<InlineAsm>(CS.getCalledValue())) {
1554 DFSF.DFS.UnwrappedFnMap.find(CS.getCalledValue());
1677 CS.getCalledValue()->getType()->getPointerElementType());
1714 IRB.CreateBitCast(CS.getCalledValue(), PointerType::getUnqual(NewFT));
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerInvoke.cpp56 CallInst::Create(II->getFunctionType(), II->getCalledValue(),
H A DCallPromotionUtils.cpp265 if (CS.getCalledValue()->getType() != Callee->getType())
266 Callee = Builder.CreateBitCast(Callee, CS.getCalledValue()->getType());
267 auto *Cond = Builder.CreateICmpEQ(CS.getCalledValue(), Callee);
H A DEvaluator.cpp271 auto *V = CS.getCalledValue();
489 if (isa<InlineAsm>(CS.getCalledValue())) {
572 InstResult = castCallResultIfNeeded(CS.getCalledValue(), C);
595 InstResult = castCallResultIfNeeded(CS.getCalledValue(), RetVal);
H A DLocal.cpp1963 II->getCalledValue(), Args, OpBundles);
2014 InvokeInst::Create(CI->getFunctionType(), CI->getCalledValue(), Split,
2045 Value *Callee = CI->getCalledValue();
2120 Value *Callee = II->getCalledValue();
2933 if (isa<InlineAsm>(ImmutableCallSite(I).getCalledValue()))
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DCallSite.h104 ValTy *getCalledValue() const { function in class:llvm::CallSiteBase
112 return dyn_cast<FunTy>(getCalledValue());
117 const Value *V = getCalledValue();
886 Value *getCalledValue() const { function in class:llvm::AbstractCallSite
888 return CS.getCalledValue();
895 Value *V = getCalledValue();
H A DStatepoint.h133 ValueTy *getCalledValue() const { function in class:llvm::StatepointFlags::StatepointBase
143 return dyn_cast<Function>(getCalledValue());
159 cast<PointerType>(getCalledValue()->getType())->getElementType());
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DWasmEHPrepare.cpp286 if (CI->getCalledValue() == GetExnF)
288 if (CI->getCalledValue() == GetSelectorF)
H A DPreISelIntrinsicLowering.cpp42 if (!CI || CI->getCalledValue() != &F)
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-diff/
H A DDiffConsumer.cpp58 printValue(cast<CallInst>(V)->getCalledValue(), isL);
61 printValue(cast<InvokeInst>(V)->getCalledValue(), isL);
H A DDifferenceEngine.cpp227 if (!equivalentAsOperands(L.getCalledValue(), R.getCalledValue())) {
641 if (!equivalentAsOperands(LCall->getCalledValue(), RInvoke->getCalledValue()))
654 if (!equivalentAsOperands(LInvoke->getCalledValue(), RCall->getCalledValue()))
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFixFunctionBitcasts.cpp80 Value *Callee = CS.getCalledValue();
307 cast<Function>(CallMain->getCalledValue()->stripPointerCasts());
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp382 if (auto *F = dyn_cast<Function>(CI->getCalledValue()))
398 Args.push_back(CI->getCalledValue());
450 Value *Callee = CI->getCalledValue();
758 bool NeedInvoke = AllowExceptions && canThrow(II->getCalledValue());
773 IRB.CreateCall(II->getFunctionType(), II->getCalledValue(), Args);
969 const Value *Callee = CI->getCalledValue();
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DPruneEH.cpp139 if (const auto *IA = dyn_cast<InlineAsm>(ICS.getCalledValue()))
H A DCalledValuePropagation.cpp393 auto RegI = CVPLatticeKey(CS.getCalledValue(), IPOGrouping::Register);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DStatepointLowering.cpp861 unsigned AS = ISP.getCalledValue()->getType()->getPointerAddressSpace();
864 ActualCallee = getValue(ISP.getCalledValue());
979 ImmutableStatepoint(I).getCalledValue()->getType());
H A DFunctionLoweringInfo.cpp189 if (isa<InlineAsm>(CS.getCalledValue())) {
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DIRDynamicChecks.cpp468 return GetFunction(inst->getCalledValue());
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DFastISel.h131 Callee = Call.getCalledValue();
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DAliasAnalysisEvaluator.cpp117 Value *Callee = Call->getCalledValue();
H A DStackSafetyAnalysis.cpp339 dyn_cast<GlobalValue>(CS.getCalledValue()->stripPointerCasts());
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64PromoteConstant.cpp307 return !(CI && isa<const InlineAsm>(CI->getCalledValue()));
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp967 if (auto *CalledValue = Call->getCalledValue())
1102 auto *Callee = CS.getCalledValue()->stripPointerCasts();
1132 auto *CalledValue = CS.getCalledValue();

Completed in 397 milliseconds

123