Home
last modified time | relevance | path

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

123456

/external/llvm/include/llvm/Analysis/
DIndirectCallSiteVisitor.h24 if (CS.getCalledFunction() || !CS.getCalledValue()) in visitCallSite()
31 if (isa<Constant>(CS.getCalledValue())) in visitCallSite()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
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()
DEvaluator.cpp234 auto *V = CS.getCalledValue(); in getCalleeWithFormalArgs()
463 if (isa<InlineAsm>(CS.getCalledValue())) { in EvaluateBlock()
546 InstResult = castCallResultIfNeeded(CS.getCalledValue(), C); in EvaluateBlock()
569 InstResult = castCallResultIfNeeded(CS.getCalledValue(), RetVal); in EvaluateBlock()
DLowerInvoke.cpp56 CallInst::Create(II->getCalledValue(), CallArgs, OpBundles, "", II); in runImpl()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DWasmEHPrepare.cpp254 if (CI->getCalledValue() == ClangCallTermF) in runOnFunction()
275 if (CI->getCalledValue() == GetExnF) in prepareEHPad()
277 else if (CI->getCalledValue() == GetSelectorF) in prepareEHPad()
DPreISelIntrinsicLowering.cpp39 if (!CI || CI->getCalledValue() != &F) in lowerLoadRelative()
/external/swiftshader/third_party/LLVM/tools/llvm-diff/
DDifferenceEngine.cpp232 if (!equivalentAsOperands(L.getCalledValue(), R.getCalledValue())) { in diffCallSites()
608 if (!equivalentAsOperands(LCall->getCalledValue(), RInvoke->getCalledValue())) in runBlockDiff()
621 if (!equivalentAsOperands(LInvoke->getCalledValue(), RCall->getCalledValue())) in runBlockDiff()
DDiffConsumer.cpp58 printValue(cast<CallInst>(V)->getCalledValue(), isL); in printValue()
61 printValue(cast<InvokeInst>(V)->getCalledValue(), isL); in printValue()
/external/llvm/tools/llvm-diff/
DDifferenceEngine.cpp228 if (!equivalentAsOperands(L.getCalledValue(), R.getCalledValue())) { in diffCallSites()
611 if (!equivalentAsOperands(LCall->getCalledValue(), RInvoke->getCalledValue())) in runBlockDiff()
624 if (!equivalentAsOperands(LInvoke->getCalledValue(), RCall->getCalledValue())) in runBlockDiff()
DDiffConsumer.cpp59 printValue(cast<CallInst>(V)->getCalledValue(), isL); in printValue()
62 printValue(cast<InvokeInst>(V)->getCalledValue(), isL); in printValue()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-diff/
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()
DDiffConsumer.cpp59 printValue(cast<CallInst>(V)->getCalledValue(), isL); in printValue()
62 printValue(cast<InvokeInst>(V)->getCalledValue(), isL); in printValue()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DStatepoint.h141 ValueTy *getCalledValue() const { in getCalledValue() function
152 return dyn_cast<Function>(getCalledValue()); in getCalledFunction()
168 cast<PointerType>(getCalledValue()->getType())->getElementType()); in getActualReturnType()
DCallSite.h100 ValTy *getCalledValue() const { in getCalledValue() function
108 return dyn_cast<FunTy>(getCalledValue()); in getCalledFunction()
113 const Value *V = getCalledValue(); in isIndirectCall()
/external/llvm/include/llvm/IR/
DStatepoint.h121 ValueTy *getCalledValue() const { in getCalledValue() function
132 return dyn_cast<Function>(getCalledValue()); in getCalledFunction()
148 cast<PointerType>(getCalledValue()->getType())->getElementType()); in getActualReturnType()
DCallSite.h93 ValTy *getCalledValue() const { in getCalledValue() function
102 return dyn_cast<FunTy>(getCalledValue()); in getCalledFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyFixFunctionBitcasts.cpp84 Value *Callee = CS.getCalledValue(); in FindUses()
227 cast<Function>(CallMain->getCalledValue()->stripPointerCasts()); in runOnModule()
DWebAssemblyLowerEmscriptenEHSjLj.cpp401 if (auto *F = dyn_cast<Function>(CI->getCalledValue())) in wrapInvoke()
417 Args.push_back(CI->getCalledValue()); in wrapInvoke()
455 Value *Callee = CI->getCalledValue(); in getInvokeWrapper()
810 bool NeedInvoke = AllowExceptions && canThrow(II->getCalledValue()); in runEHOnFunction()
824 CallInst *NewCall = IRB.CreateCall(II->getCalledValue(), Args); in runEHOnFunction()
1018 const Value *Callee = CI->getCalledValue(); in runSjLjOnFunction()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DCallSite.h86 ValTy *getCalledValue() const { in getCalledValue() function
95 return dyn_cast<FunTy>(getCalledValue()); in getCalledFunction()
/external/llvm/lib/Transforms/Utils/
DLowerInvoke.cpp59 CallInst *NewCall = CallInst::Create(II->getCalledValue(), in runOnFunction()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DInlineCost.cpp92 if (!isa<InlineAsm>(CS.getCalledValue())) in analyzeBasicBlock()
330 if (CI->getCalledValue() == V) in CountBonusForConstant()
334 if (II->getCalledValue() == V) in CountBonusForConstant()
/external/llvm/lib/CodeGen/
DPreISelIntrinsicLowering.cpp39 if (!CI || CI->getCalledValue() != &F) in lowerLoadRelative()
/external/mesa3d/src/amd/common/
Dac_llvm_helper.cpp72 return llvm::wrap(llvm::CallSite(llvm::unwrap<llvm::Instruction>(call)).getCalledValue()); in ac_llvm_get_called_value()
/external/llvm/lib/Analysis/
DCodeMetrics.cpp138 if (!isa<InlineAsm>(CS.getCalledValue())) in analyzeBasicBlock()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DCodeMetrics.cpp151 if (!isa<InlineAsm>(CS.getCalledValue())) in analyzeBasicBlock()

123456