/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AVR/ |
H A D | AVRExpandPseudoInsts.cpp | 64 MachineInstrBuilder buildMI(Block &MBB, BlockIt MBBI, unsigned Opcode) { in buildMI() 68 MachineInstrBuilder buildMI(Block &MBB, BlockIt MBBI, unsigned Opcode, in buildMI() 73 MachineRegisterInfo &getRegInfo(Block &MBB) { return MBB.getParent()->getRegInfo(); } in getRegInfo() 99 bool AVRExpandPseudo::expandMBB(MachineBasicBlock &MBB) { in expandMBB() 142 expandArith(unsigned OpLo, unsigned OpHi, Block &MBB, BlockIt MBBI) { in expandArith() 175 expandLogic(unsigned Op, Block &MBB, BlockIt MBBI) { in expandLogic() 222 expandLogicImm(unsigned Op, Block &MBB, BlockIt MBBI) { in expandLogicImm() 259 bool AVRExpandPseudo::expand<AVR::ADDWRdRr>(Block &MBB, BlockIt MBBI) { in expand() 264 bool AVRExpandPseudo::expand<AVR::ADCWRdRr>(Block &MBB, BlockIt MBBI) { in expand() 269 bool AVRExpandPseudo::expand<AVR::SUBWRdRr>(Block &MBB, BlockIt MBBI) { in expand() [all …]
|
H A D | AVRRelaxMemOperations.cpp | 53 MachineInstrBuilder buildMI(Block &MBB, BlockIt MBBI, unsigned Opcode) { in buildMI() 74 bool AVRRelaxMem::runOnBasicBlock(Block &MBB) { in runOnBasicBlock() 88 bool AVRRelaxMem::relax<AVR::STDWPtrQRr>(Block &MBB, BlockIt MBBI) { in relax() 124 bool AVRRelaxMem::runOnInstruction(Block &MBB, BlockIt MBBI) { in runOnInstruction()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/ |
H A D | RISCVExpandPseudoInsts.cpp | 74 for (auto &MBB : MF) in runOnMachineFunction() local 79 bool RISCVExpandPseudo::expandMBB(MachineBasicBlock &MBB) { in expandMBB() 92 bool RISCVExpandPseudo::expandMI(MachineBasicBlock &MBB, in expandMI() 158 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, in expandAuipcInstPair() 199 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, in expandLoadLocalAddress() 206 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, in expandLoadAddress() 224 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, in expandLoadTLSIEAddress() 235 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, in expandLoadTLSGDAddress() 241 bool RISCVExpandPseudo::expandVSetVL(MachineBasicBlock &MBB, in expandVSetVL() 269 bool RISCVExpandPseudo::expandVMSET_VMCLR(MachineBasicBlock &MBB, in expandVMSET_VMCLR() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyLateEHPrepare.cpp | 74 MachineBasicBlock *MBB = WL.pop_back_val(); in getMatchingEHPad() local 100 MachineBasicBlock *MBB = WL.pop_back_val(); in eraseDeadBBsAndChildren() local 141 for (auto &MBB : MF) in removeUnreachableEHPads() local 153 for (auto &MBB : MF) { in recordCatchRetBBs() local 178 for (auto &MBB : MF) in hoistCatches() local 205 for (auto &MBB : MF) { in addCatchAlls() local 231 for (auto &MBB : MF) { in replaceFuncletReturns() local 266 for (auto &MBB : MF) { in removeUnnecessaryUnreachables() local 299 for (auto &MBB : MF) { in restoreStackPointer() local
|
H A D | WebAssemblyExceptionInfo.h | 67 bool contains(const MachineBasicBlock *MBB) const { in contains() 71 void addToBlocksSet(MachineBasicBlock *MBB) { BlockSet.insert(MBB); } in addToBlocksSet() 72 void removeFromBlocksSet(MachineBasicBlock *MBB) { BlockSet.erase(MBB); } in removeFromBlocksSet() 73 void addToBlocksVector(MachineBasicBlock *MBB) { Blocks.push_back(MBB); } in addToBlocksVector() 74 void addBlock(MachineBasicBlock *MBB) { in addBlock() 153 WebAssemblyException *getExceptionFor(const MachineBasicBlock *MBB) const { in getExceptionFor() 157 void changeExceptionFor(const MachineBasicBlock *MBB, in changeExceptionFor()
|
H A D | WebAssemblyCFGStackify.cpp | 164 MachineBasicBlock *MBB) { in explicitlyBranchesTo() 179 getEarliestInsertPos(MachineBasicBlock *MBB, const Container &BeforeSet, in getEarliestInsertPos() 203 getLatestInsertPos(MachineBasicBlock *MBB, const Container &BeforeSet, in getLatestInsertPos() 252 void WebAssemblyCFGStackify::placeBlockMarker(MachineBasicBlock &MBB) { in placeBlockMarker() 398 void WebAssemblyCFGStackify::placeLoopMarker(MachineBasicBlock &MBB) { in placeLoopMarker() 465 void WebAssemblyCFGStackify::placeTryMarker(MachineBasicBlock &MBB) { in placeTryMarker() 701 for (auto &MBB : MF) { in removeUnnecessaryInstrs() local 755 for (auto &MBB : MF) { in removeUnnecessaryInstrs() local 805 static void unstackifyVRegsUsedInSplitBB(MachineBasicBlock &MBB, in unstackifyVRegsUsedInSplitBB() 1117 for (auto &MBB : reverse(MF)) { in fixCallUnwindMismatches() local [all …]
|
H A D | WebAssemblyFixBrTableDefaults.cpp | 50 void fixBrTableIndex(MachineInstr &MI, MachineBasicBlock *MBB, in fixBrTableIndex() 87 MachineBasicBlock *fixBrTableDefault(MachineInstr &MI, MachineBasicBlock *MBB, in fixBrTableDefault() 158 for (auto &MBB : MF) in runOnMachineFunction() local 162 MachineBasicBlock *MBB = *MBBSet.begin(); in runOnMachineFunction() local
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/ |
H A D | AArch64SpeculationHardening.cpp | 187 MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, in endsWithCondControlFlow() 218 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, in insertFullSpeculationBarrier() 241 MachineBasicBlock &MBB, bool &UsesFullSpeculationBarrier) { in instrumentControlFlow() 359 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI) const { in insertSPToRegTaintPropagation() 383 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, in insertRegToSPTaintPropagation() 431 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, MachineInstr &MI, in makeGPRSpeculationSafe() 459 bool AArch64SpeculationHardening::slhLoads(MachineBasicBlock &MBB) { in slhLoads() 548 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, in expandSpeculationSafeValue() 589 bool AArch64SpeculationHardening::insertCSDB(MachineBasicBlock &MBB, in insertCSDB() 602 MachineBasicBlock &MBB, bool UsesFullSpeculationBarrier) { in lowerSpeculationSafeValuePseudos() [all …]
|
H A D | AArch64A53Fix835769.cpp | 122 for (auto &MBB : F) { in runOnMachineFunction() local 130 static MachineBasicBlock *getBBFallenThrough(MachineBasicBlock *MBB, in getBBFallenThrough() 155 static MachineInstr *getLastNonPseudo(MachineBasicBlock &MBB, in getLastNonPseudo() 171 static void insertNopBeforeInstruction(MachineBasicBlock &MBB, MachineInstr* MI, in insertNopBeforeInstruction() 190 AArch64A53Fix835769::runOnBasicBlock(MachineBasicBlock &MBB) { in runOnBasicBlock()
|
H A D | AArch64LowerHomogeneousPrologEpilog.cpp | 189 MachineBasicBlock *MBB = MF.CreateMachineBasicBlock(); in createFrameHelperMachineFunction() local 196 static void emitStore(MachineFunction &MF, MachineBasicBlock &MBB, in emitStore() 219 static void emitLoad(MachineFunction &MF, MachineBasicBlock &MBB, in emitLoad() 282 MachineBasicBlock &MBB = *MF.begin(); in getOrCreateFrameHelper() local 354 static bool shouldUseFrameHelper(MachineBasicBlock &MBB, in shouldUseFrameHelper() 428 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, in lowerEpilog() 502 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, in lowerProlog() 573 bool AArch64LowerHomogeneousPE::runOnMI(MachineBasicBlock &MBB, in runOnMI() 589 bool AArch64LowerHomogeneousPE::runOnMBB(MachineBasicBlock &MBB) { in runOnMBB() 606 for (auto &MBB : MF) in runOnMachineFunction() local
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
H A D | AMDILCFGStructurizer.cpp | 405 MachineBasicBlock::iterator I, MachineBasicBlock &MBB) { in reversePredicateSetter() 431 void AMDGPUCFGStructurizer::insertInstrEnd(MachineBasicBlock *MBB, in insertInstrEnd() 440 MachineInstr *AMDGPUCFGStructurizer::insertInstrBefore(MachineBasicBlock *MBB, in insertInstrBefore() 456 MachineBasicBlock *MBB = OldMI->getParent(); in insertInstrBefore() local 468 MachineBasicBlock *MBB = OldMI->getParent(); in insertCondBranchBefore() local 534 MachineBasicBlock *MBB) { in setTrueBranch() 539 AMDGPUCFGStructurizer::getFalseBranch(MachineBasicBlock *MBB, in getFalseBranch() 571 DebugLoc AMDGPUCFGStructurizer::getLastDebugLocInBB(MachineBasicBlock *MBB) { in getLastDebugLocInBB() 584 MachineBasicBlock *MBB) { in getNormalBlockBranchInstr() 593 MachineBasicBlock *MBB) { in getLoopendBlockBranchInstr() [all …]
|
H A D | SILowerControlFlow.cpp | 117 skipToUncondBrOrEnd(MachineBasicBlock &MBB, in skipToUncondBrOrEnd() 173 MachineBasicBlock *MBB = Worklist.pop_back_val(); in hasKill() local 199 MachineBasicBlock &MBB = *MI.getParent(); in emitIf() local 294 MachineBasicBlock &MBB = *MI.getParent(); in emitElse() local 356 MachineBasicBlock &MBB = *MI.getParent(); in emitIfBreak() local 400 MachineBasicBlock &MBB = *MI.getParent(); in emitLoop() local 423 MachineBasicBlock &MBB, MachineBasicBlock::iterator It) const { in skipIgnoreExecInstsTrivialSucc() 452 MachineBasicBlock &MBB = *MI.getParent(); in emitEndCf() local 557 MachineBasicBlock &MBB = *MI->getParent(); in optimizeEndCf() local 580 MachineBasicBlock &MBB = *MI.getParent(); in process() local [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/ |
H A D | MVETailPredUtils.h | 86 MachineBasicBlock *MBB = MI->getParent(); variable 120 MachineBasicBlock *MBB = MI->getParent(); in RevertDoLoopStart() local 131 MachineBasicBlock *MBB = MI->getParent(); variable 153 MachineBasicBlock *MBB = MI->getParent(); variable
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
H A D | ReachingDefAnalysis.cpp | 45 void ReachingDefAnalysis::enterBasicBlock(MachineBasicBlock *MBB) { in enterBasicBlock() 97 void ReachingDefAnalysis::leaveBasicBlock(MachineBasicBlock *MBB) { in leaveBasicBlock() 142 void ReachingDefAnalysis::reprocessBasicBlock(MachineBasicBlock *MBB) { in reprocessBasicBlock() 189 MachineBasicBlock *MBB = TraversedMBB.MBB; in processBasicBlock() local 295 MachineInstr *ReachingDefAnalysis::getInstFromId(MachineBasicBlock *MBB, in getInstFromId() 328 MachineBasicBlock *MBB = Def->getParent(); in getReachingLocalUses() local 350 bool ReachingDefAnalysis::getLiveInUses(MachineBasicBlock *MBB, in getLiveInUses() 371 MachineBasicBlock *MBB = MI->getParent(); in getGlobalUses() local 384 MachineBasicBlock *MBB = ToVisit.back(); in getGlobalUses() local 403 for (auto *MBB : MI->getParent()->predecessors()) in getGlobalReachingDefs() local [all …]
|
H A D | LivePhysRegs.cpp | 153 void LivePhysRegs::addBlockLiveIns(const MachineBasicBlock &MBB) { in addBlockLiveIns() 207 void LivePhysRegs::addLiveOutsNoPristines(const MachineBasicBlock &MBB) { in addLiveOutsNoPristines() 230 void LivePhysRegs::addLiveOuts(const MachineBasicBlock &MBB) { in addLiveOuts() 236 void LivePhysRegs::addLiveIns(const MachineBasicBlock &MBB) { in addLiveIns() 243 const MachineBasicBlock &MBB) { in computeLiveIns() 253 void llvm::addLiveIns(MachineBasicBlock &MBB, const LivePhysRegs &LiveRegs) { in addLiveIns() 275 void llvm::recomputeLivenessFlags(MachineBasicBlock &MBB) { in recomputeLivenessFlags() 336 MachineBasicBlock &MBB) { in computeAndAddLiveIns()
|
H A D | BranchRelaxation.cpp | 176 const MachineBasicBlock *MBB = MI.getParent(); in getInstrOffset() local 194 for (auto &MBB : in adjustBlockOffsets() local 297 MachineBasicBlock *MBB = MI.getParent(); in fixupConditionalBranch() local 309 auto insertBranch = [&](MachineBasicBlock *MBB, MachineBasicBlock *TBB, in fixupConditionalBranch() 317 auto removeBranch = [&](MachineBasicBlock *MBB) { in fixupConditionalBranch() 325 MachineBasicBlock *NewBB) { in fixupConditionalBranch() 434 MachineBasicBlock *MBB = MI.getParent(); in fixupUnconditionalBranch() local 479 MachineBasicBlock &MBB = *I; in relaxBranchInstructions() local
|
H A D | BranchFolding.cpp | 154 void BranchFolder::RemoveDeadBlock(MachineBasicBlock *MBB) { in RemoveDeadBlock() 288 static unsigned HashEndOfMBB(const MachineBasicBlock &MBB) { in HashEndOfMBB() 306 MachineBasicBlock *MBB) { in skipBackwardPastNonInstructions() 496 static unsigned CountTerminators(MachineBasicBlock *MBB, in CountTerminators() 515 static bool blockEndsInUnreachable(const MachineBasicBlock *MBB) { in blockEndsInUnreachable() 613 auto BothFallThrough = [](MachineBasicBlock *MBB) { in ProfitableToMerge() 732 MachineBasicBlock *MBB = SameTails[commonTailIndex].getBlock(); in CreateCommonTailOnlyBlock() local 761 MachineBasicBlock *MBB = MBBIStartPos->getParent(); in mergeOperations() local 809 MachineBasicBlock *MBB = SameTails[commonTailIndex].getBlock(); in mergeCommonTails() local 942 MachineBasicBlock *MBB = SameTails[i].getBlock(); in TryTailMergeBlocks() local [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/ |
H A D | Mips16InstrInfo.cpp | 69 void Mips16InstrInfo::copyPhysReg(MachineBasicBlock &MBB, in copyPhysReg() 106 void Mips16InstrInfo::storeRegToStack(MachineBasicBlock &MBB, in storeRegToStack() 124 void Mips16InstrInfo::loadRegFromStack(MachineBasicBlock &MBB, in loadRegFromStack() 143 MachineBasicBlock &MBB = *MI.getParent(); in expandPostRAPseudo() local 211 MachineBasicBlock &MBB, in makeFrame() 241 MachineBasicBlock &MBB, in restoreFrame() 276 MachineBasicBlock &MBB, in adjustStackPtrBig() 300 unsigned SP, int64_t Amount, MachineBasicBlock &MBB, in adjustStackPtrBigUnrestricted() 307 MachineBasicBlock &MBB, in adjustStackPtr() 321 MachineBasicBlock &MBB, in loadImmediate() [all …]
|
H A D | MipsSEInstrInfo.cpp | 83 void MipsSEInstrInfo::copyPhysReg(MachineBasicBlock &MBB, in copyPhysReg() 245 storeRegToStack(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, in storeRegToStack() 319 loadRegFromStack(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, in loadRegFromStack() 404 MachineBasicBlock &MBB = *MI.getParent(); in expandPostRAPseudo() local 590 MachineBasicBlock &MBB, in adjustStackPtr() 617 unsigned MipsSEInstrInfo::loadImmediate(int64_t Imm, MachineBasicBlock &MBB, in loadImmediate() 686 void MipsSEInstrInfo::expandRetRA(MachineBasicBlock &MBB, in expandRetRA() 704 void MipsSEInstrInfo::expandERet(MachineBasicBlock &MBB, in expandERet() 721 void MipsSEInstrInfo::expandPseudoMFHiLo(MachineBasicBlock &MBB, in expandPseudoMFHiLo() 727 void MipsSEInstrInfo::expandPseudoMTLoHi(MachineBasicBlock &MBB, in expandPseudoMTLoHi() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/MSP430/ |
H A D | MSP430InstrInfo.cpp | 36 void MSP430InstrInfo::storeRegToStackSlot(MachineBasicBlock &MBB, in storeRegToStackSlot() 63 void MSP430InstrInfo::loadRegFromStackSlot(MachineBasicBlock &MBB, in loadRegFromStackSlot() 90 void MSP430InstrInfo::copyPhysReg(MachineBasicBlock &MBB, in copyPhysReg() 106 unsigned MSP430InstrInfo::removeBranch(MachineBasicBlock &MBB, in removeBranch() 163 bool MSP430InstrInfo::analyzeBranch(MachineBasicBlock &MBB, in analyzeBranch() 253 unsigned MSP430InstrInfo::insertBranch(MachineBasicBlock &MBB, in insertBranch()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/BPF/ |
H A D | BPFInstrInfo.cpp | 31 void BPFInstrInfo::copyPhysReg(MachineBasicBlock &MBB, in copyPhysReg() 124 void BPFInstrInfo::storeRegToStackSlot(MachineBasicBlock &MBB, in storeRegToStackSlot() 147 void BPFInstrInfo::loadRegFromStackSlot(MachineBasicBlock &MBB, in loadRegFromStackSlot() 164 bool BPFInstrInfo::analyzeBranch(MachineBasicBlock &MBB, in analyzeBranch() 219 unsigned BPFInstrInfo::insertBranch(MachineBasicBlock &MBB, in insertBranch() 240 unsigned BPFInstrInfo::removeBranch(MachineBasicBlock &MBB, in removeBranch()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/ |
H A D | NVPTXInstrInfo.cpp | 32 void NVPTXInstrInfo::copyPhysReg(MachineBasicBlock &MBB, in copyPhysReg() 95 bool NVPTXInstrInfo::analyzeBranch(MachineBasicBlock &MBB, in analyzeBranch() 154 unsigned NVPTXInstrInfo::removeBranch(MachineBasicBlock &MBB, in removeBranch() 180 unsigned NVPTXInstrInfo::insertBranch(MachineBasicBlock &MBB, in insertBranch()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/ |
H A D | SystemZPostRewrite.cpp | 84 void SystemZPostRewrite::selectLOCRMux(MachineBasicBlock &MBB, in selectLOCRMux() 105 void SystemZPostRewrite::selectSELRMux(MachineBasicBlock &MBB, in selectSELRMux() 157 bool SystemZPostRewrite::expandCondMove(MachineBasicBlock &MBB, in expandCondMove() 212 bool SystemZPostRewrite::selectMI(MachineBasicBlock &MBB, in selectMI() 250 bool SystemZPostRewrite::selectMBB(MachineBasicBlock &MBB) { in selectMBB() 267 for (auto &MBB : MF) in runOnMachineFunction() local
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
H A D | AsmPrinterHandler.h | 60 virtual void beginFragment(const MachineBasicBlock *MBB, in beginFragment() 76 virtual void beginBasicBlock(const MachineBasicBlock &MBB) {} in beginBasicBlock() 79 virtual void endBasicBlock(const MachineBasicBlock &MBB) {} in endBasicBlock()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DwarfCFIException.cpp | 84 const MachineBasicBlock *MBB) { in getExceptionSym() 133 void DwarfCFIException::beginFragment(const MachineBasicBlock *MBB, in beginFragment() 184 void DwarfCFIException::beginBasicBlock(const MachineBasicBlock &MBB) { in beginBasicBlock() 188 void DwarfCFIException::endBasicBlock(const MachineBasicBlock &MBB) { in endBasicBlock()
|