Home
last modified time | relevance | path

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

12

/external/llvm/tools/llvm-diff/
DDifferenceEngine.cpp228 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.cpp59 printValue(cast<CallInst>(V)->getCalledValue(), isL); in printValue()
62 printValue(cast<InvokeInst>(V)->getCalledValue(), isL); in printValue()
/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/llvm/lib/Transforms/IPO/
DPruneEH.cpp142 if (const auto *IA = dyn_cast<InlineAsm>(ICS.getCalledValue())) in runOnSCC()
194 CallInst *Call = CallInst::Create(II->getCalledValue(), Args, OpBundles, in SimplifyFunction()
DGlobalOpt.cpp631 if (CI->getCalledValue() != V) { in AllUsesOfValueWillTrapIfNull()
636 if (II->getCalledValue() != V) { in AllUsesOfValueWillTrapIfNull()
693 if (CS.getCalledValue() == V) { in OptimizeAwayTrappingUsesOfValue()
2587 if (isa<InlineAsm>(CS.getCalledValue())) { in EvaluateBlock()
2654 Function *Callee = dyn_cast<Function>(getVal(CS.getCalledValue())); in EvaluateBlock()
/external/llvm/lib/Transforms/Utils/
DLowerInvoke.cpp60 CallInst *NewCall = CallInst::Create(II->getCalledValue(), in runOnFunction()
DInlineFunction.cpp196 if (!CI || CI->doesNotThrow() || isa<InlineAsm>(CI->getCalledValue())) in HandleCallsInBlockInlinedThroughInvoke()
218 InvokeInst::Create(CI->getCalledValue(), Split, UnwindEdge, InvokeArgs, in HandleCallsInBlockInlinedThroughInvoke()
1436 dyn_cast<Function>(CS.getCalledValue()->stripPointerCasts()); in InlineFunction()
DLocal.cpp1223 CallInst *NewCall = CallInst::Create(II->getCalledValue(), Args, OpBundles, in changeToCall()
1310 Value *Callee = II->getCalledValue(); in markAliveBlocks()
/external/llvm/lib/Analysis/
DCodeMetrics.cpp139 if (!isa<InlineAsm>(CS.getCalledValue())) in analyzeBasicBlock()
DAliasAnalysisEvaluator.cpp165 Value *Callee = CS.getCalledValue(); in runOnFunction()
DInlineCost.cpp808 if (!isa<InlineAsm>(CS.getCalledValue())) in visitCallSite()
817 Value *Callee = CS.getCalledValue(); in visitCallSite()
/external/llvm/lib/CodeGen/SelectionDAG/
DStatepointLowering.cpp304 unsigned AS = ISP.getCalledValue()->getType()->getPointerAddressSpace(); in lowerCallFromStatepoint()
308 ActualCallee = Builder.getValue(ISP.getCalledValue()); in lowerCallFromStatepoint()
846 ImmutableStatepoint(I).getCalledValue()->getType()); in visitGCResult()
DFunctionLoweringInfo.cpp140 if (isa<InlineAsm>(CS.getCalledValue())) { in set()
535 I.getCalledValue()->getType()->getContainedType(0)); in ComputeUsesVAFloatArgument()
DFastISel.cpp883 PointerType *PT = cast<PointerType>(CS.getCalledValue()->getType()); in lowerCallTo()
1013 PointerType *PT = cast<PointerType>(CS.getCalledValue()->getType()); in lowerCall()
1044 CLI.setCallee(RetTy, FuncTy, CI->getCalledValue(), std::move(Args), CS) in lowerCall()
1054 if (const InlineAsm *IA = dyn_cast<InlineAsm>(Call->getCalledValue())) { in selectCall()
/external/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp1376 IRB.CreateCall(I.getCalledValue(), {DestShadow, SrcShadow, LenShadow, in visitMemTransferInst()
1405 if ((F && F->isIntrinsic()) || isa<InlineAsm>(CS.getCalledValue())) { in visitCallSite()
1416 CS.getCalledValue()->getType()->getPointerElementType())->isVarArg() && in visitCallSite()
1422 DFSF.DFS.UnwrappedFnMap.find(CS.getCalledValue()); in visitCallSite()
1535 CS.getCalledValue()->getType()->getPointerElementType()); in visitCallSite()
1572 IRB.CreateBitCast(CS.getCalledValue(), PointerType::getUnqual(NewFT)); in visitCallSite()
DSanitizerCoverage.cpp362 Value *Callee = CS.getCalledValue(); in InjectCoverageForIndirectCalls()
/external/llvm/lib/Transforms/Scalar/
DPlaceSafepoints.cpp887 ID, NumPatchBytes, CS.getCalledValue(), in ReplaceWithStatepoint()
913 ID, NumPatchBytes, CS.getCalledValue(), ToReplace->getNormalDest(), in ReplaceWithStatepoint()
DConstantHoisting.cpp320 if (isa<InlineAsm>(Call->getCalledValue())) in collectConstantCandidates()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp682 if (Value *V = SimplifyCall(CI.getCalledValue(), Args.begin(), Args.end(), DL, in visitCallInst()
1702 *AssumeIntrinsic = II->getCalledValue(); in visitCallInst()
1968 Value *Callee = CS.getCalledValue(); in visitCallSite()
2063 dyn_cast<Function>(CS.getCalledValue()->stripPointerCasts()); in transformConstExprCastCall()
2170 PointerType *APTy = cast<PointerType>(CS.getCalledValue()->getType()); in transformConstExprCastCall()
2341 Value *Callee = CS.getCalledValue(); in transformCallThroughTrampoline()
/external/llvm/lib/Target/AArch64/
DAArch64PromoteConstant.cpp288 if (CI && isa<const InlineAsm>(CI->getCalledValue())) in shouldConvertUse()
/external/llvm/include/llvm/CodeGen/
DFastISel.h121 Callee = Call.getCalledValue();
/external/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h481 Type *FTy = CS.getCalledValue()->getType()->getPointerElementType(); in getUserCost()
/external/llvm/lib/Target/Mips/
DMips16HardFloat.cpp430 const Value* V = CI->getCalledValue(); in fixupFPReturnAndCall()
/external/llvm/lib/CodeGen/
DShadowStackGCLowering.cpp179 InvokeInst::Create(CI->getCalledValue(), NewBB, CleanupBB, Args, in Next()

12