Home
last modified time | relevance | path

Searched refs:SplitBefore (Results 1 – 13 of 13) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCReduceCRLogicals.cpp109 MachineInstr *SplitBefore; member
118 if (!OrigBranch || !SplitBefore || !SplitCond) in allInstrsInSameMBB()
121 if (SplitBefore->getParent() != MBB || SplitCond->getParent() != MBB) in allInstrsInSameMBB()
199 MachineBasicBlock::iterator InsertPoint = BSI.SplitBefore; in splitMBB()
220 BuildMI(*ThisMBB, ThisMBB->end(), BSI.SplitBefore->getDebugLoc(), in splitMBB()
224 BuildMI(*ThisMBB, ThisMBB->end(), BSI.SplitBefore->getDebugLoc(), in splitMBB()
643 MachineInstr *SplitBefore = &*Def2It; in splitBlockOnBinaryCROp() local
646 SplitBefore = &*Def1It; in splitBlockOnBinaryCROp()
654 LLVM_DEBUG(dbgs() << "Before instruction:\n"; SplitBefore->dump()); in splitBlockOnBinaryCROp()
664 MachineBasicBlock *MBB = SplitBefore->getParent(); in splitBlockOnBinaryCROp()
[all …]
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCReduceCRLogicals.cpp109 MachineInstr *SplitBefore; member
118 if (!OrigBranch || !SplitBefore || !SplitCond) in allInstrsInSameMBB()
121 if (SplitBefore->getParent() != MBB || SplitCond->getParent() != MBB) in allInstrsInSameMBB()
199 MachineBasicBlock::iterator InsertPoint = BSI.SplitBefore; in splitMBB()
220 BuildMI(*ThisMBB, ThisMBB->end(), BSI.SplitBefore->getDebugLoc(), in splitMBB()
224 BuildMI(*ThisMBB, ThisMBB->end(), BSI.SplitBefore->getDebugLoc(), in splitMBB()
643 MachineInstr *SplitBefore = &*Def2It; in splitBlockOnBinaryCROp() local
646 SplitBefore = &*Def1It; in splitBlockOnBinaryCROp()
654 LLVM_DEBUG(dbgs() << "Before instruction:\n"; SplitBefore->dump()); in splitBlockOnBinaryCROp()
664 MachineBasicBlock *MBB = SplitBefore->getParent(); in splitBlockOnBinaryCROp()
[all …]
/external/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp616 llvm::SplitBlockAndInsertIfThen(Value *Cond, Instruction *SplitBefore, in SplitBlockAndInsertIfThen() argument
619 BasicBlock *Head = SplitBefore->getParent(); in SplitBlockAndInsertIfThen()
620 BasicBlock *Tail = Head->splitBasicBlock(SplitBefore->getIterator()); in SplitBlockAndInsertIfThen()
629 CheckTerm->setDebugLoc(SplitBefore->getDebugLoc()); in SplitBlockAndInsertIfThen()
657 void llvm::SplitBlockAndInsertIfThenElse(Value *Cond, Instruction *SplitBefore, in SplitBlockAndInsertIfThenElse() argument
661 BasicBlock *Head = SplitBefore->getParent(); in SplitBlockAndInsertIfThenElse()
662 BasicBlock *Tail = Head->splitBasicBlock(SplitBefore->getIterator()); in SplitBlockAndInsertIfThenElse()
668 (*ThenTerm)->setDebugLoc(SplitBefore->getDebugLoc()); in SplitBlockAndInsertIfThenElse()
670 (*ElseTerm)->setDebugLoc(SplitBefore->getDebugLoc()); in SplitBlockAndInsertIfThenElse()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp926 Instruction *SplitBefore, in SplitBlockAndInsertIfThen() argument
931 BasicBlock *Head = SplitBefore->getParent(); in SplitBlockAndInsertIfThen()
932 BasicBlock *Tail = Head->splitBasicBlock(SplitBefore->getIterator()); in SplitBlockAndInsertIfThen()
943 CheckTerm->setDebugLoc(SplitBefore->getDebugLoc()); in SplitBlockAndInsertIfThen()
977 void llvm::SplitBlockAndInsertIfThenElse(Value *Cond, Instruction *SplitBefore, in SplitBlockAndInsertIfThenElse() argument
981 BasicBlock *Head = SplitBefore->getParent(); in SplitBlockAndInsertIfThenElse()
982 BasicBlock *Tail = Head->splitBasicBlock(SplitBefore->getIterator()); in SplitBlockAndInsertIfThenElse()
988 (*ThenTerm)->setDebugLoc(SplitBefore->getDebugLoc()); in SplitBlockAndInsertIfThenElse()
990 (*ElseTerm)->setDebugLoc(SplitBefore->getDebugLoc()); in SplitBlockAndInsertIfThenElse()
/external/llvm/include/llvm/Transforms/Utils/
DBasicBlockUtils.h250 TerminatorInst *SplitBlockAndInsertIfThen(Value *Cond, Instruction *SplitBefore,
270 void SplitBlockAndInsertIfThenElse(Value *Cond, Instruction *SplitBefore,
/external/llvm-project/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp982 Instruction *SplitBefore, in SplitBlockAndInsertIfThen() argument
987 BasicBlock *Head = SplitBefore->getParent(); in SplitBlockAndInsertIfThen()
988 BasicBlock *Tail = Head->splitBasicBlock(SplitBefore->getIterator()); in SplitBlockAndInsertIfThen()
999 CheckTerm->setDebugLoc(SplitBefore->getDebugLoc()); in SplitBlockAndInsertIfThen()
1033 void llvm::SplitBlockAndInsertIfThenElse(Value *Cond, Instruction *SplitBefore, in SplitBlockAndInsertIfThenElse() argument
1037 BasicBlock *Head = SplitBefore->getParent(); in SplitBlockAndInsertIfThenElse()
1038 BasicBlock *Tail = Head->splitBasicBlock(SplitBefore->getIterator()); in SplitBlockAndInsertIfThenElse()
1044 (*ThenTerm)->setDebugLoc(SplitBefore->getDebugLoc()); in SplitBlockAndInsertIfThenElse()
1046 (*ElseTerm)->setDebugLoc(SplitBefore->getDebugLoc()); in SplitBlockAndInsertIfThenElse()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DBasicBlockUtils.h305 Instruction *SplitBlockAndInsertIfThen(Value *Cond, Instruction *SplitBefore,
326 void SplitBlockAndInsertIfThenElse(Value *Cond, Instruction *SplitBefore,
/external/llvm-project/llvm/include/llvm/Transforms/Utils/
DBasicBlockUtils.h328 Instruction *SplitBlockAndInsertIfThen(Value *Cond, Instruction *SplitBefore,
349 void SplitBlockAndInsertIfThenElse(Value *Cond, Instruction *SplitBefore,
/external/llvm/lib/CodeGen/
DRegAllocGreedy.cpp1824 unsigned SplitBefore = 0, SplitAfter = 1; in tryLocalSplit() local
1832 const bool LiveBefore = SplitBefore != 0 || BI.LiveIn; in tryLocalSplit()
1836 << Uses[SplitBefore] << '-' << Uses[SplitAfter] in tryLocalSplit()
1848 unsigned NewGaps = LiveBefore + SplitAfter - SplitBefore + LiveAfter; in tryLocalSplit()
1861 Uses[SplitBefore].distance(Uses[SplitAfter]) + in tryLocalSplit()
1873 BestBefore = SplitBefore; in tryLocalSplit()
1881 if (++SplitBefore < SplitAfter) { in tryLocalSplit()
1884 if (GapWeight[SplitBefore - 1] >= MaxGap) { in tryLocalSplit()
1885 MaxGap = GapWeight[SplitBefore]; in tryLocalSplit()
1886 for (unsigned i = SplitBefore + 1; i != SplitAfter; ++i) in tryLocalSplit()
/external/llvm-project/compiler-rt/lib/fuzzer/
DFuzzerUtil.h77 inline std::pair<std::string, std::string> SplitBefore(std::string X, in SplitBefore() function
/external/rust/crates/libfuzzer-sys/libfuzzer/
DFuzzerUtil.h77 inline std::pair<std::string, std::string> SplitBefore(std::string X, in SplitBefore() function
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DRegAllocGreedy.cpp2333 unsigned SplitBefore = 0, SplitAfter = 1; in tryLocalSplit() local
2341 const bool LiveBefore = SplitBefore != 0 || BI.LiveIn; in tryLocalSplit()
2344 LLVM_DEBUG(dbgs() << printReg(PhysReg, TRI) << ' ' << Uses[SplitBefore] in tryLocalSplit()
2356 unsigned NewGaps = LiveBefore + SplitAfter - SplitBefore + LiveAfter; in tryLocalSplit()
2369 Uses[SplitBefore].distance(Uses[SplitAfter]) + in tryLocalSplit()
2381 BestBefore = SplitBefore; in tryLocalSplit()
2389 if (++SplitBefore < SplitAfter) { in tryLocalSplit()
2392 if (GapWeight[SplitBefore - 1] >= MaxGap) { in tryLocalSplit()
2393 MaxGap = GapWeight[SplitBefore]; in tryLocalSplit()
2394 for (unsigned i = SplitBefore + 1; i != SplitAfter; ++i) in tryLocalSplit()
/external/llvm-project/llvm/lib/CodeGen/
DRegAllocGreedy.cpp2322 unsigned SplitBefore = 0, SplitAfter = 1; in tryLocalSplit() local
2330 const bool LiveBefore = SplitBefore != 0 || BI.LiveIn; in tryLocalSplit()
2333 LLVM_DEBUG(dbgs() << printReg(PhysReg, TRI) << ' ' << Uses[SplitBefore] in tryLocalSplit()
2345 unsigned NewGaps = LiveBefore + SplitAfter - SplitBefore + LiveAfter; in tryLocalSplit()
2358 Uses[SplitBefore].distance(Uses[SplitAfter]) + in tryLocalSplit()
2370 BestBefore = SplitBefore; in tryLocalSplit()
2378 if (++SplitBefore < SplitAfter) { in tryLocalSplit()
2381 if (GapWeight[SplitBefore - 1] >= MaxGap) { in tryLocalSplit()
2382 MaxGap = GapWeight[SplitBefore]; in tryLocalSplit()
2383 for (unsigned I = SplitBefore + 1; I != SplitAfter; ++I) in tryLocalSplit()