| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| H A D | CallGraphSCCPass.cpp | 277 (Call->getCalledFunction() && in RefreshCallGraph() 278 Call->getCalledFunction()->isIntrinsic() && in RefreshCallGraph() 279 Intrinsic::isLeaf(Call->getCalledFunction()->getIntrinsicID()))) { in RefreshCallGraph() 297 Function *Callee = Call->getCalledFunction(); in RefreshCallGraph() 314 Function *Callee = Call->getCalledFunction(); in RefreshCallGraph() 338 if (ExistingNode->getFunction() == Call->getCalledFunction()) in RefreshCallGraph() 346 if (CheckingMode && Call->getCalledFunction() && in RefreshCallGraph() 356 if (Function *Callee = Call->getCalledFunction()) { in RefreshCallGraph() 380 if (Function *Callee = Call->getCalledFunction()) { in RefreshCallGraph()
|
| H A D | InlineAdvisor.cpp | 95 Function &Callee = *CB.getCalledFunction(); in getDefaultInlineAdvice() 118 : Advisor(Advisor), Caller(CB.getCaller()), Callee(CB.getCalledFunction()), in InlineAdvice() 235 if (!CS2 || CS2->getCalledFunction() != Caller) { in shouldBeDeferred() 328 Function *Callee = CB.getCalledFunction(); in shouldInline() 481 auto &Callee = *CB.getCalledFunction(); in getMandatoryKind() 505 bool Advice = CB.getCaller() != CB.getCalledFunction() && in getAdvice()
|
| H A D | MLInlineAdvisor.cpp | 58 if (Function *Callee = CS->getCalledFunction()) { in getInlinableCS() 89 auto *Called = CS->getCalledFunction(); in MLInlineAdvisor() 177 auto &Callee = *CB.getCalledFunction(); in getAdviceImpl()
|
| H A D | TypeMetadataUtils.cpp | 79 assert(CI->getCalledFunction()->getIntrinsicID() == Intrinsic::type_test); in findDevirtualizableCallsForTypeTest() 100 assert(CI->getCalledFunction()->getIntrinsicID() == in findDevirtualizableCallsForTypeCheckedLoad()
|
| H A D | MemoryBuiltins.cpp | 117 static const Function *getCalledFunction(const Value *V, bool LookThroughBitCast, in getCalledFunction() function 132 if (const Function *Callee = CB->getCalledFunction()) in getCalledFunction() 183 getCalledFunction(V, LookThroughBitCast, IsNoBuiltinCall)) in getAllocationData() 195 getCalledFunction(V, LookThroughBitCast, IsNoBuiltinCall)) in getAllocationData() 206 getCalledFunction(V, /*LookThroughBitCast=*/false, IsNoBuiltinCall); in getAllocationSize() 489 getCalledFunction(I, /*LookThroughBitCast=*/false, IsNoBuiltinCall); in isFreeCall()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
| H A D | FunctionAttrs.cpp | 144 if (!Call->hasOperandBundles() && Call->getCalledFunction() && in checkFunctionMemoryAccess() 145 SCCNodes.count(Call->getCalledFunction())) in checkFunctionMemoryAccess() 382 Function *F = CB->getCalledFunction(); in captured() 510 Function *F = CB.getCalledFunction(); in determinePointerReadAttrs() 653 if (auto *CalledFunc = CB->getCalledFunction()) { in addArgumentAttrsFromCallsites() 921 if (CB.getCalledFunction() && SCCNodes.count(CB.getCalledFunction())) in isFunctionMallocLike() 1028 Function *Callee = CB.getCalledFunction(); in isReturnNonNull() 1246 SCCNodes.count(CB->getCalledFunction()) == 0; in InstrBreaksNonConvergent() 1254 if (Function *Callee = CI->getCalledFunction()) { in InstrBreaksNonThrowing() 1275 if (Function *Callee = CB->getCalledFunction()) in InstrBreaksNoFree() [all …]
|
| H A D | Inliner.cpp | 248 Function *Callee = CB.getCalledFunction(); in inlineCallIfPossible() 343 if (Function *Callee = CB->getCalledFunction()) in inlineCallsImpl() 372 if (Function *F = CallSites[I].first->getCalledFunction()) in inlineCallsImpl() 394 Function *Callee = CB.getCalledFunction(); in inlineCallsImpl() 730 if (Function *Callee = CB->getCalledFunction()) { in run() 795 Function &Callee = *CB->getCalledFunction(); in run() 851 Function *NewCallee = ICB->getCalledFunction(); in run() 858 NewCallee = ICB->getCalledFunction(); in run()
|
| H A D | AlwaysInliner.cpp | 63 if (CB->getCalledFunction() == &F) in run() 186 Function *Callee = CB.getCalledFunction(); in getInlineCost()
|
| H A D | Attributor.cpp | 223 if (!ACS.getCalledFunction()) in getAssociatedArgument() 233 assert(ACS.getCalledFunction()->arg_size() > u && in getAssociatedArgument() 239 CBCandidateArg = ACS.getCalledFunction()->getArg(u); in getAssociatedArgument() 249 const Function *Callee = CB.getCalledFunction(); in getAssociatedArgument() 358 if (const Function *Callee = CB->getCalledFunction()) in SubsumingPositionIterator() 366 if (const Function *Callee = CB->getCalledFunction()) { in SubsumingPositionIterator() 386 const Function *Callee = CB->getCalledFunction(); in SubsumingPositionIterator() 841 assert(&Fn == ACS.getCalledFunction() && "Expected known callee"); in checkForAllCallSites() 1291 Function *Fn = CB->getCalledFunction(); in cleanupIR() 1588 if (!ACS.getCalledFunction() || in isValidFunctionSignatureRewrite() [all …]
|
| H A D | PruneEH.cpp | 121 if (Function *Callee = CI->getCalledFunction()) { in runImpl() 241 const Function *Callee = Call->getCalledFunction(); in DeleteBasicBlock()
|
| H A D | SampleProfile.cpp | 634 if (Function *Callee = Inst.getCalledFunction()) in findCalleeFunctionSamples() 926 Function *Callee = CallInst.getCalledFunction(); in shouldInlineColdCallee() 946 Function *CalledFunction = I->getCalledFunction(); in emitOptimizationRemarksForInlineCandidates() 1070 Function *CalledFunction = I->getCalledFunction(); in inlineHotFunctions() 1120 Function *Callee = I->getCalledFunction(); in inlineHotFunctions() 1167 Function *CalledFunction = CB.getCalledFunction(); in tryInlineCandidate() 1272 Function *Callee = Candidate.CallInstr->getCalledFunction(); in shouldInlineCandidate() 1346 Function *CalledFunction = I->getCalledFunction(); in inlineHotFunctionsWithPriority() 1447 if (!cast<CallBase>(I).getCalledFunction()) { in generateMDProfMetadata()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
| H A D | InjectTLIMappings.cpp | 57 VectorF->copyAttributesFrom(CI.getCalledFunction()); in addVariantDeclaration() 78 if (CI.isNoBuiltin() || !CI.getCalledFunction()) in addMappingsFromTLI() 81 StringRef ScalarName = CI.getCalledFunction()->getName(); in addMappingsFromTLI()
|
| H A D | SimplifyLibCalls.cpp | 288 Function *Callee = CI->getCalledFunction(); in optimizeStrChr() 521 Function *Callee = CI->getCalledFunction(); in optimizeStpCpy() 550 Function *Callee = CI->getCalledFunction(); in optimizeStrNCpy() 1174 Function *InnerCallee = Malloc->getCalledFunction(); in foldMallocMemset() 1271 Function *CalleeFn = CI->getCalledFunction(); in optimizeDoubleFP() 1387 return B.CreateFNeg(B.CreateCall(Call->getCalledFunction(), X)); in optimizeTrigReflections() 1394 return B.CreateCall(Call->getCalledFunction(), X, "cos"); in optimizeTrigReflections() 1472 Function *CalleeFn = BaseFn->getCalledFunction(); in replacePowWithExp() 1673 Function *Callee = Pow->getCalledFunction(); in optimizePow() 1740 Sqrt = getSqrtCall(Base, Pow->getCalledFunction()->getAttributes(), in optimizePow() [all …]
|
| H A D | InlineFunction.cpp | 565 if (auto *F = CI->getCalledFunction()) in HandleCallsInBlockInlinedThroughInvoke() 946 const Function *CalledFunc = CB.getCalledFunction(); in AddAliasScopeMetadata() 1218 auto *CalledFunction = CB.getCalledFunction(); in AddReturnAttributes() 1281 Function *CalledFunc = CB.getCalledFunction(); in AddAlignmentAssumptions() 1313 const Function *Callee = CB.getCalledFunction(); in UpdateCallGraphAfterInlining() 1349 if (NewCall->getCalledFunction() && in UpdateCallGraphAfterInlining() 1350 NewCall->getCalledFunction()->isIntrinsic()) in UpdateCallGraphAfterInlining() 1363 if (Function *F = NewCall->getCalledFunction()) { in UpdateCallGraphAfterInlining() 1768 Function *CalledFunc = CB.getCalledFunction(); in InlineFunction() 1904 ScopedAliasMetadataDeepCloner SAMetadataCloner(CB.getCalledFunction()); in InlineFunction() [all …]
|
| H A D | CallPromotionUtils.cpp | 384 assert(!CB.getCalledFunction() && "Only indirect call sites can be promoted"); in isLegalToPromote() 443 assert(!CB.getCalledFunction() && "Only indirect call sites can be promoted"); in promoteCall() 537 assert(!CB.getCalledFunction()); in tryPromoteCall()
|
| H A D | LibCallsShrinkWrap.cpp | 82 LLVM_DEBUG(dbgs() << "CDCE calls: " << CI->getCalledFunction()->getName() in perform() 301 Function *Callee = CI.getCalledFunction(); in checkCandidate() 507 Function *Callee = CI->getCalledFunction(); in perform()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| H A D | ReplaceWithVeclib.cpp | 45 Function *OldFunc = CI.getCalledFunction(); in replaceWithTLIFunction() 95 if (!CI.getCalledFunction()) { in replaceWithCallToVeclib() 99 auto IntrinsicID = CI.getCalledFunction()->getIntrinsicID(); in replaceWithCallToVeclib()
|
| H A D | GCRootLowering.cpp | 134 if (Function *F = CI->getCalledFunction()) in CouldBecomeSafePoint() 200 Function *F = CI->getCalledFunction(); in DoLowering()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | LowerExpectIntrinsic.cpp | 83 Function *Fn = CI->getCalledFunction(); in handleSwitchExpect() 247 Expect->getCalledFunction()->getIntrinsicID(), Expect, 2); in handlePhiDef() 301 Function *Fn = CI->getCalledFunction(); in handleBrSelExpect() 371 Function *Fn = CI->getCalledFunction(); in lowerExpectIntrinsic()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| H A D | AbstractCallSite.h | 218 Function *getCalledFunction() const { in getCalledFunction() function 240 if (Function *Callback = ACS.getCalledFunction()) in forEachCallbackFunction()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
| H A D | AbstractCallSite.cpp | 37 const Function *Callee = CB.getCalledFunction(); in getCallbackUses() 87 Function *Callee = CB->getCalledFunction(); in AbstractCallSite()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Orc/ |
| H A D | SpeculateAnalyses.cpp | 56 auto getCalledFunction = [&CallesNames](const CallBase *Call) { in findCalles() local 63 getCalledFunction(CI); in findCalles() 66 getCalledFunction(II); in findCalles()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| H A D | CallGraph.h | 244 assert(!Call || !Call->getCalledFunction() || in addCalledFunction() 245 !Call->getCalledFunction()->isIntrinsic() || in addCalledFunction() 246 !Intrinsic::isLeaf(Call->getCalledFunction()->getIntrinsicID())); in addCalledFunction()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULibCalls.cpp | 528 Function *Callee = aCI->getCalledFunction(); in useNative() 561 auto *Callee = CI->getCalledFunction(); in fold_read_write_pipe() 622 Function *Callee = CI->getCalledFunction(); in fold() 1265 if (!AMDGPULibFunc::parse(CI->getCalledFunction()->getName(), fInfo)) in fold_sincos() 1303 Function *UCallee = XI->getCalledFunction(); in fold_sincos() 1402 Function *UCallee = UI->getCalledFunction(); in insertAlloca() 1726 Function *Callee = CI->getCalledFunction(); in runOnFunction() 1759 Function *Callee = CI->getCalledFunction(); in run() 1785 Function *Callee = CI->getCalledFunction(); in runOnFunction() 1813 Function *Callee = CI->getCalledFunction(); in run()
|
| H A D | AMDGPUFixFunctionBitcasts.cpp | 36 if (CB.getCalledFunction()) in visitCallBase()
|