| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | ModuleInliner.cpp | 149 if (Function *Callee = CB->getCalledFunction()) { in run() 184 Function &Callee = *CB->getCalledFunction(); in run() 235 Function *NewCallee = ICB->getCalledFunction(); in run() 242 NewCallee = ICB->getCalledFunction(); in run()
|
| H A D | FunctionAttrs.cpp | 190 SCCNodes.count(Call->getCalledFunction())) { in checkFunctionMemoryAccess() 544 Function *F = CB->getCalledFunction(); in captured() 688 if (Function *F = CB.getCalledFunction()) in determinePointerAccessAttrs() 1103 if (CB.getCalledFunction() && SCCNodes.count(CB.getCalledFunction())) in isFunctionMallocLike() 1213 Function *Callee = CB.getCalledFunction(); in isReturnNonNull() 1464 !SCCNodes.contains(CB->getCalledFunction()); in InstrBreaksNonConvergent() 1493 if (Function *Callee = CB->getCalledFunction()) in InstrBreaksNoFree() 1548 if (Function *Callee = CB->getCalledFunction()) in InstrBreaksNoSync() 1676 Function *Callee = CB->getCalledFunction(); in addNoRecurseAttrs() 1802 if (!CB->getCalledFunction()) { in createSCCNodeSet() [all …]
|
| H A D | Inliner.cpp | 258 if (Function *Callee = CB->getCalledFunction()) { in run() 327 Function &Callee = *CB->getCalledFunction(); in run() 399 Function *NewCallee = ICB->getCalledFunction(); in run() 408 NewCallee = ICB->getCalledFunction(); in run()
|
| H A D | SampleProfile.cpp | 741 if (Function *Callee = Inst.getCalledFunction()) in findCalleeFunctionSamples() 1047 Function *Callee = CallInst.getCalledFunction(); in shouldInlineColdCallee() 1067 Function *CalledFunction = I->getCalledFunction(); in emitOptimizationRemarksForInlineCandidates() 1091 Function::getGUID(CB->getCalledFunction()->getName())); in findExternalInlineCandidate() 1231 Function *CalledFunction = I->getCalledFunction(); in inlineHotFunctions() 1286 Function *CalledFunction = CB.getCalledFunction(); in tryInlineCandidate() 1405 Function *Callee = Candidate.CallInstr->getCalledFunction(); in shouldInlineCandidate() 1500 Function *CalledFunction = I->getCalledFunction(); in inlineHotFunctionsWithPriority() 1593 Function *Callee = I->getCalledFunction(); in promoteMergeNotInlinedContextSamples() 1672 if (!cast<CallBase>(I).getCalledFunction()) { in generateMDProfMetadata() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | InjectTLIMappings.cpp | 58 VecFunc->copyAttributesFrom(CI.getCalledFunction()); in addVariantDeclaration() 79 if (CI.isNoBuiltin() || !CI.getCalledFunction()) in addMappingsFromTLI() 82 StringRef ScalarName = CI.getCalledFunction()->getName(); in addMappingsFromTLI()
|
| H A D | SimplifyLibCalls.cpp | 476 Function *Callee = CI->getCalledFunction(); in optimizeStrChr() 717 Function *Callee = CI->getCalledFunction(); in optimizeStpCpy() 806 Function *Callee = CI->getCalledFunction(); in optimizeStrLCpy() 831 Function *Callee = CI->getCalledFunction(); in optimizeStringNCpy() 2324 Function *Callee = CI->getCalledFunction(); in optimizeExp2() 2360 Function *Callee = CI->getCalledFunction(); in optimizeFMinFMax() 2386 Function *LogFn = Log->getCalledFunction(); in optimizeLog() 2543 Function *Callee = CI->getCalledFunction(); in optimizeSqrt() 2613 Function *Callee = CI->getCalledFunction(); in optimizeTan() 2632 Function *F = OpC->getCalledFunction(); in optimizeTan() [all …]
|
| H A D | CallPromotionUtils.cpp | 385 assert(!CB.getCalledFunction() && "Only indirect call sites can be promoted"); in isLegalToPromote() 471 assert(!CB.getCalledFunction() && "Only indirect call sites can be promoted"); in promoteCall() 563 assert(!CB.getCalledFunction()); in tryPromoteCall()
|
| H A D | LibCallsShrinkWrap.cpp | 61 LLVM_DEBUG(dbgs() << "CDCE calls: " << CI->getCalledFunction()->getName() in perform() 295 Function *Callee = CI.getCalledFunction(); in checkCandidate() 489 Function *Callee = CI->getCalledFunction(); in perform()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | TypeMetadataUtils.cpp | 78 assert(CI->getCalledFunction()->getIntrinsicID() == Intrinsic::type_test || in findDevirtualizableCallsForTypeTest() 79 CI->getCalledFunction()->getIntrinsicID() == in findDevirtualizableCallsForTypeTest() 101 assert(CI->getCalledFunction()->getIntrinsicID() == in findDevirtualizableCallsForTypeCheckedLoad() 103 CI->getCalledFunction()->getIntrinsicID() == in findDevirtualizableCallsForTypeCheckedLoad()
|
| H A D | CallGraphSCCPass.cpp | 289 Function *Callee = Call->getCalledFunction(); in RefreshCallGraph() 306 Function *Callee = Call->getCalledFunction(); in RefreshCallGraph() 330 if (ExistingNode->getFunction() == Call->getCalledFunction()) in RefreshCallGraph() 338 if (CheckingMode && Call->getCalledFunction() && in RefreshCallGraph() 348 if (Function *Callee = Call->getCalledFunction()) { in RefreshCallGraph() 372 if (Function *Callee = Call->getCalledFunction()) { in RefreshCallGraph()
|
| H A D | InlineAdvisor.cpp | 154 Function &Callee = *CB.getCalledFunction(); in getDefaultInlineAdvice() 178 : Advisor(Advisor), Caller(CB.getCaller()), Callee(CB.getCalledFunction()), in InlineAdvice() 290 if (!CS2 || CS2->getCalledFunction() != Caller) { in shouldBeDeferred() 383 Function *Callee = CB.getCalledFunction(); in shouldInline() 594 auto &Callee = *CB.getCalledFunction(); in getMandatoryKind() 618 bool Advice = CB.getCaller() != CB.getCalledFunction() && in getAdvice()
|
| H A D | MemoryBuiltins.cpp | 160 static const Function *getCalledFunction(const Value *V, in getCalledFunction() function 172 if (const Function *Callee = CB->getCalledFunction()) in getCalledFunction() 225 if (const Function *Callee = getCalledFunction(V, IsNoBuiltinCall)) in getAllocationData() 235 if (const Function *Callee = getCalledFunction(V, IsNoBuiltinCall)) in getAllocationData() 246 getCalledFunction(V, IsNoBuiltinCall); in getAllocationSize() 514 const Function *Callee = getCalledFunction(I, IsNoBuiltin); in getAllocationFamily() 560 const Function *Callee = getCalledFunction(CB, IsNoBuiltinCall); in getFreedOperand() 913 Function *Callee = CB->getCalledFunction(); in findLoadSizeOffset() 919 if (!TLI || !TLI->getLibFunc(*CB->getCalledFunction(), TLIFn) || in findLoadSizeOffset()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LowerExpectIntrinsic.cpp | 81 Function *Fn = CI->getCalledFunction(); in handleSwitchExpect() 123 Function *Fn = Expect->getCalledFunction(); in handlePhiDef() 258 Expect->getCalledFunction()->getIntrinsicID(), Expect, 2); in handlePhiDef() 314 Function *Fn = CI->getCalledFunction(); in handleBrSelExpect() 388 Function *Fn = CI->getCalledFunction(); in lowerExpectIntrinsic()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | AbstractCallSite.h | 218 Function *getCalledFunction() const { in getCalledFunction() function 240 if (Function *Callback = ACS.getCalledFunction()) in forEachCallbackFunction()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | AbstractCallSite.cpp | 36 const Function *Callee = CB.getCalledFunction(); in getCallbackUses() 86 Function *Callee = CB->getCalledFunction(); in AbstractCallSite()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ReplaceWithVeclib.cpp | 117 FuncToReplace = CI->getCalledFunction(); in replaceWithCallToVeclib() 215 return (Ty->isVectorTy() || Ty->isVoidTy()) && CI->getCalledFunction() && in isSupportedInstruction() 216 CI->getCalledFunction()->getIntrinsicID() != in isSupportedInstruction()
|
| H A D | GCRootLowering.cpp | 152 if (Function *F = CI->getCalledFunction()) in CouldBecomeSafePoint() 211 Function *F = CI->getCalledFunction(); in DoLowering()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
| H A D | SpeculateAnalyses.cpp | 55 auto getCalledFunction = [&CallesNames](const CallBase *Call) { in findCalles() local 62 getCalledFunction(CI); in findCalles() 65 getCalledFunction(II); in findCalles()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVRegularizer.cpp | 169 auto F = CI.getCalledFunction(); in visitCallInst() 197 auto *OldF = CI->getCalledFunction(); in visitCallScalToVec() 200 AttributeList Attrs = CI->getCalledFunction()->getAttributes(); in visitCallScalToVec()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | VectorUtils.h | 42 if (!CI.getCalledFunction()) in getVFABIMappings() 45 const StringRef ScalarName = CI.getCalledFunction()->getName(); in getVFABIMappings() 105 return CI.getCalledFunction(); in getVectorizedFunction()
|
| H A D | ObjCARCInstKind.h | 106 if (const Function *F = CI->getCalledFunction()) in GetBasicARCInstKind()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/Utils/ |
| H A D | AArch64SMEAttributes.cpp | 43 if (auto *F = CB.getCalledFunction()) { in SMEAttrs()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
| H A D | ObjCARCAPElim.cpp | 46 if (const Function *Callee = CB.getCalledFunction()) { in MayAutorelease()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTDC.cpp | 221 Function *F = CI->getCalledFunction(); in convertFCmp() 265 Function *F = CI->getCalledFunction(); in convertICmp()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsOs16.cpp | 101 Function &F_ = *CI->getCalledFunction(); in needsFP()
|