| /llvm-project-15.0.7/mlir/lib/Transforms/Utils/ |
| H A D | FoldUtils.cpp | 83 op->moveBefore(&opBlock->front()); in tryToFold() 120 op->moveBefore(&opBlock->front()); in insertKnownConstant() 159 op->moveBefore(&insertBlock->front()); in insertKnownConstant() 307 constOp->moveBefore(&opBlock->front()); in processFoldResults()
|
| H A D | TopologicalSortUtils.cpp | 73 op.moveBefore(block, nextScheduledOp); in sortTopologically()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | GuardUtils.cpp | 103 WCAnd->moveBefore(WidenableBR); in widenWidenableBranch() 122 WCAnd->moveBefore(WidenableBR); in setWidenableBranchCond()
|
| H A D | CodeMoverUtils.cpp | 418 I.moveBefore(MovePos); in moveInstructionsToTheBeginning() 430 I.moveBefore(MovePos); in moveInstructionsToTheEnd()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | DivRemPairs.cpp | 280 DivInst->moveBefore(PredBB->getTerminator()); in optimizeDivRem() 283 RemInst->moveBefore(PredBB->getTerminator()); in optimizeDivRem() 349 DivInst->moveBefore(RemInst); in optimizeDivRem()
|
| H A D | LoopInterchange.cpp | 1382 I.moveBefore(OuterLoopHeader->getTerminator()); in transform() 1504 P->moveBefore(InnerLatch->getFirstNonPHI()); in moveLCSSAPhis() 1509 P->moveBefore(InnerExit->getFirstNonPHI()); in moveLCSSAPhis() 1675 PHI->moveBefore(InnerLoopHeader->getFirstNonPHI()); in adjustLoopBranches() 1680 PHI->moveBefore(OuterLoopHeader->getFirstNonPHI()); in adjustLoopBranches()
|
| /llvm-project-15.0.7/mlir/lib/Transforms/ |
| H A D | ControlFlowSink.cpp | 47 op->moveBefore(®ion->front(), region->front().begin()); in runOnOperation()
|
| /llvm-project-15.0.7/mlir/test/lib/Transforms/ |
| H A D | TestControlFlowSink.cpp | 45 op->moveBefore(&entry, entry.begin()); in runOnOperation()
|
| /llvm-project-15.0.7/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXAllocaHoisting.cpp | 49 allocaInst->moveBefore(firstTerminatorInst); in runOnFunction()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanTransforms.cpp | 176 SinkCandidate->moveBefore(*SinkTo, SinkTo->getFirstNonPhi()); in sinkScalarOperands() 258 ToMove.moveBefore(*Then2, Then2->getFirstNonPhi()); in mergeReplicateRegions() 282 Phi1ToMove.moveBefore(*Merge2, Merge2->begin()); in mergeReplicateRegions()
|
| /llvm-project-15.0.7/llvm/examples/IRTransforms/ |
| H A D | SimplifyCFG.cpp | 290 I.moveBefore(Pred->getTerminator()); in mergeIntoSinglePredecessor_v1() 341 I.moveBefore(Pred->getTerminator()); in mergeIntoSinglePredecessor_v2()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | TypePromotion.cpp | 438 I->moveBefore(InsertPt); in ExtendSources() 536 Trunc->moveBefore(Call); in TruncateSinks() 547 Trunc->moveBefore(Switch); in TruncateSinks() 562 Trunc->moveBefore(I); in TruncateSinks()
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch7/mlir/ |
| H A D | LowerToAffineLoops.cpp | 46 alloc->moveBefore(&parentBlock->front()); in insertAllocAndDealloc() 51 dealloc->moveBefore(&parentBlock->back()); in insertAllocAndDealloc()
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch6/mlir/ |
| H A D | LowerToAffineLoops.cpp | 46 alloc->moveBefore(&parentBlock->front()); in insertAllocAndDealloc() 51 dealloc->moveBefore(&parentBlock->back()); in insertAllocAndDealloc()
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch5/mlir/ |
| H A D | LowerToAffineLoops.cpp | 46 alloc->moveBefore(&parentBlock->front()); in insertAllocAndDealloc() 51 dealloc->moveBefore(&parentBlock->back()); in insertAllocAndDealloc()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | Instrumentation.cpp | 31 I->moveBefore(&*IP); in moveBeforeInsertPoint()
|
| /llvm-project-15.0.7/llvm/unittests/Analysis/ |
| H A D | MemorySSATest.cpp | 322 SideStore->moveBefore(Entry->getTerminator()); in TEST_F() 359 SideStore->moveBefore(Entry->getTerminator()); in TEST_F() 458 SideStore->moveBefore(*EntryStore->getParent(), EntryStore->getIterator()); in TEST_F() 459 Updater.moveBefore(SideStoreAccess, EntryStoreAccess); in TEST_F() 465 SideStore->moveBefore(*Right, Right->begin()); in TEST_F() 471 SideStore->moveBefore(MergeLoad); in TEST_F() 472 Updater.moveBefore(SideStoreAccess, LoadAccess); in TEST_F() 852 StoreC->moveBefore(StoreB); in TEST_F() 853 Updater.moveBefore(cast<MemoryDef>(MSSA.getMemoryAccess(StoreC)), in TEST_F() 1834 LI->moveBefore(BB->getTerminator()); in TEST_F() [all …]
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Instruction.cpp | 96 void Instruction::moveBefore(Instruction *MovePos) { in moveBefore() function in Instruction 97 moveBefore(*MovePos->getParent(), MovePos->getIterator()); in moveBefore() 101 moveBefore(*MovePos->getParent(), ++MovePos->getIterator()); in moveAfter() 104 void Instruction::moveBefore(BasicBlock &BB, in moveBefore() function in Instruction
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SCF/Transforms/ |
| H A D | ForToWhile.cpp | 80 arg.moveBefore(afterBlock, afterBlock->end()); in matchAndRewrite()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Instruction.h | 134 void moveBefore(Instruction *MovePos); 139 void moveBefore(BasicBlock &BB, SymbolTableList<Instruction>::iterator I);
|
| /llvm-project-15.0.7/mlir/include/mlir/Interfaces/ |
| H A D | LoopLikeInterface.td | 48 op->moveBefore($_op);
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Bufferization/Transforms/ |
| H A D | BufferUtils.cpp | 196 global->moveBefore(&moduleOp.front()); in getGlobalFor()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Affine/Transforms/ |
| H A D | AffineLoopInvariantCodeMotion.cpp | 225 op->moveBefore(forOp); in runOnAffineForOp()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | MemorySSAUpdater.h | 128 void moveBefore(MemoryUseOrDef *What, MemoryUseOrDef *Where);
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | Operation.cpp | 430 void Operation::moveBefore(Operation *existingOp) { in moveBefore() function in Operation 431 moveBefore(existingOp->getBlock(), existingOp->getIterator()); in moveBefore() 436 void Operation::moveBefore(Block *block, in moveBefore() function in Operation 453 moveBefore(block, std::next(iterator)); in moveAfter()
|