Home
last modified time | relevance | path

Searched refs:MBBIter (Results 1 – 11 of 11) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/
DLanaiMemAluCombiner.cpp368 MbbIterator MBBIter = BB->begin(), End = BB->end(); in combineMemAluInBasicBlock() local
369 while (MBBIter != End) { in combineMemAluInBasicBlock()
370 bool IsMemOp = isNonVolatileMemoryOp(*MBBIter); in combineMemAluInBasicBlock()
373 MachineOperand AluOperand = MBBIter->getOperand(3); in combineMemAluInBasicBlock()
374 unsigned int DestReg = MBBIter->getOperand(0).getReg(), in combineMemAluInBasicBlock()
375 BaseReg = MBBIter->getOperand(1).getReg(); in combineMemAluInBasicBlock()
384 findClosestSuitableAluInstr(BB, MBBIter, Inc == 0); in combineMemAluInBasicBlock()
385 if (AluIter != MBBIter) { in combineMemAluInBasicBlock()
386 insertMergedInstruction(BB, MBBIter, AluIter, Inc == 0); in combineMemAluInBasicBlock()
394 BB->erase(MBBIter++); in combineMemAluInBasicBlock()
[all …]
/external/llvm/lib/Target/Lanai/
DLanaiMemAluCombiner.cpp365 MbbIterator MBBIter = BB->begin(), End = BB->end(); in combineMemAluInBasicBlock() local
366 while (MBBIter != End) { in combineMemAluInBasicBlock()
367 bool IsMemOp = isNonVolatileMemoryOp(*MBBIter); in combineMemAluInBasicBlock()
370 MachineOperand AluOperand = MBBIter->getOperand(3); in combineMemAluInBasicBlock()
371 unsigned int DestReg = MBBIter->getOperand(0).getReg(), in combineMemAluInBasicBlock()
372 BaseReg = MBBIter->getOperand(1).getReg(); in combineMemAluInBasicBlock()
381 findClosestSuitableAluInstr(BB, MBBIter, Inc == 0); in combineMemAluInBasicBlock()
382 if (AluIter != MBBIter) { in combineMemAluInBasicBlock()
383 insertMergedInstruction(BB, MBBIter, AluIter, Inc == 0); in combineMemAluInBasicBlock()
391 BB->erase(MBBIter++); in combineMemAluInBasicBlock()
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DBranchFolding.cpp1093 MachineBasicBlock::iterator MBBIter = MBB->begin(); in OptimizeBlock() local
1096 while (PrevBBIter != PrevBB.begin() && MBBIter != MBB->end() in OptimizeBlock()
1097 && PrevBBIter->isDebugValue() && MBBIter->isDebugValue()) { in OptimizeBlock()
1098 if (!MBBIter->isIdenticalTo(PrevBBIter)) in OptimizeBlock()
1100 MachineInstr *DuplicateDbg = MBBIter; in OptimizeBlock()
1101 ++MBBIter; -- PrevBBIter; in OptimizeBlock()
/external/llvm/lib/CodeGen/
DBranchFolding.cpp1316 MachineBasicBlock::iterator MBBIter = MBB->begin(); in OptimizeBlock() local
1319 while (PrevBBIter != PrevBB.begin() && MBBIter != MBB->end() in OptimizeBlock()
1320 && PrevBBIter->isDebugValue() && MBBIter->isDebugValue()) { in OptimizeBlock()
1321 if (!MBBIter->isIdenticalTo(*PrevBBIter)) in OptimizeBlock()
1323 MachineInstr &DuplicateDbg = *MBBIter; in OptimizeBlock()
1324 ++MBBIter; -- PrevBBIter; in OptimizeBlock()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DBranchFolding.cpp1502 MachineBasicBlock::iterator MBBIter = MBB->begin(); in OptimizeBlock() local
1505 while (PrevBBIter != PrevBB.begin() && MBBIter != MBB->end() in OptimizeBlock()
1506 && PrevBBIter->isDebugInstr() && MBBIter->isDebugInstr()) { in OptimizeBlock()
1507 if (!MBBIter->isIdenticalTo(*PrevBBIter)) in OptimizeBlock()
1509 MachineInstr &DuplicateDbg = *MBBIter; in OptimizeBlock()
1510 ++MBBIter; -- PrevBBIter; in OptimizeBlock()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86ISelLowering.cpp10919 MachineFunction::iterator MBBIter = MBB; in EmitAtomicBitwiseWithCustomInserter() local
10920 ++MBBIter; in EmitAtomicBitwiseWithCustomInserter()
10927 F->insert(MBBIter, newMBB); in EmitAtomicBitwiseWithCustomInserter()
10928 F->insert(MBBIter, nextMBB); in EmitAtomicBitwiseWithCustomInserter()
11030 MachineFunction::iterator MBBIter = MBB; in EmitAtomicBit6432WithCustomInserter() local
11031 ++MBBIter; in EmitAtomicBit6432WithCustomInserter()
11038 F->insert(MBBIter, newMBB); in EmitAtomicBit6432WithCustomInserter()
11039 F->insert(MBBIter, nextMBB); in EmitAtomicBit6432WithCustomInserter()
11185 MachineFunction::iterator MBBIter = MBB; in EmitAtomicMinMaxWithCustomInserter() local
11186 ++MBBIter; in EmitAtomicMinMaxWithCustomInserter()
[all …]
/external/llvm/lib/Target/X86/
DX86FrameLowering.cpp531 MachineFunction::iterator MBBIter = std::next(MBB.getIterator()); in emitStackProbeInline() local
532 MF.insert(MBBIter, RoundMBB); in emitStackProbeInline()
533 MF.insert(MBBIter, LoopMBB); in emitStackProbeInline()
534 MF.insert(MBBIter, ContinueMBB); in emitStackProbeInline()
DX86ISelLowering.cpp22833 MachineFunction::iterator MBBIter = ++MBB->getIterator(); in EmitVAARG64WithCustomInserter() local
22836 MF->insert(MBBIter, offsetMBB); in EmitVAARG64WithCustomInserter()
22837 MF->insert(MBBIter, overflowMBB); in EmitVAARG64WithCustomInserter()
22838 MF->insert(MBBIter, endMBB); in EmitVAARG64WithCustomInserter()
23001 MachineFunction::iterator MBBIter = ++MBB->getIterator(); in EmitVAStartSaveXMMRegsWithCustomInserter() local
23004 F->insert(MBBIter, XMMSaveMBB); in EmitVAStartSaveXMMRegsWithCustomInserter()
23005 F->insert(MBBIter, EndMBB); in EmitVAStartSaveXMMRegsWithCustomInserter()
23502 MachineFunction::iterator MBBIter = ++BB->getIterator(); in EmitLoweredSegAlloca() local
23504 MF->insert(MBBIter, bumpMBB); in EmitLoweredSegAlloca()
23505 MF->insert(MBBIter, mallocMBB); in EmitLoweredSegAlloca()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86FrameLowering.cpp568 MachineFunction::iterator MBBIter = std::next(MBB.getIterator()); in emitStackProbeInline() local
569 MF.insert(MBBIter, RoundMBB); in emitStackProbeInline()
570 MF.insert(MBBIter, LoopMBB); in emitStackProbeInline()
571 MF.insert(MBBIter, ContinueMBB); in emitStackProbeInline()
DX86ISelLowering.cpp26707 MachineFunction::iterator MBBIter = ++MBB->getIterator(); in EmitVAARG64WithCustomInserter() local
26710 MF->insert(MBBIter, offsetMBB); in EmitVAARG64WithCustomInserter()
26711 MF->insert(MBBIter, overflowMBB); in EmitVAARG64WithCustomInserter()
26712 MF->insert(MBBIter, endMBB); in EmitVAARG64WithCustomInserter()
26875 MachineFunction::iterator MBBIter = ++MBB->getIterator(); in EmitVAStartSaveXMMRegsWithCustomInserter() local
26878 F->insert(MBBIter, XMMSaveMBB); in EmitVAStartSaveXMMRegsWithCustomInserter()
26879 F->insert(MBBIter, EndMBB); in EmitVAStartSaveXMMRegsWithCustomInserter()
27447 MachineFunction::iterator MBBIter = ++BB->getIterator(); in EmitLoweredSegAlloca() local
27449 MF->insert(MBBIter, bumpMBB); in EmitLoweredSegAlloca()
27450 MF->insert(MBBIter, mallocMBB); in EmitLoweredSegAlloca()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUMachineCFGStructurizer.cpp2525 auto MBBIter = ++(MBB->getIterator()); in split() local
2526 MF->insert(MBBIter, SuccMBB); in split()