HomeSort by relevance Sort by last modified time
    Searched defs:MBB (Results 126 - 150 of 356) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/llvm/lib/Target/AArch64/
AArch64BranchRelaxation.cpp 92 void adjustBlockOffsets(MachineBasicBlock &MBB);
95 void computeBlockSize(const MachineBasicBlock &MBB);
122 for (MachineBasicBlock &MBB : *MF) {
123 unsigned Align = MBB.getAlignment();
124 unsigned Num = MBB.getNumber();
134 for (auto &MBB : *MF) {
135 const BasicBlockInfo &BBI = BlockInfo[MBB.getNumber()];
136 dbgs() << format("BB#%u\toffset=%08x\t", MBB.getNumber(), BBI.Offset)
143 static bool BBHasFallthrough(MachineBasicBlock *MBB) {
145 MachineFunction::iterator MBBI(MBB);
    [all...]
AArch64ConditionOptimizer.cpp 100 MachineInstr *findSuitableCompare(MachineBasicBlock *MBB);
138 MachineBasicBlock *MBB) {
139 MachineBasicBlock::iterator I = MBB->getFirstTerminator();
140 if (I == MBB->end())
146 // Since we may modify cmp of this MBB, make sure NZCV does not live out.
147 for (auto SuccBB : MBB->successors())
152 for (MachineBasicBlock::iterator B = MBB->begin(); I != B;) {
201 DEBUG(dbgs() << "Flags not defined in BB#" << MBB->getNumber() << '\n');
266 MachineBasicBlock *const MBB = CmpMI->getParent();
269 BuildMI(*MBB, CmpMI, CmpMI->getDebugLoc(), TII->get(Opc)
    [all...]
AArch64RegisterInfo.cpp 324 void AArch64RegisterInfo::materializeFrameBaseRegister(MachineBasicBlock *MBB,
328 MachineBasicBlock::iterator Ins = MBB->begin();
330 if (Ins != MBB->end())
332 const MachineFunction &MF = *MBB->getParent();
336 MachineRegisterInfo &MRI = MBB->getParent()->getRegInfo();
340 BuildMI(*MBB, Ins, DL, MCID, BaseReg)
369 MachineBasicBlock &MBB = *MI.getParent();
370 MachineFunction &MF = *MBB.getParent();
403 emitFrameOffset(MBB, II, MI.getDebugLoc(), ScratchReg, FrameReg, Offset, TII);
  /external/llvm/lib/Target/AMDGPU/
R600OptimizeVectorRegisters.cpp 184 MachineBasicBlock &MBB = *Pos->getParent();
197 MachineInstr *Tmp = BuildMI(MBB, Pos, DL, TII->get(AMDGPU::INSERT_SUBREG),
215 BuildMI(MBB, Pos, DL, TII->get(AMDGPU::COPY), Reg).addReg(SrcVec);
325 for (MachineFunction::iterator MBB = Fn.begin(), MBBe = Fn.end();
326 MBB != MBBe; ++MBB) {
327 MachineBasicBlock *MB = &*MBB;
SIFoldOperands.cpp 308 MachineBasicBlock &MBB = *BI;
310 for (I = MBB.begin(); I != MBB.end(); I = Next) {
SILoadStoreOptimizer.cpp 93 bool optimizeBlock(MachineBasicBlock &MBB);
196 MachineBasicBlock *MBB = I->getParent();
235 = BuildMI(*MBB, I, DL, Read2Desc, DestReg)
249 MachineInstr *Copy0 = BuildMI(*MBB, I, DL, CopyDesc)
252 MachineInstr *Copy1 = BuildMI(*MBB, I, DL, CopyDesc)
291 MachineBasicBlock *MBB = I->getParent();
334 = BuildMI(*MBB, I, DL, Write2Desc)
353 LIS->repairIntervalsInRange(MBB, Write2, Write2, OrigRegs);
367 bool SILoadStoreOptimizer::optimizeBlock(MachineBasicBlock &MBB) {
370 for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end(); I != E;)
    [all...]
SIShrinkInstructions.cpp 211 MachineBasicBlock &MBB = *BI;
213 for (I = MBB.begin(); I != MBB.end(); I = Next) {
249 Next != MBB.end() &&
365 BuildMI(MBB, I, MI.getDebugLoc(), TII->get(Op32));
SIWholeQuadMode.cpp 84 MachineBasicBlock *MBB = nullptr;
88 WorkItem(MachineBasicBlock *MBB) : MBB(MBB) {}
105 void propagateBlock(MachineBasicBlock &MBB, std::vector<WorkItem> &Worklist);
108 void toExact(MachineBasicBlock &MBB, MachineBasicBlock::iterator Before,
110 void toWQM(MachineBasicBlock &MBB, MachineBasicBlock::iterator Before,
112 void processBlock(MachineBasicBlock &MBB, unsigned LiveMaskReg, bool isEntry);
155 MachineBasicBlock &MBB = *BI;
157 for (auto II = MBB.begin(), IE = MBB.end(); II != IE; ++II)
    [all...]
  /external/llvm/lib/Target/ARM/
ARMConstantPoolValue.h 222 const MachineBasicBlock *MBB; // Machine basic block.
224 ARMConstantPoolMBB(LLVMContext &C, const MachineBasicBlock *mbb, unsigned id,
230 const MachineBasicBlock *mbb,
233 const MachineBasicBlock *getMBB() const { return MBB; }
251 return MBB == A->MBB && ARMConstantPoolValue::equals(A);
Thumb2ITBlockPass.cpp 53 bool InsertITInstructions(MachineBasicBlock &MBB);
180 bool Thumb2ITBlockPass::InsertITInstructions(MachineBasicBlock &MBB) {
185 MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end();
201 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, dl, TII->get(ARM::t2IT))
241 MBB.remove(NMI);
242 MBB.insert(InsertPos, NMI);
264 finalizeBundle(MBB, InsertPos.getInstrIterator(),
289 MachineBasicBlock &MBB = *MFI;
291 Modified |= InsertITInstructions(MBB);
    [all...]
  /external/llvm/lib/Target/Hexagon/
HexagonAsmPrinter.cpp 118 isBlockOnlyReachableByFallthrough(const MachineBasicBlock *MBB) const {
119 if (MBB->hasAddressTaken())
121 return AsmPrinter::isBlockOnlyReachableByFallthrough(MBB);
590 const MachineBasicBlock* MBB = MI->getParent();
594 for (++MII; MII != MBB->instr_end() && MII->isInsideBundle(); ++MII)
HexagonNewValueJump.cpp 417 MachineBasicBlock *MBB = &*MBBb;
420 << MBB->getNumber() << "\n");
421 DEBUG(MBB->dump());
439 for (MachineBasicBlock::iterator MII = MBB->end(), E = MBB->begin();
472 //if(LVs.isLiveOut(predReg, *MBB)) break;
480 for (MachineBasicBlock::const_succ_iterator SI = MBB->succ_begin(),
481 SIE = MBB->succ_end(); SI != SIE; ++SI) {
630 MBB->splice(jmpPos, MI.getParent(), MI);
631 MBB->splice(jmpPos, MI.getParent(), cmpInstr)
    [all...]
  /external/llvm/lib/Target/Lanai/
LanaiInstrInfo.cpp 35 void LanaiInstrInfo::copyPhysReg(MachineBasicBlock &MBB,
45 BuildMI(MBB, Position, DL, get(Lanai::OR_I_LO), DestinationRegister)
51 MachineBasicBlock &MBB, MachineBasicBlock::iterator Position,
56 if (Position != MBB.end()) {
63 BuildMI(MBB, Position, DL, get(Lanai::SW_RI))
71 MachineBasicBlock &MBB, MachineBasicBlock::iterator Position,
76 if (Position != MBB.end()) {
83 BuildMI(MBB, Position, DL, get(Lanai::LDW_RI), DestinationRegister)
422 MachineBasicBlock *MBB = CmpInstr.getParent();
423 for (MachineBasicBlock::succ_iterator SI = MBB->succ_begin()
    [all...]
  /external/llvm/lib/Target/Mips/
Mips16InstrInfo.cpp 59 void Mips16InstrInfo::copyPhysReg(MachineBasicBlock &MBB,
82 MachineInstrBuilder MIB = BuildMI(MBB, I, DL, get(Opc));
91 void Mips16InstrInfo::storeRegToStack(MachineBasicBlock &MBB,
98 if (I != MBB.end()) DL = I->getDebugLoc();
99 MachineMemOperand *MMO = GetMemOperand(MBB, FI, MachineMemOperand::MOStore);
104 BuildMI(MBB, I, DL, get(Opc)).addReg(SrcReg, getKillRegState(isKill)).
109 void Mips16InstrInfo::loadRegFromStack(MachineBasicBlock &MBB,
116 if (I != MBB.end()) DL = I->getDebugLoc();
117 MachineMemOperand *MMO = GetMemOperand(MBB, FI, MachineMemOperand::MOLoad);
123 BuildMI(MBB, I, DL, get(Opc), DestReg).addFrameIndex(FI).addImm(Offset
    [all...]
MipsLongBranch.cpp 81 void splitMBB(MachineBasicBlock *MBB);
84 void replaceBranch(MachineBasicBlock &MBB, Iter Br, const DebugLoc &DL,
115 llvm_unreachable("This instruction does not have an MBB operand.");
128 // Split MBB if it has two direct jumps/branches.
129 void MipsLongBranch::splitMBB(MachineBasicBlock *MBB) {
130 ReverseIter End = MBB->rend();
131 ReverseIter LastBr = getNonDebugInstr(MBB->rbegin(), End);
133 // Return if MBB has no branch instructions.
140 // MBB has only one branch instruction if FirstBr is not a branch
148 // Create a new MBB. Move instructions in MBB to the newly created MBB
    [all...]
MipsOptimizePICCall.cpp 74 /// \brief Visit MBB.
130 static void setCallTargetReg(MachineBasicBlock *MBB,
132 MachineFunction &MF = *MBB->getParent();
136 BuildMI(*MBB, I, I->getDebugLoc(), TII.get(TargetOpcode::COPY), DstReg)
189 // If this MBB has already been visited, destroy the scope for the MBB and
197 // Visit the MBB and add its children to the work list.
210 MachineBasicBlock *MBB = MBBI.getNode()->getBlock();
212 for (MachineBasicBlock::iterator I = MBB->begin(), E = MBB->end(); I != E
    [all...]
  /external/llvm/lib/Target/PowerPC/
PPCCTRLoops.cpp 636 static bool verifyCTRBranch(MachineBasicBlock *MBB,
643 if (I == MBB->begin()) {
644 Visited.insert(MBB);
650 Visited.insert(MBB);
651 if (I == MBB->end())
655 for (MachineBasicBlock::iterator IE = MBB->begin();; --I) {
663 DEBUG(dbgs() << "BB#" << MBB->getNumber() << " (" <<
664 MBB->getFullName() << ") instruction " << *I <<
681 if (MachineFunction::iterator(MBB) == MBB->getParent()->begin())
    [all...]
  /external/llvm/lib/Target/Sparc/
LeonPasses.cpp 85 MachineBasicBlock &MBB = *MFI;
86 for (auto MBBI = MBB.begin(), E = MBB.end(); MBBI != E; ++MBBI) {
91 BuildMI(MBB, NMBBI, DL, TII.get(SP::NOP));
99 BuildMI(MBB, NMBBI, DL, TII.get(SP::NOP));
135 MachineBasicBlock &MBB = *MFI;
136 for (auto MBBI = MBB.begin(), E = MBB.end(); MBBI != E; ++MBBI) {
194 BuildMI(MBB, MBBI, DL, TII.get(SP::FSTOD))
199 BuildMI(MBB, MBBI, DL, TII.get(SP::FSTOD)
    [all...]
  /external/llvm/lib/Target/SystemZ/
SystemZElimCompare.cpp 65 bool processBlock(MachineBasicBlock &MBB);
95 // Return true if CC is live out of MBB.
96 static bool isCCLiveOut(MachineBasicBlock &MBB) {
97 for (auto SI = MBB.succ_begin(), SE = MBB.succ_end(); SI != SE; ++SI)
341 MachineBasicBlock &MBB = *Compare.getParent();
342 MachineBasicBlock::iterator MBBI = Compare, MBBE = MBB.begin();
466 // Process all comparison instructions in MBB. Return true if something
468 bool SystemZElimCompare::processBlock(MachineBasicBlock &MBB) {
474 bool CompleteCCUsers = !isCCLiveOut(MBB);
    [all...]
SystemZLongBranch.cpp 276 MachineBasicBlock *MBB = MF->getBlockNumbered(I);
280 Block.Alignment = MBB->getAlignment();
283 MachineBasicBlock::iterator MI = MBB->begin();
284 MachineBasicBlock::iterator End = MBB->end();
352 MachineBasicBlock *MBB = MI->getParent();
354 BuildMI(*MBB, MI, DL, TII->get(AddOpcode))
358 MachineInstr *BRCL = BuildMI(*MBB, MI, DL, TII->get(SystemZ::BRCL))
371 MachineBasicBlock *MBB = MI->getParent();
373 BuildMI(*MBB, MI, DL, TII->get(CompareOpcode))
376 MachineInstr *BRCL = BuildMI(*MBB, MI, DL, TII->get(SystemZ::BRCL)
    [all...]
  /external/llvm/lib/Target/WebAssembly/
WebAssemblyFixIrreducibleControlFlow.cpp 88 explicit MetaBlock(MachineBasicBlock *MBB)
89 : Block(MBB), Preds(MBB->pred_begin(), MBB->pred_end()),
90 Succs(MBB->succ_begin(), MBB->succ_end()) {}
108 bool operator==(const MetaBlock &MBB) { return Block == MBB.Block; }
109 bool operator!=(const MetaBlock &MBB) { return Block != MBB.Block;
    [all...]
  /external/llvm/lib/Target/X86/
X86CallFrameOptimization.cpp 88 void collectCallInfo(MachineFunction &MF, MachineBasicBlock &MBB,
98 InstClassification classifyInstruction(MachineBasicBlock &MBB,
237 for (auto &MBB : MF)
238 for (auto &MI : MBB)
241 collectCallInfo(MF, MBB, MI, Context);
260 MachineBasicBlock &MBB, MachineBasicBlock::iterator MI,
262 if (MI == MBB.end())
318 MachineBasicBlock &MBB,
369 while ((Classification = classifyInstruction(MBB, I, RegInfo, UsedRegs)) !=
424 if (I == MBB.end() || !I->isCall()
    [all...]
X86OptimizeLEAs.cpp 262 void findLEAs(const MachineBasicBlock &MBB, MemOpMap &LEAs);
444 void OptimizeLEAPass::findLEAs(const MachineBasicBlock &MBB, MemOpMap &LEAs) {
446 for (auto &MI : MBB) {
466 MachineBasicBlock *MBB = (*LEAs.begin()->second.begin())->getParent();
469 for (auto I = MBB->begin(), E = MBB->end(); I != E;) {
502 MBB->insert(MachineBasicBlock::iterator(&MI), DefMI);
507 MachineBasicBlock::iterator(DefMI) == MBB->begin()) ||
626 for (auto &MBB : MF) {
631 findLEAs(MBB, LEAs)
    [all...]
X86VZeroUpper.cpp 49 void processBasicBlock(MachineBasicBlock &MBB);
51 MachineBasicBlock &MBB);
52 void addDirtySuccessor(MachineBasicBlock &MBB);
160 MachineBasicBlock &MBB) {
162 BuildMI(MBB, I, dl, TII->get(X86::VZEROUPPER));
167 /// Add MBB to the DirtySuccessors list if it hasn't already been added.
168 void VZeroUpperInserter::addDirtySuccessor(MachineBasicBlock &MBB) {
169 if (!BlockStates[MBB.getNumber()].AddedToDirtySuccessors) {
170 DirtySuccessors.push_back(&MBB);
171 BlockStates[MBB.getNumber()].AddedToDirtySuccessors = true
    [all...]
  /external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
MachineRelocation.h 60 MachineBasicBlock *MBB; // If this is a pointer to a LLVM BB
122 MachineBasicBlock *MBB, intptr_t cst = 0) {
132 Result.Target.MBB = MBB;
288 return Target.MBB;

Completed in 1082 milliseconds

1 2 3 4 56 7 8 91011>>