mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Add a method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13105 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -250,6 +250,14 @@ namespace llvm {
|
|||||||
/// starts at zero and steps by one on each iteration.
|
/// starts at zero and steps by one on each iteration.
|
||||||
Value *GetOrInsertCanonicalInductionVariable(const Loop *L, const Type *Ty);
|
Value *GetOrInsertCanonicalInductionVariable(const Loop *L, const Type *Ty);
|
||||||
|
|
||||||
|
|
||||||
|
/// addInsertedValue - Remember the specified instruction as being the
|
||||||
|
/// canonical form for the specified SCEV.
|
||||||
|
void addInsertedValue(Instruction *I, SCEV *S) {
|
||||||
|
InsertedExpressions[S] = I;
|
||||||
|
InsertedInstructions.insert(I);
|
||||||
|
}
|
||||||
|
|
||||||
/// ExpandCodeFor - Insert code to directly compute the specified SCEV
|
/// ExpandCodeFor - Insert code to directly compute the specified SCEV
|
||||||
/// expression into the program. The inserted code is inserted into the
|
/// expression into the program. The inserted code is inserted into the
|
||||||
/// specified block.
|
/// specified block.
|
||||||
|
Reference in New Issue
Block a user