/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/ |
D | LanaiMemAluCombiner.cpp | 367 MbbIterator MBBIter = BB->begin(), End = BB->end(); in combineMemAluInBasicBlock() local 368 while (MBBIter != End) { in combineMemAluInBasicBlock() 369 bool IsMemOp = isNonVolatileMemoryOp(*MBBIter); in combineMemAluInBasicBlock() 372 MachineOperand AluOperand = MBBIter->getOperand(3); in combineMemAluInBasicBlock() 373 unsigned int DestReg = MBBIter->getOperand(0).getReg(), in combineMemAluInBasicBlock() 374 BaseReg = MBBIter->getOperand(1).getReg(); in combineMemAluInBasicBlock() 383 findClosestSuitableAluInstr(BB, MBBIter, Inc == 0); in combineMemAluInBasicBlock() 384 if (AluIter != MBBIter) { in combineMemAluInBasicBlock() 385 insertMergedInstruction(BB, MBBIter, AluIter, Inc == 0); in combineMemAluInBasicBlock() 393 BB->erase(MBBIter++); in combineMemAluInBasicBlock() [all …]
|
/external/llvm-project/llvm/lib/Target/Lanai/ |
D | LanaiMemAluCombiner.cpp | 367 MbbIterator MBBIter = BB->begin(), End = BB->end(); in combineMemAluInBasicBlock() local 368 while (MBBIter != End) { in combineMemAluInBasicBlock() 369 bool IsMemOp = isNonVolatileMemoryOp(*MBBIter); in combineMemAluInBasicBlock() 372 MachineOperand AluOperand = MBBIter->getOperand(3); in combineMemAluInBasicBlock() 373 unsigned int DestReg = MBBIter->getOperand(0).getReg(), in combineMemAluInBasicBlock() 374 BaseReg = MBBIter->getOperand(1).getReg(); in combineMemAluInBasicBlock() 383 findClosestSuitableAluInstr(BB, MBBIter, Inc == 0); in combineMemAluInBasicBlock() 384 if (AluIter != MBBIter) { in combineMemAluInBasicBlock() 385 insertMergedInstruction(BB, MBBIter, AluIter, Inc == 0); in combineMemAluInBasicBlock() 393 BB->erase(MBBIter++); in combineMemAluInBasicBlock() [all …]
|
/external/llvm/lib/Target/Lanai/ |
D | LanaiMemAluCombiner.cpp | 365 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/llvm/lib/CodeGen/ |
D | BranchFolding.cpp | 1316 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/llvm-project/llvm/lib/CodeGen/ |
D | BranchFolding.cpp | 1409 MachineBasicBlock::iterator MBBIter = MBB->begin(); in OptimizeBlock() local 1412 while (PrevBBIter != PrevBB.begin() && MBBIter != MBB->end() in OptimizeBlock() 1413 && PrevBBIter->isDebugInstr() && MBBIter->isDebugInstr()) { in OptimizeBlock() 1414 if (!MBBIter->isIdenticalTo(*PrevBBIter)) in OptimizeBlock() 1416 MachineInstr &DuplicateDbg = *MBBIter; in OptimizeBlock() 1417 ++MBBIter; -- PrevBBIter; in OptimizeBlock()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | BranchFolding.cpp | 1450 MachineBasicBlock::iterator MBBIter = MBB->begin(); in OptimizeBlock() local 1453 while (PrevBBIter != PrevBB.begin() && MBBIter != MBB->end() in OptimizeBlock() 1454 && PrevBBIter->isDebugInstr() && MBBIter->isDebugInstr()) { in OptimizeBlock() 1455 if (!MBBIter->isIdenticalTo(*PrevBBIter)) in OptimizeBlock() 1457 MachineInstr &DuplicateDbg = *MBBIter; in OptimizeBlock() 1458 ++MBBIter; -- PrevBBIter; in OptimizeBlock()
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86FrameLowering.cpp | 651 MachineFunction::iterator MBBIter = ++MBB.getIterator(); in emitStackProbeInlineGenericLoop() local 652 MF.insert(MBBIter, testMBB); in emitStackProbeInlineGenericLoop() 653 MF.insert(MBBIter, tailMBB); in emitStackProbeInlineGenericLoop() 760 MachineFunction::iterator MBBIter = std::next(MBB.getIterator()); in emitStackProbeInlineWindowsCoreCLR64() local 761 MF.insert(MBBIter, RoundMBB); in emitStackProbeInlineWindowsCoreCLR64() 762 MF.insert(MBBIter, LoopMBB); in emitStackProbeInlineWindowsCoreCLR64() 763 MF.insert(MBBIter, ContinueMBB); in emitStackProbeInlineWindowsCoreCLR64() 1070 MachineFunction::iterator MBBIter = MBB.getIterator(); in BuildStackAlignAND() local 1071 MF.insert(MBBIter, entryMBB); in BuildStackAlignAND() 1072 MF.insert(MBBIter, headMBB); in BuildStackAlignAND() [all …]
|
D | X86ISelLowering.cpp | 31644 MachineFunction::iterator MBBIter = ++MBB->getIterator(); in EmitVAARG64WithCustomInserter() local 31647 MF->insert(MBBIter, offsetMBB); in EmitVAARG64WithCustomInserter() 31648 MF->insert(MBBIter, overflowMBB); in EmitVAARG64WithCustomInserter() 31649 MF->insert(MBBIter, endMBB); in EmitVAARG64WithCustomInserter() 31811 MachineFunction::iterator MBBIter = ++MBB->getIterator(); in EmitVAStartSaveXMMRegsWithCustomInserter() local 31814 F->insert(MBBIter, XMMSaveMBB); in EmitVAStartSaveXMMRegsWithCustomInserter() 31815 F->insert(MBBIter, EndMBB); in EmitVAStartSaveXMMRegsWithCustomInserter() 32306 MachineFunction::iterator MBBIter = ++MBB->getIterator(); in EmitLoweredProbedAlloca() local 32307 MF->insert(MBBIter, testMBB); in EmitLoweredProbedAlloca() 32308 MF->insert(MBBIter, blockMBB); in EmitLoweredProbedAlloca() [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86FrameLowering.cpp | 531 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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86FrameLowering.cpp | 568 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()
|
D | X86ISelLowering.cpp | 30418 MachineFunction::iterator MBBIter = ++MBB->getIterator(); in EmitVAARG64WithCustomInserter() local 30421 MF->insert(MBBIter, offsetMBB); in EmitVAARG64WithCustomInserter() 30422 MF->insert(MBBIter, overflowMBB); in EmitVAARG64WithCustomInserter() 30423 MF->insert(MBBIter, endMBB); in EmitVAARG64WithCustomInserter() 30586 MachineFunction::iterator MBBIter = ++MBB->getIterator(); in EmitVAStartSaveXMMRegsWithCustomInserter() local 30589 F->insert(MBBIter, XMMSaveMBB); in EmitVAStartSaveXMMRegsWithCustomInserter() 30590 F->insert(MBBIter, EndMBB); in EmitVAStartSaveXMMRegsWithCustomInserter() 31119 MachineFunction::iterator MBBIter = ++BB->getIterator(); in EmitLoweredSegAlloca() local 31121 MF->insert(MBBIter, bumpMBB); in EmitLoweredSegAlloca() 31122 MF->insert(MBBIter, mallocMBB); in EmitLoweredSegAlloca() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUMachineCFGStructurizer.cpp | 2527 auto MBBIter = ++(MBB->getIterator()); in split() local 2528 MF->insert(MBBIter, SuccMBB); in split()
|
/external/llvm-project/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 11831 MachineFunction::iterator MBBIter = ++MBB->getIterator(); in emitProbedAlloca() local 11832 MF->insert(MBBIter, TestMBB); in emitProbedAlloca() 11833 MF->insert(MBBIter, BlockMBB); in emitProbedAlloca() 11834 MF->insert(MBBIter, TailMBB); in emitProbedAlloca()
|