/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUAnnotateKernelFeatures.cpp | 52 bool propagateUniformWorkGroupAttribute(Function &Caller, Function &Callee); 218 Function *Caller = Node->getFunction(); local 223 Changed = propagateUniformWorkGroupAttribute(*Caller, *Callee); 231 Function &Caller, Function &Callee) { 236 if (!Caller.hasFnAttribute("uniform-work-group-size")) 237 Caller.addFnAttr("uniform-work-group-size", "false"); 241 // Check if the Caller has the attribute 242 if (Caller.hasFnAttribute("uniform-work-group-size")) { 244 if (Caller.getFnAttribute("uniform-work-group-size") 257 Caller 230 propagateUniformWorkGroupAttribute( Function &Caller, Function &Callee) argument [all...] |
H A D | AMDGPUInline.cpp | 112 Function *Caller = CS.getCaller(); local 119 && !Caller->hasFnAttribute(Attribute::MinSize)) 123 const DataLayout &DL = Caller->getParent()->getDataLayout(); 179 Function *Caller = CS.getCaller(); local 188 if (!TTI.areInlineCompatible(Caller, Callee)) 204 const auto &BBs = Caller->getBasicBlockList(); 211 OptimizationRemarkEmitter ORE(Caller); 223 size_t Size = Caller->size() + Callee->size() - 1;
|
H A D | AMDGPUOpenCLEnqueuedBlockLowering.cpp | 83 auto *Caller = CI->getParent()->getParent(); local 84 if (Callers.insert(Caller).second) 85 collectCallers(Caller, Callers);
|
H A D | AMDGPUPropagateAttributes.cpp | 209 Function *Caller = CI->getCaller(); local 210 if (!Caller) 212 if (!Roots.count(Caller)) 216 TM->getSubtargetImpl(*Caller)->getFeatureBits() & TargetFeatures;
|
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | InterpFrame.cpp | 20 InterpFrame::InterpFrame(InterpState &S, Function *Func, InterpFrame *Caller, argument 22 : Caller(Caller), S(S), Func(Func), This(std::move(This)), RetPC(RetPC), 140 if (Caller->Caller) 141 return Caller; 146 if (!Caller->Func) 148 return S.getLocation(Caller->Func, RetPC - sizeof(uintptr_t));
|
H A D | InterpState.cpp | 31 InterpFrame *Next = Current->Caller; 44 if (Current && Current->Caller) {
|
H A D | InterpFrame.h | 32 InterpFrame *Caller; member in class:clang::interp::final 35 InterpFrame(InterpState &S, Function *Func, InterpFrame *Caller,
|
H A D | Interp.cpp | 42 if (InterpFrame *Caller = S.Current->Caller) { 45 S.Current = Caller; 63 if (InterpFrame *Caller = S.Current->Caller) { 66 S.Current = Caller;
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | SyntheticCountsPropagation.cpp | 115 Function *Caller = CS.getCaller(); 116 auto &BFI = FAM.getResult<BlockFrequencyAnalysis>(*Caller); 124 BBCount *= Counts[Caller];
|
H A D | Inliner.cpp | 162 Function *Caller, InlineFunctionInfo &IFI, 234 const DataLayout &DL = Caller->getParent()->getDataLayout(); 280 Function *Caller = CS.getCaller(); local 291 ImportedFunctionsStats.recordInline(*Caller, *Callee); 293 AttributeFuncs::mergeAttributesForInlining(*Caller, *Callee); 296 mergeInlinedArrayAllocas(Caller, IFI, InlinedArrayAllocas, InlineHistory); 307 shouldBeDeferred(Function *Caller, CallSite CS, InlineCost IC, argument 311 if (!Caller->hasLocalLinkage() && !Caller->hasLinkOnceODRLinkage()) 339 bool ApplyLastCallBonus = Caller 161 mergeInlinedArrayAllocas( Function *Caller, InlineFunctionInfo &IFI, InlinedArrayAllocasTy &InlinedArrayAllocas, int InlineHistory) argument 426 Function *Caller = CS.getCaller(); local 507 emit_inlined_into(OptimizationRemarkEmitter &ORE, DebugLoc &DLoc, const BasicBlock *Block, const Function &Callee, const Function &Caller, const InlineCost &IC) argument 621 Function *Caller = CS.getCaller(); local [all...] |
H A D | PartialInlining.cpp | 774 Function *Caller = CS.getCaller(); 797 << NV("Caller", Caller) 807 << NV("Caller", Caller) << " because too costly to inline (cost=" 813 const DataLayout &DL = Caller->getParent()->getDataLayout(); 825 << NV("Caller", Caller) << " runtime overhead (overhead=" 839 << NV("Caller", Caller) << " wit 950 Function *Caller = CS.getCaller(); local [all...] |
H A D | GlobalDCE.cpp | 205 void GlobalDCEPass::ScanVTableLoad(Function *Caller, Metadata *TypeId, argument 213 *Caller->getParent()); 227 LLVM_DEBUG(dbgs() << "vfunc dep " << Caller->getName() << " -> " 229 GVDependencies[Caller].insert(Callee);
|
H A D | ArgumentPromotion.cpp | 853 const Function *Caller = CS.getCaller(); local 855 if (!TTI.areFunctionArgsABICompatible(Caller, Callee, ArgsToPromote) || 856 !TTI.areFunctionArgsABICompatible(Caller, Callee, ByValArgsToTransform)) 1139 Function *Caller = OldCS.getInstruction()->getParent()->getParent(); 1142 CallGraphNode *CallerNode = CG[Caller];
|
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaCUDA.cpp | 162 Sema::IdentifyCUDAPreference(const FunctionDecl *Caller, 165 CUDAFunctionTarget CallerTarget = IdentifyCUDATarget(Caller); 214 const FunctionDecl *Caller, 221 // Gets the CUDA function preference for a call from Caller to Match. 223 return IdentifyCUDAPreference(Caller, Match.second); 669 FunctionDecl *Caller = dyn_cast<FunctionDecl>(CurContext); 670 if (!Caller) 676 getEmissionStatus(Caller) == FunctionEmissionStatus::Emitted; 682 *this, Caller, Callee, Loc, [](Sema &S, FunctionDecl *FD) { 693 DeviceCallGraph[Caller] [all...] |
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | ImportedFunctionsInliningStatistics.h | 70 /// Record inline of @param Callee to @param Caller for statistis. 71 void recordInline(const Function &Caller, const Function &Callee);
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | Attributes.cpp | 1723 static bool isEqual(const Function &Caller, const Function &Callee) { argument 1724 return Caller.getFnAttribute(AttrClass::getKind()) == 1734 static void setAND(Function &Caller, const Function &Callee) { argument 1735 if (AttrClass::isSet(Caller, AttrClass::getKind()) && 1737 AttrClass::set(Caller, AttrClass::getKind(), false); 1746 static void setOR(Function &Caller, const Function &Callee) { argument 1747 if (!AttrClass::isSet(Caller, AttrClass::getKind()) && 1749 AttrClass::set(Caller, AttrClass::getKind(), true); 1754 static void adjustCallerSSPLevel(Function &Caller, const Function &Callee) { argument 1764 Caller 1778 adjustCallerStackProbes(Function &Caller, const Function &Callee) argument 1789 adjustCallerStackProbeSize(Function &Caller, const Function &Callee) argument 1819 adjustMinLegalVectorWidth(Function &Caller, const Function &Callee) argument 1843 adjustNullPointerValidAttr(Function &Caller, const Function &Callee) argument 1852 areInlineCompatible(const Function &Caller, const Function &Callee) argument 1857 mergeAttributesForInlining(Function &Caller, const Function &Callee) argument [all...] |
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | ImportedFunctionsInliningStatistics.cpp | 34 void ImportedFunctionsInliningStatistics::recordInline(const Function &Caller, argument 37 InlineGraphNode &CallerNode = createInlineGraphNode(Caller); 53 auto It = NodesMap.find(Caller.getName()); 55 // Save Caller as a starting node for traversal. The string has to be one 56 // from map because Caller can disappear (and function name with it).
|
H A D | InlineFunction.cpp | 588 Function *Caller = FirstNewBlock->getParent(); local 597 for (Function::iterator I = FirstNewBlock->getIterator(), E = Caller->end(); 614 for (Function::iterator BB = FirstNewBlock->getIterator(), E = Caller->end(); 644 Function *Caller = FirstNewBlock->getParent(); local 675 for (Function::iterator BB = FirstNewBlock->getIterator(), E = Caller->end(); 690 ConstantTokenNone::get(Caller->getContext()); 723 UnwindDestToken = ConstantTokenNone::get(Caller->getContext()); 752 E = Caller->end(); 1184 const Function *Caller = CS.getCaller(); local 1187 CallGraphNode *CallerNode = CG[Caller]; 1270 Function *Caller = TheCall->getFunction(); local 1601 Function *Caller = OrigBB->getParent(); local [all...] |
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/ |
H A D | GlobalDCE.h | 63 void ScanVTableLoad(Function *Caller, Metadata *TypeId, uint64_t CallOffset);
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXTargetTransformInfo.h | 79 bool areInlineCompatible(const Function *Caller, argument
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | InlineCost.cpp | 547 auto *Caller = CandidateCall.getFunction(); variable 548 if (Caller->hasMinSize()) { 1142 Function *Caller = Call.getCaller(); local 1179 if (Caller->hasMinSize()) { 1187 } else if (Caller->hasOptSize()) 1192 if (!Caller->hasMinSize()) { 1203 BlockFrequencyInfo *CallerBFI = GetBFI ? &((*GetBFI)(*Caller)) : nullptr; 1205 if (!Caller->hasOptSize() && HotCallSiteThreshold) { 1913 Function *Caller = CandidateCall.getFunction(); 1915 for (User *U : Caller 2065 functionsHaveCompatibleAttributes(Function *Caller, Function *Callee, TargetTransformInfo &TTI) argument 2150 Function *Caller = Call.getCaller(); local [all...] |
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | ExprEngineCXX.cpp | 325 auto getArgLoc = [&](CallEventRef<> Caller) -> Optional<SVal> { 327 Caller->getCalleeStackFrame(currBldrCtx->blockCount()); 333 // This should be equivalent to Caller->getDecl() for now, but 345 const VarRegion *VR = Caller->getParameterLocation( 346 *Caller->getAdjustedParameterIndex(Idx), currBldrCtx->blockCount()); 354 CallEventRef<> Caller = CEMgr.getSimpleCall(CE, State, LCtx); local 355 if (auto OptV = getArgLoc(Caller)) 363 CallEventRef<> Caller = local 365 if (auto OptV = getArgLoc(Caller)) 371 CallEventRef<> Caller local [all...] |
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/XRay/ |
H A D | Profile.h | 120 TrieNode *Caller = nullptr; member in struct:llvm::xray::Profile::TrieNode
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86TargetTransformInfo.h | 198 bool areInlineCompatible(const Function *Caller, 200 bool areFunctionArgsABICompatible(const Function *Caller,
|
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | TargetTransformInfoImpl.h | 550 bool areInlineCompatible(const Function *Caller, argument 552 return (Caller->getFnAttribute("target-cpu") == 554 (Caller->getFnAttribute("target-features") == 558 bool areFunctionArgsABICompatible(const Function *Caller, const Function *Callee, argument 560 return (Caller->getFnAttribute("target-cpu") == 562 (Caller->getFnAttribute("target-features") ==
|