Home
last modified time | relevance | path

Searched refs:Caller (Results 1 – 25 of 87) sorted by relevance

1234

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DInliner.cpp162 Function *Caller, InlineFunctionInfo &IFI, in mergeInlinedArrayAllocas() argument
234 const DataLayout &DL = Caller->getParent()->getDataLayout(); in mergeInlinedArrayAllocas()
280 Function *Caller = CS.getCaller(); in InlineCallIfPossible() local
291 ImportedFunctionsStats.recordInline(*Caller, *Callee); in InlineCallIfPossible()
293 AttributeFuncs::mergeAttributesForInlining(*Caller, *Callee); in InlineCallIfPossible()
296 mergeInlinedArrayAllocas(Caller, IFI, InlinedArrayAllocas, InlineHistory); in InlineCallIfPossible()
307 shouldBeDeferred(Function *Caller, CallSite CS, InlineCost IC, in shouldBeDeferred() argument
311 if (!Caller->hasLocalLinkage() && !Caller->hasLinkOnceODRLinkage()) in shouldBeDeferred()
339 bool ApplyLastCallBonus = Caller->hasLocalLinkage() && !Caller->hasOneUse(); in shouldBeDeferred()
342 for (User *U : Caller->users()) { in shouldBeDeferred()
[all …]
DSyntheticCountsPropagation.cpp115 Function *Caller = CS.getCaller(); in run() local
116 auto &BFI = FAM.getResult<BlockFrequencyAnalysis>(*Caller); in run()
124 BBCount *= Counts[Caller]; in run()
DPartialInlining.cpp774 Function *Caller = CS.getCaller(); in shouldPartialInline() local
797 << NV("Caller", Caller) in shouldPartialInline()
807 << NV("Caller", Caller) << " because too costly to inline (cost=" in shouldPartialInline()
813 const DataLayout &DL = Caller->getParent()->getDataLayout(); in shouldPartialInline()
825 << NV("Caller", Caller) << " runtime overhead (overhead=" in shouldPartialInline()
839 << NV("Caller", Caller) << " with cost=" << NV("Cost", IC.getCost()) in shouldPartialInline()
934 auto ComputeCurrBFI = [&,this](Function *Caller) { in computeCallsiteToProfCountMap() argument
937 DominatorTree DT(*Caller); in computeCallsiteToProfCountMap()
939 BranchProbabilityInfo BPI(*Caller, LI); in computeCallsiteToProfCountMap()
940 TempBFI.reset(new BlockFrequencyInfo(*Caller, BPI, LI)); in computeCallsiteToProfCountMap()
[all …]
DGlobalDCE.cpp205 void GlobalDCEPass::ScanVTableLoad(Function *Caller, Metadata *TypeId, in ScanVTableLoad() argument
213 *Caller->getParent()); in ScanVTableLoad()
227 LLVM_DEBUG(dbgs() << "vfunc dep " << Caller->getName() << " -> " in ScanVTableLoad()
229 GVDependencies[Caller].insert(Callee); in ScanVTableLoad()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/IR/
DAttributesCompatFunc.inc529 static inline bool hasCompatibleFnAttrs(const Function &Caller,
533 Ret &= isEqual<SanitizeAddressAttr>(Caller, Callee);
534 Ret &= isEqual<SanitizeThreadAttr>(Caller, Callee);
535 Ret &= isEqual<SanitizeMemoryAttr>(Caller, Callee);
536 Ret &= isEqual<SanitizeHWAddressAttr>(Caller, Callee);
537 Ret &= isEqual<SanitizeMemTagAttr>(Caller, Callee);
538 Ret &= isEqual<SafeStackAttr>(Caller, Callee);
539 Ret &= isEqual<ShadowCallStackAttr>(Caller, Callee);
544 static inline void mergeFnAttrs(Function &Caller,
546 setAND<UnsafeFPMathAttr>(Caller, Callee);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/include/llvm/IR/
DAttributes.inc529 static inline bool hasCompatibleFnAttrs(const Function &Caller,
533 Ret &= isEqual<SanitizeAddressAttr>(Caller, Callee);
534 Ret &= isEqual<SanitizeThreadAttr>(Caller, Callee);
535 Ret &= isEqual<SanitizeMemoryAttr>(Caller, Callee);
536 Ret &= isEqual<SanitizeHWAddressAttr>(Caller, Callee);
537 Ret &= isEqual<SanitizeMemTagAttr>(Caller, Callee);
538 Ret &= isEqual<SafeStackAttr>(Caller, Callee);
539 Ret &= isEqual<ShadowCallStackAttr>(Caller, Callee);
544 static inline void mergeFnAttrs(Function &Caller,
546 setAND<UnsafeFPMathAttr>(Caller, Callee);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUAnnotateKernelFeatures.cpp52 bool propagateUniformWorkGroupAttribute(Function &Caller, Function &Callee);
218 Function *Caller = Node->getFunction(); in processUniformWorkGroupAttribute() local
223 Changed = propagateUniformWorkGroupAttribute(*Caller, *Callee); in processUniformWorkGroupAttribute()
231 Function &Caller, Function &Callee) { in propagateUniformWorkGroupAttribute() argument
236 if (!Caller.hasFnAttribute("uniform-work-group-size")) in propagateUniformWorkGroupAttribute()
237 Caller.addFnAttr("uniform-work-group-size", "false"); in propagateUniformWorkGroupAttribute()
242 if (Caller.hasFnAttribute("uniform-work-group-size")) { in propagateUniformWorkGroupAttribute()
244 if (Caller.getFnAttribute("uniform-work-group-size") in propagateUniformWorkGroupAttribute()
257 Caller.addFnAttr("uniform-work-group-size", "false"); in propagateUniformWorkGroupAttribute()
DAMDGPUInline.cpp112 Function *Caller = CS.getCaller(); in getInlineThreshold() local
119 && !Caller->hasFnAttribute(Attribute::MinSize)) in getInlineThreshold()
123 const DataLayout &DL = Caller->getParent()->getDataLayout(); in getInlineThreshold()
179 Function *Caller = CS.getCaller(); in getInlineCost() local
188 if (!TTI.areInlineCompatible(Caller, Callee)) in getInlineCost()
204 const auto &BBs = Caller->getBasicBlockList(); in getInlineCost()
211 OptimizationRemarkEmitter ORE(Caller); in getInlineCost()
223 size_t Size = Caller->size() + Callee->size() - 1; in getInlineCost()
DAMDGPUOpenCLEnqueuedBlockLowering.cpp83 auto *Caller = CI->getParent()->getParent(); in collectCallers() local
84 if (Callers.insert(Caller).second) in collectCallers()
85 collectCallers(Caller, Callers); in collectCallers()
DAMDGPUPropagateAttributes.cpp209 Function *Caller = CI->getCaller(); in process() local
210 if (!Caller) in process()
212 if (!Roots.count(Caller)) in process()
216 TM->getSubtargetImpl(*Caller)->getFeatureBits() & TargetFeatures; in process()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DInlineFunction.cpp588 Function *Caller = FirstNewBlock->getParent(); in HandleInlinedLandingPad() local
597 for (Function::iterator I = FirstNewBlock->getIterator(), E = Caller->end(); in HandleInlinedLandingPad()
614 for (Function::iterator BB = FirstNewBlock->getIterator(), E = Caller->end(); in HandleInlinedLandingPad()
644 Function *Caller = FirstNewBlock->getParent(); in HandleInlinedEHPad() local
675 for (Function::iterator BB = FirstNewBlock->getIterator(), E = Caller->end(); in HandleInlinedEHPad()
690 ConstantTokenNone::get(Caller->getContext()); in HandleInlinedEHPad()
723 UnwindDestToken = ConstantTokenNone::get(Caller->getContext()); in HandleInlinedEHPad()
752 E = Caller->end(); in HandleInlinedEHPad()
1184 const Function *Caller = CS.getCaller(); in UpdateCallGraphAfterInlining() local
1187 CallGraphNode *CallerNode = CG[Caller]; in UpdateCallGraphAfterInlining()
[all …]
DImportedFunctionsInliningStatistics.cpp34 void ImportedFunctionsInliningStatistics::recordInline(const Function &Caller, in recordInline() argument
37 InlineGraphNode &CallerNode = createInlineGraphNode(Caller); in recordInline()
53 auto It = NodesMap.find(Caller.getName()); in recordInline()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAttributes.cpp1723 static bool isEqual(const Function &Caller, const Function &Callee) { in isEqual() argument
1724 return Caller.getFnAttribute(AttrClass::getKind()) == in isEqual()
1734 static void setAND(Function &Caller, const Function &Callee) { in setAND() argument
1735 if (AttrClass::isSet(Caller, AttrClass::getKind()) && in setAND()
1737 AttrClass::set(Caller, AttrClass::getKind(), false); in setAND()
1746 static void setOR(Function &Caller, const Function &Callee) { in setOR() argument
1747 if (!AttrClass::isSet(Caller, AttrClass::getKind()) && in setOR()
1749 AttrClass::set(Caller, AttrClass::getKind(), true); in setOR()
1754 static void adjustCallerSSPLevel(Function &Caller, const Function &Callee) { in adjustCallerSSPLevel() argument
1764 Caller.removeAttributes(AttributeList::FunctionIndex, OldSSPAttr); in adjustCallerSSPLevel()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/build/Windows/include/llvm/IR/
DAttributes.gen435 static inline bool hasCompatibleFnAttrs(const Function &Caller,
439 Ret &= isEqual<SanitizeAddressAttr>(Caller, Callee);
440 Ret &= isEqual<SanitizeThreadAttr>(Caller, Callee);
441 Ret &= isEqual<SanitizeMemoryAttr>(Caller, Callee);
442 Ret &= isEqual<SafeStackAttr>(Caller, Callee);
447 static inline void mergeFnAttrs(Function &Caller,
449 adjustCallerSSPLevel(Caller, Callee);
450 setAND<LessPreciseFPMADAttr>(Caller, Callee);
451 setAND<NoInfsFPMathAttr>(Caller, Callee);
452 setAND<NoNansFPMathAttr>(Caller, Callee);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/build/Linux/include/llvm/IR/
DAttributes.gen435 static inline bool hasCompatibleFnAttrs(const Function &Caller,
439 Ret &= isEqual<SanitizeAddressAttr>(Caller, Callee);
440 Ret &= isEqual<SanitizeThreadAttr>(Caller, Callee);
441 Ret &= isEqual<SanitizeMemoryAttr>(Caller, Callee);
442 Ret &= isEqual<SafeStackAttr>(Caller, Callee);
447 static inline void mergeFnAttrs(Function &Caller,
449 adjustCallerSSPLevel(Caller, Callee);
450 setAND<LessPreciseFPMADAttr>(Caller, Callee);
451 setAND<NoInfsFPMathAttr>(Caller, Callee);
452 setAND<NoNansFPMathAttr>(Caller, Callee);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/build/MacOS/include/llvm/IR/
DAttributes.gen435 static inline bool hasCompatibleFnAttrs(const Function &Caller,
439 Ret &= isEqual<SanitizeAddressAttr>(Caller, Callee);
440 Ret &= isEqual<SanitizeThreadAttr>(Caller, Callee);
441 Ret &= isEqual<SanitizeMemoryAttr>(Caller, Callee);
442 Ret &= isEqual<SafeStackAttr>(Caller, Callee);
447 static inline void mergeFnAttrs(Function &Caller,
449 adjustCallerSSPLevel(Caller, Callee);
450 setAND<LessPreciseFPMADAttr>(Caller, Callee);
451 setAND<NoInfsFPMathAttr>(Caller, Callee);
452 setAND<NoNansFPMathAttr>(Caller, Callee);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/build/Android/include/llvm/IR/
DAttributes.gen435 static inline bool hasCompatibleFnAttrs(const Function &Caller,
439 Ret &= isEqual<SanitizeAddressAttr>(Caller, Callee);
440 Ret &= isEqual<SanitizeThreadAttr>(Caller, Callee);
441 Ret &= isEqual<SanitizeMemoryAttr>(Caller, Callee);
442 Ret &= isEqual<SafeStackAttr>(Caller, Callee);
447 static inline void mergeFnAttrs(Function &Caller,
449 adjustCallerSSPLevel(Caller, Callee);
450 setAND<LessPreciseFPMADAttr>(Caller, Callee);
451 setAND<NoInfsFPMathAttr>(Caller, Callee);
452 setAND<NoNansFPMathAttr>(Caller, Callee);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DAttributes.inc435 static inline bool hasCompatibleFnAttrs(const Function &Caller,
439 Ret &= isEqual<SanitizeAddressAttr>(Caller, Callee);
440 Ret &= isEqual<SanitizeThreadAttr>(Caller, Callee);
441 Ret &= isEqual<SanitizeMemoryAttr>(Caller, Callee);
442 Ret &= isEqual<SafeStackAttr>(Caller, Callee);
447 static inline void mergeFnAttrs(Function &Caller,
449 adjustCallerSSPLevel(Caller, Callee);
450 setAND<LessPreciseFPMADAttr>(Caller, Callee);
451 setAND<NoInfsFPMathAttr>(Caller, Callee);
452 setAND<NoNansFPMathAttr>(Caller, Callee);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/build/Fuchsia/include/llvm/IR/
DAttributes.gen435 static inline bool hasCompatibleFnAttrs(const Function &Caller,
439 Ret &= isEqual<SanitizeAddressAttr>(Caller, Callee);
440 Ret &= isEqual<SanitizeThreadAttr>(Caller, Callee);
441 Ret &= isEqual<SanitizeMemoryAttr>(Caller, Callee);
442 Ret &= isEqual<SafeStackAttr>(Caller, Callee);
447 static inline void mergeFnAttrs(Function &Caller,
449 adjustCallerSSPLevel(Caller, Callee);
450 setAND<LessPreciseFPMADAttr>(Caller, Callee);
451 setAND<NoInfsFPMathAttr>(Caller, Callee);
452 setAND<NoNansFPMathAttr>(Caller, Callee);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/crosstest/
Dtest_calling_conv_main.cpp68 void (*Caller)(void); in testCaller() member
108 Funcs[f].Caller(); in testCaller()
131 void (*Caller)(void); in testCallee() member
158 Funcs[f].Caller(); in testCallee()
162 Funcs[f].Caller(); in testCallee()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DInlineCost.cpp547 auto *Caller = CandidateCall.getFunction(); in finalizeAnalysis() local
548 if (Caller->hasMinSize()) { in finalizeAnalysis()
1142 Function *Caller = Call.getCaller(); in updateThreshold() local
1179 if (Caller->hasMinSize()) { in updateThreshold()
1187 } else if (Caller->hasOptSize()) in updateThreshold()
1192 if (!Caller->hasMinSize()) { in updateThreshold()
1203 BlockFrequencyInfo *CallerBFI = GetBFI ? &((*GetBFI)(*Caller)) : nullptr; in updateThreshold()
1205 if (!Caller->hasOptSize() && HotCallSiteThreshold) { in updateThreshold()
1913 Function *Caller = CandidateCall.getFunction(); in analyze() local
1915 for (User *U : Caller->users()) { in analyze()
[all …]
/third_party/jsframework/runtime/main/extend/systemplugin/napi/application/
DServiceExtensionContext.js17 import { Caller } from "../ohos_application_Ability";
135 resolve(Caller);
DAbilityContext.js19 import { Caller } from "../ohos_application_Ability"
49 resolve(Caller);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h550 bool areInlineCompatible(const Function *Caller, in areInlineCompatible() argument
552 return (Caller->getFnAttribute("target-cpu") == in areInlineCompatible()
554 (Caller->getFnAttribute("target-features") == in areInlineCompatible()
558 bool areFunctionArgsABICompatible(const Function *Caller, const Function *Callee, in areFunctionArgsABICompatible() argument
560 return (Caller->getFnAttribute("target-cpu") == in areFunctionArgsABICompatible()
562 (Caller->getFnAttribute("target-features") == in areFunctionArgsABICompatible()
/third_party/skia/third_party/externals/tint/tools/src/fileutils/
Dfileutils_common.go26 _, filename, _, ok := runtime.Caller(1)

1234