Searched refs:MF (Results 201 - 225 of 501) sorted by relevance

1234567891011>>

/external/llvm/lib/Target/Mips/
H A DMipsSEISelDAGToDAG.h28 bool runOnMachineFunction(MachineFunction &MF) override;
31 MachineFunction &MF);
106 void processFunctionAfterISel(MachineFunction &MF) override;
110 void initGlobalBaseReg(MachineFunction &MF);
H A DMipsSEISelDAGToDAG.cpp39 bool MipsSEDAGToDAGISel::runOnMachineFunction(MachineFunction &MF) { argument
42 return MipsDAGToDAGISel::runOnMachineFunction(MF);
46 MachineFunction &MF) {
47 MachineInstrBuilder MIB(MF, &MI);
123 void MipsSEDAGToDAGISel::initGlobalBaseReg(MachineFunction &MF) { argument
124 MipsFunctionInfo *MipsFI = MF.getInfo<MipsFunctionInfo>();
129 MachineBasicBlock &MBB = MF.front();
131 MachineRegisterInfo &RegInfo = MF.getRegInfo();
132 const TargetInstrInfo &TII = *MF.getTarget().getInstrInfo();
146 MF
45 addDSPCtrlRegOperands(bool IsDef, MachineInstr &MI, MachineFunction &MF) argument
215 processFunctionAfterISel(MachineFunction &MF) argument
[all...]
H A DMipsConstantIslandPass.cpp350 MachineFunction *MF; member in class:__anon26048::MipsConstantIslands
371 STI(&TM.getSubtarget<MipsSubtarget>()), MF(nullptr), MCP(nullptr),
451 MF = &mf;
458 TII = (const Mips16InstrInfo*)MF->getTarget().getInstrInfo();
459 MFI = MF->getInfo<MipsFunctionInfo>();
469 MF->getRegInfo().invalidateLiveness();
473 MF->RenumberBlocks();
540 MachineBasicBlock *BB = MF->CreateMachineBasicBlock();
541 MF->push_back(BB);
553 MF
[all...]
H A DMipsInstrInfo.cpp59 MachineFunction &MF = *MBB.getParent(); local
60 MachineFrameInfo &MFI = *MF.getFrameInfo();
63 return MF.getMachineMemOperand(MachinePointerInfo::getFixedStack(FI), Flag,
273 const MachineFunction *MF = MI->getParent()->getParent(); local
275 return getInlineAsmLength(AsmStr, *MF->getTarget().getMCAsmInfo());
/external/llvm/lib/Target/SystemZ/
H A DSystemZMachineFunctionInfo.h28 explicit SystemZMachineFunctionInfo(MachineFunction &MF) argument
H A DSystemZLongBranch.cpp158 MachineFunction *MF; member in class:__anon26159::SystemZLongBranch
262 MF->RenumberBlocks();
263 unsigned NumBlocks = MF->size();
271 BlockPosition Position(MF->getAlignment());
273 MachineBasicBlock *MBB = MF->getBlockNumbered(I);
335 BlockPosition Position(MF->getAlignment());
436 BlockPosition Position(MF->getAlignment());
452 MF = &F;
/external/llvm/include/llvm/CodeGen/
H A DDFAPacketizer.h95 const MachineFunction &MF; member in class:llvm::VLIWPacketizerList
111 MachineFunction &MF, MachineLoopInfo &MLI, MachineDominatorTree &MDT,
/external/llvm/lib/CodeGen/AsmPrinter/
H A DWinCodeViewLineTables.h104 void maybeRecordLocation(DebugLoc DL, const MachineFunction *MF);
131 void beginFunction(const MachineFunction *MF) override;
H A DDbgValueHistoryCalculator.cpp149 static void collectChangingRegs(const MachineFunction *MF, argument
152 for (const auto &MBB : *MF) {
163 void calculateDbgValueHistory(const MachineFunction *MF, argument
167 collectChangingRegs(MF, TRI, ChangingRegs);
170 for (const auto &MBB : *MF) {
199 if (!MBB.empty() && &MBB != &MF->back()) {
H A DWinCodeViewLineTables.cpp83 const MachineFunction *MF) {
84 const MDNode *Scope = DL.getScope(MF->getFunction()->getContext());
264 void WinCodeViewLineTables::beginFunction(const MachineFunction *MF) { argument
270 const Function *GV = MF->getFunction();
280 for (const auto &MBB : *MF) {
301 PrologEndLoc.getFnDebugLoc(MF->getFunction()->getContext());
302 maybeRecordLocation(FnStartDL, MF);
306 void WinCodeViewLineTables::endFunction(const MachineFunction *MF) { argument
310 const Function *GV = MF->getFunction();
333 maybeRecordLocation(DL, Asm->MF);
82 maybeRecordLocation(DebugLoc DL, const MachineFunction *MF) argument
[all...]
/external/llvm/lib/CodeGen/
H A DMachineCopyPropagation.cpp46 bool runOnMachineFunction(MachineFunction &MF) override;
332 bool MachineCopyPropagation::runOnMachineFunction(MachineFunction &MF) { argument
333 if (skipOptnoneFunction(*MF.getFunction()))
338 TRI = MF.getTarget().getRegisterInfo();
339 TII = MF.getTarget().getInstrInfo();
340 MRI = &MF.getRegInfo();
342 for (MachineFunction::iterator I = MF.begin(), E = MF.end(); I != E; ++I)
H A DExpandPostRAPseudos.cpp181 bool ExpandPostRA::runOnMachineFunction(MachineFunction &MF) { argument
184 << "********** Function: " << MF.getName() << '\n');
185 TRI = MF.getTarget().getRegisterInfo();
186 TII = MF.getTarget().getInstrInfo();
190 for (MachineFunction::iterator mbbi = MF.begin(), mbbe = MF.end();
H A DRegAllocBasic.cpp65 MachineFunction *MF; member in class:__anon25788::RABasic
203 LiveRangeEdit LRE(&Spill, SplitVRegs, *MF, *LIS, VRM);
262 LiveRangeEdit LRE(&VirtReg, SplitVRegs, *MF, *LIS, VRM);
275 MF = &mf;
280 calculateSpillWeightsAndHints(*LIS, *MF,
284 SpillerInstance.reset(createInlineSpiller(*this, *MF, *VRM));
H A DEarlyIfConversion.cpp155 void runOnMachineFunction(MachineFunction &MF) { argument
156 TII = MF.getTarget().getInstrInfo();
157 TRI = MF.getTarget().getRegisterInfo();
158 MRI = &MF.getRegInfo();
595 bool runOnMachineFunction(MachineFunction &MF) override;
776 bool EarlyIfConverter::runOnMachineFunction(MachineFunction &MF) { argument
778 << "********** Function: " << MF.getName() << '\n');
780 if (!MF.getTarget()
785 TII = MF.getTarget().getInstrInfo();
786 TRI = MF
[all...]
/external/llvm/lib/Target/PowerPC/
H A DPPCCodeEmitter.cpp82 bool runOnMachineFunction(MachineFunction &MF) override;
99 bool PPCCodeEmitter::runOnMachineFunction(MachineFunction &MF) { argument
100 assert((MF.getTarget().getRelocationModel() != Reloc::Default ||
101 MF.getTarget().getRelocationModel() != Reloc::Static) &&
108 MCE.startFunction(MF);
109 for (MachineFunction::iterator BB = MF.begin(), E = MF.end(); BB != E; ++BB)
111 } while (MCE.finishFunction(MF));
H A DPPCInstrInfo.cpp229 MachineFunction &MF = *MI->getParent()->getParent(); local
277 return BuildMI(MF, MI->getDebugLoc(), MI->getDesc())
772 PPCInstrInfo::StoreRegToStackSlot(MachineFunction &MF, argument
784 NewMIs.push_back(addFrameReference(BuildMI(MF, DL, get(PPC::STW))
790 NewMIs.push_back(addFrameReference(BuildMI(MF, DL, get(PPC::STD))
795 NewMIs.push_back(addFrameReference(BuildMI(MF, DL, get(PPC::STFD))
800 NewMIs.push_back(addFrameReference(BuildMI(MF, DL, get(PPC::STFS))
805 NewMIs.push_back(addFrameReference(BuildMI(MF, DL, get(PPC::SPILL_CR))
811 NewMIs.push_back(addFrameReference(BuildMI(MF, DL, get(PPC::SPILL_CRBIT))
817 NewMIs.push_back(addFrameReference(BuildMI(MF, D
855 MachineFunction &MF = *MBB.getParent(); local
885 LoadRegFromStackSlot(MachineFunction &MF, DebugLoc DL, unsigned DestReg, int FrameIdx, const TargetRegisterClass *RC, SmallVectorImpl<MachineInstr*> &NewMIs, bool &NonRI, bool &SpillsVRS) const argument
950 MachineFunction &MF = *MBB.getParent(); local
1588 const MachineFunction *MF = MI->getParent()->getParent(); local
[all...]
/external/llvm/lib/Target/R600/
H A DR600RegisterInfo.cpp27 BitVector R600RegisterInfo::getReservedRegs(const MachineFunction &MF) const {
52 TII->reserveIndirectRegisters(Reserved, MF);
H A DSIInsertWaits.cpp104 bool runOnMachineFunction(MachineFunction &MF) override;
346 bool SIInsertWaits::runOnMachineFunction(MachineFunction &MF) { argument
349 TII = static_cast<const SIInstrInfo*>(MF.getTarget().getInstrInfo());
350 TRI = static_cast<const SIRegisterInfo*>(MF.getTarget().getRegisterInfo());
352 MRI = &MF.getRegInfo();
360 for (MachineFunction::iterator BI = MF.begin(), BE = MF.end();
/external/llvm/lib/Target/X86/
H A DX86FixupLEAs.cpp41 bool processBasicBlock(MachineFunction &MF, MachineFunction::iterator MFI);
88 bool runOnMachineFunction(MachineFunction &MF) override;
91 MachineFunction *MF; member in class:__anon26188::FixupLEAPass
108 NewMI = BuildMI(*MF, MI->getDebugLoc(),
153 MF = &Func;
309 NewMI = BuildMI(*MF, MI->getDebugLoc(), TII->get(addrr_opcode))
319 NewMI = BuildMI(*MF, MI->getDebugLoc(), TII->get(addri_opcode))
332 bool FixupLEAPass::processBasicBlock(MachineFunction &MF, argument
H A DX86InstrInfo.h274 void storeRegToAddr(MachineFunction &MF, unsigned SrcReg, bool isKill,
287 void loadRegFromAddr(MachineFunction &MF, unsigned DestReg,
302 MachineInstr* foldMemoryOperandImpl(MachineFunction &MF,
310 MachineInstr* foldMemoryOperandImpl(MachineFunction &MF,
323 bool unfoldMemoryOperand(MachineFunction &MF, MachineInstr *MI,
388 unsigned getGlobalBaseReg(MachineFunction *MF) const;
403 MachineInstr* foldMemoryOperandImpl(MachineFunction &MF,
/external/llvm/lib/Target/ARM/
H A DARMConstantIslandPass.cpp258 MachineFunction *MF; member in class:__anon25967::ARMConstantIslands
270 bool runOnMachineFunction(MachineFunction &MF) override;
332 for (MachineFunction::iterator MBBI = MF->begin(), E = MF->end();
351 DEBUG(MF->dump());
378 MF = &mf;
385 TII = (const ARMBaseInstrInfo*)MF->getTarget().getInstrInfo();
386 AFI = MF->getInfo<ARMFunctionInfo>();
387 STI = &MF->getTarget().getSubtarget<ARMSubtarget>();
396 MF
[all...]
H A DThumb1RegisterInfo.cpp54 Thumb1RegisterInfo::getPointerRegClass(const MachineFunction &MF, unsigned Kind) argument
69 MachineFunction &MF = *MBB.getParent(); local
70 const TargetInstrInfo &TII = *MF.getTarget().getInstrInfo();
71 MachineConstantPool *ConstantPool = MF.getConstantPool();
96 MachineFunction &MF = *MBB.getParent(); local
111 LdReg = MF.getRegInfo().createVirtualRegister(&ARM::tGPRRegClass);
560 MachineFunction &MF = *MBB.getParent();
562 *static_cast<const ARMBaseInstrInfo*>(MF.getTarget().getInstrInfo());
563 ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>();
569 int Offset = MF
[all...]
/external/llvm/lib/Target/Hexagon/
H A DHexagonInstrInfo.h89 void storeRegToAddr(MachineFunction &MF, unsigned SrcReg, bool isKill,
100 void loadRegFromAddr(MachineFunction &MF, unsigned DestReg,
105 MachineInstr* foldMemoryOperandImpl(MachineFunction &MF,
110 MachineInstr* foldMemoryOperandImpl(MachineFunction &MF,
117 unsigned createVR(MachineFunction* MF, MVT VT) const;
157 const MachineFunction &MF) const override;
H A DHexagonPeephole.cpp93 bool runOnMachineFunction(MachineFunction &MF) override;
113 bool HexagonPeephole::runOnMachineFunction(MachineFunction &MF) { argument
114 QII = static_cast<const HexagonInstrInfo *>(MF.getTarget().
116 QRI = static_cast<const HexagonRegisterInfo *>(MF.getTarget().
118 MRI = &MF.getRegInfo();
126 for (MachineFunction::iterator MBBb = MF.begin(), MBBe = MF.end();
/external/llvm/lib/Target/AArch64/
H A DAArch64CollectLOH.cpp177 bool runOnMachineFunction(MachineFunction &MF) override;
269 /// For each basic block BB in MF, record:
279 static void initReachingDef(MachineFunction &MF, argument
285 const TargetMachine &TM = MF.getTarget();
290 for (MachineBasicBlock &MBB : MF) {
384 static void reachingDefAlgorithm(MachineFunction &MF, argument
394 for (MachineBasicBlock &MBB : MF) {
441 /// \param MF function on which the algorithm will operate.
451 static void reachingDef(MachineFunction &MF, argument
469 initReachingDef(MF, ColorOpToReachedUse
1004 collectInvolvedReg(MachineFunction &MF, MapRegToId &RegToId, MapIdToReg &IdToReg, const TargetRegisterInfo *TRI) argument
1044 runOnMachineFunction(MachineFunction &MF) argument
[all...]

Completed in 567 milliseconds

1234567891011>>