/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/ |
H A D | AVRExpandPseudoInsts.cpp | 56 MachineInstrBuilder buildMI(Block &MBB, BlockIt MBBI, unsigned Opcode) { in buildMI() 60 MachineInstrBuilder buildMI(Block &MBB, BlockIt MBBI, unsigned Opcode, in buildMI() 65 MachineRegisterInfo &getRegInfo(Block &MBB) { in getRegInfo() 110 bool AVRExpandPseudo::expandMBB(MachineBasicBlock &MBB) { in expandMBB() 150 bool AVRExpandPseudo::expandArith(unsigned OpLo, unsigned OpHi, Block &MBB, in expandArith() 184 bool AVRExpandPseudo::expandLogic(unsigned Op, Block &MBB, BlockIt MBBI) { in expandLogic() 244 bool AVRExpandPseudo::expandLogicImm(unsigned Op, Block &MBB, BlockIt MBBI) { in expandLogicImm() 289 bool AVRExpandPseudo::expand<AVR::ADDWRdRr>(Block &MBB, BlockIt MBBI) { in expand() 294 bool AVRExpandPseudo::expand<AVR::ADCWRdRr>(Block &MBB, BlockIt MBBI) { in expand() 299 bool AVRExpandPseudo::expand<AVR::SUBWRdRr>(Block &MBB, BlockIt MBBI) { in expand() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
H A D | LoongArchExpandPseudoInsts.cpp | 94 for (auto &MBB : MF) in runOnMachineFunction() local 99 bool LoongArchPreRAExpandPseudo::expandMBB(MachineBasicBlock &MBB) { in expandMBB() 113 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, in expandMI() 135 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, in expandPcalau12iInstPair() 163 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, in expandLoadAddressPcrel() 176 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, in expandLoadAddressGot() 189 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, in expandLoadAddressTLSLE() 237 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, in expandLoadAddressTLSIE() 250 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, in expandLoadAddressTLSLD() 263 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, in expandLoadAddressTLSGD() [all …]
|
H A D | LoongArchInstrInfo.cpp | 39 void LoongArchInstrInfo::copyPhysReg(MachineBasicBlock &MBB, in copyPhysReg() 111 MachineBasicBlock &MBB, MachineBasicBlock::iterator I, Register SrcReg, in storeRegToStackSlot() 146 void LoongArchInstrInfo::loadRegFromStackSlot(MachineBasicBlock &MBB, in loadRegFromStackSlot() 183 void LoongArchInstrInfo::movImm(MachineBasicBlock &MBB, in movImm() 267 bool LoongArchInstrInfo::analyzeBranch(MachineBasicBlock &MBB, in analyzeBranch() 350 unsigned LoongArchInstrInfo::removeBranch(MachineBasicBlock &MBB, in removeBranch() 384 MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, in insertBranch() 421 void LoongArchInstrInfo::insertIndirectBranch(MachineBasicBlock &MBB, in insertIndirectBranch()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVExpandPseudoInsts.cpp | 59 for (auto &MBB : MF) in getInstSizeInBytes() local 78 for (auto &MBB : MF) in runOnMachineFunction() local 88 bool RISCVExpandPseudo::expandMBB(MachineBasicBlock &MBB) { in expandMBB() 101 bool RISCVExpandPseudo::expandMI(MachineBasicBlock &MBB, in expandMI() 169 bool RISCVExpandPseudo::expandCCOp(MachineBasicBlock &MBB, in expandCCOp() 261 bool RISCVExpandPseudo::expandVSetVL(MachineBasicBlock &MBB, in expandVSetVL() 291 bool RISCVExpandPseudo::expandVMSET_VMCLR(MachineBasicBlock &MBB, in expandVMSET_VMCLR() 307 bool RISCVExpandPseudo::expandRV32ZdinxStore(MachineBasicBlock &MBB, in expandRV32ZdinxStore() 354 bool RISCVExpandPseudo::expandRV32ZdinxLoad(MachineBasicBlock &MBB, in expandRV32ZdinxLoad() 454 for (auto &MBB : MF) in getInstSizeInBytes() local [all …]
|
H A D | RISCVPostRAExpandPseudoInsts.cpp | 55 for (auto &MBB : MF) in runOnMachineFunction() local 60 bool RISCVPostRAExpandPseudo::expandMBB(MachineBasicBlock &MBB) { in expandMBB() 73 bool RISCVPostRAExpandPseudo::expandMI(MachineBasicBlock &MBB, in expandMI() 86 bool RISCVPostRAExpandPseudo::expandMovImm(MachineBasicBlock &MBB, in expandMovImm() 103 bool RISCVPostRAExpandPseudo::expandMovAddr(MachineBasicBlock &MBB, in expandMovAddr()
|
H A D | RISCVInsertWriteVXRM.cpp | 211 bool RISCVInsertWriteVXRM::computeVXRMChanges(const MachineBasicBlock &MBB) { in computeVXRMChanges() 240 void RISCVInsertWriteVXRM::computeAvailable(const MachineBasicBlock &MBB) { in computeAvailable() 282 void RISCVInsertWriteVXRM::computeAnticipated(const MachineBasicBlock &MBB) { in computeAnticipated() 326 void RISCVInsertWriteVXRM::emitWriteVXRM(MachineBasicBlock &MBB) { in emitWriteVXRM() 429 for (const MachineBasicBlock &MBB : MF) in runOnMachineFunction() local 438 for (const MachineBasicBlock &MBB : MF) { in runOnMachineFunction() local 443 const MachineBasicBlock &MBB = *WorkList.front(); in runOnMachineFunction() local 449 for (const MachineBasicBlock &MBB : llvm::reverse(MF)) { in runOnMachineFunction() local 454 const MachineBasicBlock &MBB = *WorkList.front(); in runOnMachineFunction() local
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyLateEHPrepare.cpp | 75 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 294 for (auto &MBB : MF) { in removeUnnecessaryUnreachables() local 327 for (auto &MBB : MF) { in restoreStackPointer() local
|
H A D | WebAssemblyExceptionInfo.h | 71 void addToBlocksSet(MachineBasicBlock *MBB) { BlockSet.insert(MBB); } in removeFromBlocksSet() argument 72 void removeFromBlocksSet(MachineBasicBlock *MBB) { BlockSet.erase(MBB); } in addToBlocksVector() argument 73 void addToBlocksVector(MachineBasicBlock *MBB) { Blocks.push_back(MBB); } in addBlock() argument 66 contains(const MachineBasicBlock * MBB) contains() argument 70 addToBlocksSet(MachineBasicBlock * MBB) addToBlocksSet() argument 152 getExceptionFor(const MachineBasicBlock * MBB) getExceptionFor() argument 156 changeExceptionFor(const MachineBasicBlock * MBB,WebAssemblyException * WE) changeExceptionFor() argument [all...] |
H A D | WebAssemblyCFGStackify.cpp | 163 MachineBasicBlock *MBB) { in explicitlyBranchesTo() 178 getEarliestInsertPos(MachineBasicBlock *MBB, const Container &BeforeSet, in getEarliestInsertPos() 202 getLatestInsertPos(MachineBasicBlock *MBB, const Container &BeforeSet, in getLatestInsertPos() 251 void WebAssemblyCFGStackify::placeBlockMarker(MachineBasicBlock &MBB) { in placeBlockMarker() 397 void WebAssemblyCFGStackify::placeLoopMarker(MachineBasicBlock &MBB) { in placeLoopMarker() 464 void WebAssemblyCFGStackify::placeTryMarker(MachineBasicBlock &MBB) { in placeTryMarker() 700 for (auto &MBB : MF) { in removeUnnecessaryInstrs() local 754 for (auto &MBB : MF) { in removeUnnecessaryInstrs() local 785 static void unstackifyVRegsUsedInSplitBB(MachineBasicBlock &MBB, in unstackifyVRegsUsedInSplitBB() 1097 for (auto &MBB : reverse(MF)) { in fixCallUnwindMismatches() local [all …]
|
H A D | WebAssemblyFixBrTableDefaults.cpp | 51 void fixBrTableIndex(MachineInstr &MI, MachineBasicBlock *MBB, in fixBrTableIndex() 92 MachineBasicBlock *fixBrTableDefault(MachineInstr &MI, MachineBasicBlock *MBB, in fixBrTableDefault() 165 for (auto &MBB : MF) in runOnMachineFunction() local 169 MachineBasicBlock *MBB = *MBBSet.begin(); in runOnMachineFunction() local
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64SpeculationHardening.cpp | 187 endsWithCondControlFlow(MachineBasicBlock & MBB,MachineBasicBlock * & TBB,MachineBasicBlock * & FBB,AArch64CC::CondCode & CondCode) const endsWithCondControlFlow() argument 218 insertFullSpeculationBarrier(MachineBasicBlock & MBB,MachineBasicBlock::iterator MBBI,DebugLoc DL) const insertFullSpeculationBarrier() argument 241 instrumentControlFlow(MachineBasicBlock & MBB,bool & UsesFullSpeculationBarrier) instrumentControlFlow() argument 361 insertSPToRegTaintPropagation(MachineBasicBlock & MBB,MachineBasicBlock::iterator MBBI) const insertSPToRegTaintPropagation() argument 385 insertRegToSPTaintPropagation(MachineBasicBlock & MBB,MachineBasicBlock::iterator MBBI,unsigned TmpReg) const insertRegToSPTaintPropagation() argument 433 makeGPRSpeculationSafe(MachineBasicBlock & MBB,MachineBasicBlock::iterator MBBI,MachineInstr & MI,unsigned Reg) makeGPRSpeculationSafe() argument 461 slhLoads(MachineBasicBlock & MBB) slhLoads() argument 550 expandSpeculationSafeValue(MachineBasicBlock & MBB,MachineBasicBlock::iterator MBBI,bool UsesFullSpeculationBarrier) expandSpeculationSafeValue() argument 591 insertCSDB(MachineBasicBlock & MBB,MachineBasicBlock::iterator MBBI,DebugLoc DL) insertCSDB() argument 604 lowerSpeculationSafeValuePseudos(MachineBasicBlock & MBB,bool UsesFullSpeculationBarrier) lowerSpeculationSafeValuePseudos() argument 673 for (auto &MBB : MF) runOnMachineFunction() local 691 for (auto &MBB : MF) { runOnMachineFunction() local [all...] |
H A D | AArch64A53Fix835769.cpp | 128 for (auto &MBB : F) { in runOnMachineFunction() local 136 static MachineBasicBlock *getBBFallenThrough(MachineBasicBlock *MBB, in getBBFallenThrough() 161 static MachineInstr *getLastNonPseudo(MachineBasicBlock &MBB, in getLastNonPseudo() 177 static void insertNopBeforeInstruction(MachineBasicBlock &MBB, MachineInstr* MI, in insertNopBeforeInstruction() 196 AArch64A53Fix835769::runOnBasicBlock(MachineBasicBlock &MBB) { in runOnBasicBlock()
|
H A D | AArch64ExpandPseudoInsts.cpp | 125 bool AArch64ExpandPseudo::expandMOVImm(MachineBasicBlock &MBB, in expandMOVImm() 236 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, unsigned LdarOp, in expandCMP_SWAP() 316 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, in expandCMP_SWAP_128() 491 MachineBasicBlock &MBB, in expand_DestructiveOp() 684 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, in expandSetTagLoop() 760 bool AArch64ExpandPseudo::expandSVESpillFill(MachineBasicBlock &MBB, in expandSVESpillFill() 792 static MachineInstr *createCallWithOps(MachineBasicBlock &MBB, in createCallWithOps() 823 static MachineInstr *createCall(MachineBasicBlock &MBB, in createCall() 836 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI) { in expandCALL_RVMARKER() 889 bool AArch64ExpandPseudo::expandCALL_BTI(MachineBasicBlock &MBB, in expandCALL_BTI() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | LivePhysRegs.cpp | 155 void LivePhysRegs::addBlockLiveIns(const MachineBasicBlock &MBB) { in addBlockLiveIns() 209 void LivePhysRegs::addLiveOutsNoPristines(const MachineBasicBlock &MBB) { in addLiveOutsNoPristines() 232 void LivePhysRegs::addLiveOuts(const MachineBasicBlock &MBB) { in addLiveOuts() 238 void LivePhysRegs::addLiveIns(const MachineBasicBlock &MBB) { in addLiveIns() 244 void LivePhysRegs::addLiveInsNoPristines(const MachineBasicBlock &MBB) { in addLiveInsNoPristines() 249 const MachineBasicBlock &MBB) { in computeLiveIns() 259 void llvm::addLiveIns(MachineBasicBlock &MBB, const LivePhysRegs &LiveRegs) { in addLiveIns() 276 void llvm::recomputeLivenessFlags(MachineBasicBlock &MBB) { in recomputeLivenessFlags() 337 MachineBasicBlock &MBB) { in computeAndAddLiveIns()
|
H A D | ReachingDefAnalysis.cpp | 51 void ReachingDefAnalysis::enterBasicBlock(MachineBasicBlock *MBB) { in enterBasicBlock() 103 void ReachingDefAnalysis::leaveBasicBlock(MachineBasicBlock *MBB) { in leaveBasicBlock() 147 void ReachingDefAnalysis::reprocessBasicBlock(MachineBasicBlock *MBB) { in reprocessBasicBlock() 194 MachineBasicBlock *MBB = TraversedMBB.MBB; in processBasicBlock() local 300 MachineInstr *ReachingDefAnalysis::getInstFromId(MachineBasicBlock *MBB, in getInstFromId() 333 MachineBasicBlock *MBB = Def->getParent(); in getReachingLocalUses() local 355 bool ReachingDefAnalysis::getLiveInUses(MachineBasicBlock *MBB, in getLiveInUses() 376 MachineBasicBlock *MBB = MI->getParent(); in getGlobalUses() local 389 MachineBasicBlock *MBB = ToVisit.pop_back_val(); in getGlobalUses() local 407 for (auto *MBB : MI->getParent()->predecessors()) in getGlobalReachingDefs() local [all …]
|
H A D | MachineTraceMetrics.cpp | 97 MachineTraceMetrics::getResources(const MachineBasicBlock *MBB) { in getResources() 175 computeDepthResources(const MachineBasicBlock *MBB) { in computeDepthResources() 208 computeHeightResources(const MachineBasicBlock *MBB) { in computeHeightResources() 340 MinInstrCountEnsemble::pickTracePred(const MachineBasicBlock *MBB) { in pickTracePred() 368 MinInstrCountEnsemble::pickTraceSucc(const MachineBasicBlock *MBB) { in pickTraceSucc() 415 void MachineTraceMetrics::invalidate(const MachineBasicBlock *MBB) { in invalidate() 496 void MachineTraceMetrics::Ensemble::computeTrace(const MachineBasicBlock *MBB) { in computeTrace() 550 const MachineBasicBlock *MBB = WorkList.pop_back_val(); in invalidate() local 575 const MachineBasicBlock *MBB = WorkList.pop_back_val(); in invalidate() local 611 const MachineBasicBlock *MBB = MTM.MF->getBlockNumbered(Num); in verify() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | R600MachineCFGStructurizer.cpp | 408 MachineBasicBlock::iterator I, MachineBasicBlock &MBB) { in reversePredicateSetter() 434 void R600MachineCFGStructurizer::insertInstrEnd(MachineBasicBlock *MBB, in insertInstrEnd() 443 MachineInstr *R600MachineCFGStructurizer::insertInstrBefore(MachineBasicBlock *MBB, in insertInstrBefore() 459 MachineBasicBlock *MBB = OldMI->getParent(); in insertInstrBefore() local 471 MachineBasicBlock *MBB = OldMI->getParent(); in insertCondBranchBefore() local 537 MachineBasicBlock *MBB) { in setTrueBranch() 542 R600MachineCFGStructurizer::getFalseBranch(MachineBasicBlock *MBB, in getFalseBranch() 574 DebugLoc R600MachineCFGStructurizer::getLastDebugLocInBB(MachineBasicBlock *MBB) { in getLastDebugLocInBB() 584 MachineBasicBlock *MBB) { in getNormalBlockBranchInstr() 593 MachineBasicBlock *MBB) { in getLoopendBlockBranchInstr() [all …]
|
H A D | SILowerControlFlow.cpp | 124 skipToUncondBrOrEnd(MachineBasicBlock &MBB, in skipToUncondBrOrEnd() 182 MachineBasicBlock *MBB = Worklist.pop_back_val(); in hasKill() local 208 MachineBasicBlock &MBB = *MI.getParent(); in emitIf() local 306 MachineBasicBlock &MBB = *MI.getParent(); in emitElse() local 369 MachineBasicBlock &MBB = *MI.getParent(); in emitIfBreak() local 423 MachineBasicBlock &MBB = *MI.getParent(); in emitLoop() local 449 MachineBasicBlock &MBB, MachineBasicBlock::iterator It) const { in skipIgnoreExecInstsTrivialSucc() 478 MachineBasicBlock &MBB = *MI.getParent(); in emitEndCf() local 625 MachineBasicBlock &MBB = *MI->getParent(); in optimizeEndCf() local 653 MachineBasicBlock &MBB = *MI.getParent(); in process() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsSEInstrInfo.cpp | 83 void MipsSEInstrInfo::copyPhysReg(MachineBasicBlock &MBB, in copyPhysReg() 215 storeRegToStack(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, in storeRegToStack() 289 loadRegFromStack(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, in loadRegFromStack() 374 MachineBasicBlock &MBB = *MI.getParent(); in expandPostRAPseudo() local 560 MachineBasicBlock &MBB, in adjustStackPtr() 587 unsigned MipsSEInstrInfo::loadImmediate(int64_t Imm, MachineBasicBlock &MBB, in loadImmediate() 656 void MipsSEInstrInfo::expandRetRA(MachineBasicBlock &MBB, in expandRetRA() 674 void MipsSEInstrInfo::expandERet(MachineBasicBlock &MBB, in expandERet() 691 void MipsSEInstrInfo::expandPseudoMFHiLo(MachineBasicBlock &MBB, in expandPseudoMFHiLo() 697 void MipsSEInstrInfo::expandPseudoMTLoHi(MachineBasicBlock &MBB, in expandPseudoMTLoHi() [all …]
|
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 …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | MVETailPredUtils.h | 101 MachineBasicBlock *MBB = MI->getParent(); variable 136 MachineBasicBlock *MBB = MI->getParent(); in RevertDoLoopStart() local 147 MachineBasicBlock *MBB = MI->getParent(); variable 169 MachineBasicBlock *MBB = MI->getParent(); variable
|
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/ |
H A D | MSP430InstrInfo.cpp | 37 MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, Register SrcReg, in storeRegToStackSlot() 62 void MSP430InstrInfo::loadRegFromStackSlot(MachineBasicBlock &MBB, in loadRegFromStackSlot() 90 void MSP430InstrInfo::copyPhysReg(MachineBasicBlock &MBB, in copyPhysReg() 106 unsigned MSP430InstrInfo::removeBranch(MachineBasicBlock &MBB, in removeBranch() 164 bool MSP430InstrInfo::analyzeBranch(MachineBasicBlock &MBB, in analyzeBranch() 253 unsigned MSP430InstrInfo::insertBranch(MachineBasicBlock &MBB, in insertBranch()
|
/freebsd/contrib/llvm-project/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() 148 void BPFInstrInfo::loadRegFromStackSlot(MachineBasicBlock &MBB, in loadRegFromStackSlot() 166 bool BPFInstrInfo::analyzeBranch(MachineBasicBlock &MBB, in analyzeBranch() 220 unsigned BPFInstrInfo::insertBranch(MachineBasicBlock &MBB, in insertBranch() 241 unsigned BPFInstrInfo::removeBranch(MachineBasicBlock &MBB, in removeBranch()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXInstrInfo.cpp | 32 void NVPTXInstrInfo::copyPhysReg(MachineBasicBlock &MBB, in copyPhysReg() 92 bool NVPTXInstrInfo::analyzeBranch(MachineBasicBlock &MBB, in analyzeBranch() 151 unsigned NVPTXInstrInfo::removeBranch(MachineBasicBlock &MBB, in removeBranch() 177 unsigned NVPTXInstrInfo::insertBranch(MachineBasicBlock &MBB, in insertBranch()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZPostRewrite.cpp | 77 void SystemZPostRewrite::selectLOCRMux(MachineBasicBlock &MBB, in selectLOCRMux() 98 void SystemZPostRewrite::selectSELRMux(MachineBasicBlock &MBB, in selectSELRMux() 150 bool SystemZPostRewrite::expandCondMove(MachineBasicBlock &MBB, in expandCondMove() 205 bool SystemZPostRewrite::selectMI(MachineBasicBlock &MBB, in selectMI() 243 bool SystemZPostRewrite::selectMBB(MachineBasicBlock &MBB) { in selectMBB() 260 for (auto &MBB : MF) in runOnMachineFunction() local
|