Home
last modified time | relevance | path

Searched refs:getCalledValue (Results 1 – 25 of 68) sorted by relevance

123

/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp266 if (CS.getCalledValue()->getType() != Callee->getType()) in versionCallSite()
267 Callee = Builder.CreateBitCast(Callee, CS.getCalledValue()->getType()); in versionCallSite()
268 auto *Cond = Builder.CreateICmpEQ(CS.getCalledValue(), Callee); in versionCallSite()
H A DEvaluator.cpp234 auto *V = CS.getCalledValue(); in getCalleeWithFormalArgs()
463 if (isa<InlineAsm>(CS.getCalledValue())) { in EvaluateBlock()
545 InstResult = castCallResultIfNeeded(CS.getCalledValue(), C); in EvaluateBlock()
568 InstResult = castCallResultIfNeeded(CS.getCalledValue(), RetVal); in EvaluateBlock()
H A DLowerInvoke.cpp56 CallInst::Create(II->getCalledValue(), CallArgs, OpBundles, "", II); in runImpl()
H A DLocal.cpp1940 CallInst *NewCall = CallInst::Create(II->getCalledValue(), Args, OpBundles, in changeToCall()
1984 InvokeInst *II = InvokeInst::Create(CI->getCalledValue(), Split, UnwindEdge, in changeToInvokeAndSplitBasicBlock()
2015 Value *Callee = CI->getCalledValue(); in markAliveBlocks()
2090 Value *Callee = II->getCalledValue(); in markAliveBlocks()
2848 if (isa<InlineAsm>(ImmutableCallSite(I).getCalledValue())) in canReplaceOperandWithVariable()
/freebsd-12.1/contrib/llvm/tools/llvm-diff/
H A DDifferenceEngine.cpp228 if (!equivalentAsOperands(L.getCalledValue(), R.getCalledValue())) { in diffCallSites()
642 if (!equivalentAsOperands(LCall->getCalledValue(), RInvoke->getCalledValue())) in runBlockDiff()
655 if (!equivalentAsOperands(LInvoke->getCalledValue(), RCall->getCalledValue())) in runBlockDiff()
H A DDiffConsumer.cpp59 printValue(cast<CallInst>(V)->getCalledValue(), isL); in printValue()
62 printValue(cast<InvokeInst>(V)->getCalledValue(), isL); in printValue()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DWasmEHPrepare.cpp310 if (CI->getCalledValue() == ClangCallTermF) in prepareEHPads()
331 if (CI->getCalledValue() == GetExnF) in prepareEHPad()
333 else if (CI->getCalledValue() == GetSelectorF) in prepareEHPad()
H A DPreISelIntrinsicLowering.cpp41 if (!CI || CI->getCalledValue() != &F) in lowerLoadRelative()
H A DMachineModuleInfo.cpp337 cast<FunctionType>(I.getCalledValue()->getType()->getContainedType(0)); in computeUsesVAFloatArgument()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DStatepoint.h141 ValueTy *getCalledValue() const { in getCalledValue() function
152 return dyn_cast<Function>(getCalledValue()); in getCalledFunction()
168 cast<PointerType>(getCalledValue()->getType())->getElementType()); in getActualReturnType()
H A DCallSite.h100 ValTy *getCalledValue() const { in getCalledValue() function
108 return dyn_cast<FunTy>(getCalledValue()); in getCalledFunction()
113 const Value *V = getCalledValue(); in isIndirectCall()
/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp405 if (auto *F = dyn_cast<Function>(CI->getCalledValue())) in wrapInvoke()
421 Args.push_back(CI->getCalledValue()); in wrapInvoke()
459 Value *Callee = CI->getCalledValue(); in getInvokeWrapper()
758 bool NeedInvoke = AllowExceptions && canThrow(II->getCalledValue()); in runEHOnFunction()
772 CallInst *NewCall = IRB.CreateCall(II->getCalledValue(), Args); in runEHOnFunction()
965 const Value *Callee = CI->getCalledValue(); in runSjLjOnFunction()
H A DWebAssemblyFixFunctionBitcasts.cpp79 Value *Callee = CS.getCalledValue(); in FindUses()
306 cast<Function>(CallMain->getCalledValue()->stripPointerCasts()); in runOnModule()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUFixFunctionBitcasts.cpp38 auto Callee = dyn_cast<Function>(CS.getCalledValue()->stripPointerCasts()); in visitCallSite()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DCodeMetrics.cpp151 if (!isa<InlineAsm>(CS.getCalledValue())) in analyzeBasicBlock()
H A DAliasAnalysisEvaluator.cpp117 Value *Callee = Call->getCalledValue(); in runInternal()
/freebsd-12.1/contrib/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp504 if (auto *CalledValue = Call->getCalledValue()) in addMustTailToCoroResumes()
626 auto *Callee = CS.getCalledValue()->stripPointerCasts(); in simplifySuspendPoint()
656 auto *CalledValue = CS.getCalledValue(); in simplifySuspendPoint()
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DStatepointLowering.cpp828 unsigned AS = ISP.getCalledValue()->getType()->getPointerAddressSpace(); in LowerStatepoint()
831 ActualCallee = getValue(ISP.getCalledValue()); in LowerStatepoint()
947 ImmutableStatepoint(I).getCalledValue()->getType()); in visitGCResult()
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DPruneEH.cpp139 if (const auto *IA = dyn_cast<InlineAsm>(ICS.getCalledValue())) in runImpl()
H A DCalledValuePropagation.cpp392 auto RegI = CVPLatticeKey(CS.getCalledValue(), IPOGrouping::Register); in runCVP()
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp1473 IRB.CreateCall(I.getCalledValue(), in visitMemTransferInst()
1509 if ((F && F->isIntrinsic()) || isa<InlineAsm>(CS.getCalledValue())) { in visitCallSite()
1522 DFSF.DFS.UnwrappedFnMap.find(CS.getCalledValue()); in visitCallSite()
1644 CS.getCalledValue()->getType()->getPointerElementType()); in visitCallSite()
1681 IRB.CreateBitCast(CS.getCalledValue(), PointerType::getUnqual(NewFT)); in visitCallSite()
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64PromoteConstant.cpp307 return !(CI && isa<const InlineAsm>(CI->getCalledValue())); in shouldConvertUse()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Expression/
H A DIRDynamicChecks.cpp482 return GetFunction(inst->getCalledValue()); in GetCalledFunction()
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DFastISel.h132 Callee = Call.getCalledValue();
/freebsd-12.1/contrib/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp1065 const InlineAsm &IA = cast<InlineAsm>(*CI.getCalledValue()); in translateInlineAsm()
1141 return getOrCreateVReg(*CI.getCalledValue()); in translateCall()
1196 const Value *Callee = I.getCalledValue(); in translateInvoke()
1225 [&]() { return getOrCreateVReg(*I.getCalledValue()); })) in translateInvoke()

123