@@ -98,15 +98,15 @@ class CodeExtractorAnalysisCache {
98
98
BranchProbabilityInfo *BPI;
99
99
AssumptionCache *AC;
100
100
101
- // A block outside of the extraction set where any intermediate
102
- // allocations will be placed inside. If this is null, allocations
103
- // will be placed in the entry block of the function.
101
+ // / A block outside of the extraction set where any intermediate
102
+ // / allocations will be placed inside. If this is null, allocations
103
+ // / will be placed in the entry block of the function.
104
104
BasicBlock *AllocationBlock;
105
105
106
- // If true, varargs functions can be extracted.
106
+ // / If true, varargs functions can be extracted.
107
107
bool AllowVarArgs;
108
108
109
- // Bits of intermediate state computed at various phases of extraction.
109
+ // / Bits of intermediate state computed at various phases of extraction.
110
110
SetVector<BasicBlock *> Blocks;
111
111
112
112
// / Lists of blocks that are branched from the code region to be extracted,
@@ -128,32 +128,32 @@ class CodeExtractorAnalysisCache {
128
128
// / returns 1, etc.
129
129
SmallVector<BasicBlock *> ExtractedFuncRetVals;
130
130
131
- // Suffix to use when creating extracted function (appended to the original
132
- // function name + "."). If empty, the default is to use the entry block
133
- // label, if non-empty, otherwise "extracted".
131
+ // / Suffix to use when creating extracted function (appended to the original
132
+ // / function name + "."). If empty, the default is to use the entry block
133
+ // / label, if non-empty, otherwise "extracted".
134
134
std::string Suffix;
135
135
136
- // If true, the outlined function has aggregate argument in zero address
137
- // space.
136
+ // / If true, the outlined function has aggregate argument in zero address
137
+ // / space.
138
138
bool ArgsInZeroAddressSpace;
139
139
140
- // If set, this callback will be used to allocate the arguments in the
141
- // caller before passing it to the outlined function holding the extracted
142
- // piece of code.
140
+ // / If set, this callback will be used to allocate the arguments in the
141
+ // / caller before passing it to the outlined function holding the extracted
142
+ // / piece of code.
143
143
CustomArgAllocatorCBTy *CustomArgAllocatorCB;
144
144
145
- // A block outside of the extraction set where previously introduced
146
- // intermediate allocations can be deallocated. This is only used when an
147
- // custom deallocator is specified.
145
+ // / A block outside of the extraction set where previously introduced
146
+ // / intermediate allocations can be deallocated. This is only used when a
147
+ // / custom deallocator is specified.
148
148
BasicBlock *DeallocationBlock;
149
149
150
- // If set, this callback will be used to deallocate the arguments in the
151
- // caller after running the outlined function holding the extracted piece of
152
- // code. It will not be called if a custom allocator isn't also present.
153
- //
154
- // By default, this will be done at the end of the basic block containing
155
- // the call to the outlined function, except if a deallocation block is
156
- // specified. In that case, that will take precedence.
150
+ // / If set, this callback will be used to deallocate the arguments in the
151
+ // / caller after running the outlined function holding the extracted piece
152
+ // / of code. It will not be called if a custom allocator isn't also present.
153
+ // /
154
+ // / By default, this will be done at the end of the basic block containing
155
+ // / the call to the outlined function, except if a deallocation block is
156
+ // / specified. In that case, that will take precedence.
157
157
CustomArgDeallocatorCBTy *CustomArgDeallocatorCB;
158
158
159
159
public:
0 commit comments