Home
last modified time | relevance | path

Searched refs:FirstInstr (Results 1 – 7 of 7) sorted by relevance

/llvm-project/llvm/lib/CodeGen/
H A DPseudoProbeInserter.cpp56 MachineInstr *FirstInstr = nullptr; in runOnMachineFunction() local
59 FirstInstr = &MI; in runOnMachineFunction()
90 if (FirstInstr) { in runOnMachineFunction()
103 MBB.insert(FirstInstr, ProbeInstr); in runOnMachineFunction()
H A DSplitKit.cpp232 BI.FirstInstr = *UseI; in calcLiveBlockInfo()
233 assert(BI.FirstInstr >= Start); in calcLiveBlockInfo()
245 assert(LVI->start == BI.FirstInstr && "First instr should be a def"); in calcLiveBlockInfo()
246 BI.FirstDef = BI.FirstInstr; in calcLiveBlockInfo()
272 BI.FirstInstr = BI.FirstDef = LVI->start; in calcLiveBlockInfo()
1599 MachineInstr *MI = LIS.getInstructionFromIndex(BI.FirstInstr); in shouldSplitSingleBlock()
1604 return isOriginalEndpoint(BI.FirstInstr); in shouldSplitSingleBlock()
1610 SlotIndex SegStart = enterIntvBefore(std::min(BI.FirstInstr, in splitSingleBlock()
1742 << Stop << "), uses " << BI.FirstInstr << '-' in splitRegInBlock()
1835 << Stop << "), uses " << BI.FirstInstr << ' in splitRegOutBlock()
[all...]
H A DSplitKit.h123 SlotIndex FirstInstr; ///< First instr accessing current reg. member
132 return SlotIndex::isSameInstr(FirstInstr, LastInstr); in isOneInstr()
H A DRegAllocGreedy.cpp635 } else if (Intf.first() < BI.FirstInstr) { in addSplitConstraints()
645 SlotIndex::isEarlierInstr(BI.FirstInstr, in addSplitConstraints()
658 } else if (Intf.last() > BI.FirstInstr) { in addSplitConstraints()
1501 BI.LiveIn ? BI.FirstInstr.getBaseIndex() : BI.FirstInstr; in calcGapWeights()
1513 // We know that VirtReg is a continuous interval from FirstInstr to in calcGapWeights()
1584 // that the interval is continuous from FirstInstr to LastInstr. We should in tryLocalSplit()
/llvm-project/bolt/lib/Core/
H A DBinaryEmitter.cpp161 /// \p FirstInstr indicates if \p NewLoc represents the first instruction
174 bool FirstInstr, MCSymbol *&InstrLabel);
458 bool FirstInstr = true; in emitFunctionBody()
489 FirstInstr, InstrLabel); in emitFunctionBody()
490 FirstInstr = false; in emitFunctionBody()
678 SMLoc PrevLoc, bool FirstInstr, in emitLineInfo()
721 if (FirstInstr) in emitLineInfoEnd()
431 bool FirstInstr = true; emitFunctionBody() local
651 emitLineInfo(const BinaryFunction & BF,SMLoc NewLoc,SMLoc PrevLoc,bool FirstInstr,MCSymbol * & InstrLabel) emitLineInfo() argument
/llvm-project/llvm/lib/Transforms/Scalar/
H A DNewGVN.cpp3399 int FirstInstr = TouchedInstructions.find_first(); in iterateTouchedInstructions()
3401 if (FirstInstr == -1) in iterateTouchedInstructions()
3403 const BasicBlock *LastBlock = getBlockForValue(InstrFromDFSNum(FirstInstr)); in iterateTouchedInstructions()
3366 int FirstInstr = TouchedInstructions.find_first(); iterateTouchedInstructions() local
/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp3652 BasicBlock::iterator FirstInstr = BBI->getParent()->begin(); in visitBranchInst()
3654 if (BBI != FirstInstr) in visitBranchInst()
3656 } while (BBI != FirstInstr && IsNoopInstrForStoreMerging(BBI)); in visitBranchInst()
3557 BasicBlock::iterator FirstInstr = BBI->getParent()->begin(); visitUnconditionalBranchInst() local