mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-17 02:19:17 +00:00
Constify arguments to methods in LoopInfo. NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237223 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -361,11 +361,11 @@ public:
|
||||
|
||||
/// isLoopInvariant - Return true if the specified value is loop invariant
|
||||
///
|
||||
bool isLoopInvariant(Value *V) const;
|
||||
bool isLoopInvariant(const Value *V) const;
|
||||
|
||||
/// hasLoopInvariantOperands - Return true if all the operands of the
|
||||
/// specified instruction are loop invariant.
|
||||
bool hasLoopInvariantOperands(Instruction *I) const;
|
||||
bool hasLoopInvariantOperands(const Instruction *I) const;
|
||||
|
||||
/// makeLoopInvariant - If the given value is an instruction inside of the
|
||||
/// loop and it can be hoisted, do so to make it trivially loop-invariant.
|
||||
|
Reference in New Issue
Block a user