File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
llvm/include/llvm/SandboxIR Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -264,12 +264,14 @@ class Value {
264
264
llvm::function_ref<bool (const Use &)> ShouldReplace);
265
265
void replaceAllUsesWith (Value *Other);
266
266
267
+ // / \Returns the LLVM IR name of the bottom-most LLVM value.
268
+ StringRef getName () const { return Val->getName (); }
269
+
267
270
#ifndef NDEBUG
268
271
// / Should crash if there is something wrong with the instruction.
269
272
virtual void verify () const = 0;
270
273
// / Returns the unique id in the form 'SB<number>.' like 'SB1.'
271
274
std::string getUid () const ;
272
- StringRef getName () const { return Val->getName (); }
273
275
virtual void dumpCommonHeader (raw_ostream &OS) const ;
274
276
void dumpCommonFooter (raw_ostream &OS) const ;
275
277
void dumpCommonPrefix (raw_ostream &OS) const ;
You can’t perform that action at this time.
0 commit comments