Home
last modified time | relevance | path

Searched refs:ArgPromotion (Results 1 – 1 of 1) sorted by relevance

/NextBSD/contrib/llvm/lib/Transforms/IPO/
HDArgumentPromotion.cpp64 struct ArgPromotion : public CallGraphSCCPass { struct
72 explicit ArgPromotion(unsigned maxElements = 3) in ArgPromotion() argument
97 char ArgPromotion::ID = 0;
98 INITIALIZE_PASS_BEGIN(ArgPromotion, "argpromotion",
102 INITIALIZE_PASS_END(ArgPromotion, "argpromotion", in INITIALIZE_AG_DEPENDENCY()
106 return new ArgPromotion(maxElements); in INITIALIZE_AG_DEPENDENCY()
109 bool ArgPromotion::runOnSCC(CallGraphSCC &SCC) { in runOnSCC()
128 bool ArgPromotion::isDenselyPacked(Type *type, const DataLayout &DL) { in isDenselyPacked()
164 bool ArgPromotion::canPaddingBeAccessed(Argument *arg) { in canPaddingBeAccessed()
205 CallGraphNode *ArgPromotion::PromoteArguments(CallGraphNode *CGN) { in PromoteArguments()
[all …]