Searched defs:MF (Results 176 - 200 of 275) sorted by relevance

1234567891011

/external/llvm/lib/Target/AArch64/
H A DAArch64LoadStoreOptimizer.cpp644 const MachineFunction &MF = *MemMI->getParent()->getParent(); local
649 TII->getRegClass(MemMI->getDesc(), 0, TRI, MF)->getSize();
699 const MachineFunction &MF = *MemMI->getParent()->getParent(); local
704 unsigned RegSize = TII->getRegClass(MemMI->getDesc(), 0, TRI, MF)->getSize();
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...]
H A DAArch64FrameLowering.cpp42 static unsigned estimateStackSize(MachineFunction &MF) { argument
43 const MachineFrameInfo *FFI = MF.getFrameInfo();
62 bool AArch64FrameLowering::canUseRedZone(const MachineFunction &MF) const {
67 if (MF.getFunction()->getAttributes().hasAttribute(
71 const MachineFrameInfo *MFI = MF.getFrameInfo();
72 const AArch64FunctionInfo *AFI = MF.getInfo<AArch64FunctionInfo>();
78 if (MFI->hasCalls() || hasFP(MF) || NumBytes > 128)
85 bool AArch64FrameLowering::hasFP(const MachineFunction &MF) const {
86 const MachineFrameInfo *MFI = MF.getFrameInfo();
89 const TargetRegisterInfo *RegInfo = MF
108 eliminateCallFramePseudoInstr( MachineFunction &MF, MachineBasicBlock &MBB, MachineBasicBlock::iterator I) const argument
432 emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const argument
530 getFrameIndexOffset(const MachineFunction &MF, int FI) const argument
540 getFrameIndexReference(const MachineFunction &MF, int FI, unsigned &FrameReg) const argument
546 resolveFrameIndexReference(const MachineFunction &MF, int FI, unsigned &FrameReg, bool PreferFP) const argument
605 getPrologueDeath(MachineFunction &MF, unsigned Reg) argument
619 MachineFunction &MF = *MBB.getParent(); local
695 MachineFunction &MF = *MBB.getParent(); local
761 processFunctionBeforeCalleeSavedScan( MachineFunction &MF, RegScavenger *RS) const argument
[all...]
H A DAArch64InstrInfo.cpp39 const MachineFunction *MF = MBB.getParent(); local
40 const MCAsmInfo *MAI = MF->getTarget().getMCAsmInfo();
664 MachineFunction *MF = MBB->getParent(); local
665 assert(MF && "Can't get MachineFunction here");
666 const TargetMachine *TM = &MF->getTarget();
669 MachineRegisterInfo *MRI = &MF->getRegInfo();
1193 MachineFunction &MF = *LdSt->getParent()->getParent();
1194 unsigned Width = getRegClass(LdSt->getDesc(), 0, TRI, MF)->getSize();
1242 MachineInstr *AArch64InstrInfo::emitFrameIndexDebugValue(MachineFunction &MF,
1247 MachineInstrBuilder MIB = BuildMI(MF, D
[all...]
/external/llvm/lib/Target/ARM/
H A DMLxExpansionPass.cpp289 const MachineFunction &MF = *MI->getParent()->getParent(); local
291 TII->getRegClass(MCID1, 0, TRI, MF));
/external/llvm/lib/Target/Hexagon/
H A DHexagonCopyToCombine.cpp413 bool HexagonCopyToCombine::runOnMachineFunction(MachineFunction &MF) { argument
420 TRI = MF.getTarget().getRegisterInfo();
421 TII = static_cast<const HexagonInstrInfo *>(MF.getTarget().getInstrInfo());
425 MF.getTarget().getOptLevel() <= CodeGenOpt::Default;
428 for (MachineFunction::iterator BI = MF.begin(), BE = MF.end(); BI != BE;
H A DHexagonNewValueJump.cpp113 MachineFunction &MF) {
221 MachineFunction &MF) {
246 MachineRegisterInfo &MRI = MF.getRegInfo();
353 bool HexagonNewValueJump::runOnMachineFunction(MachineFunction &MF) { argument
357 << MF.getName() << "\n");
365 QII = static_cast<const HexagonInstrInfo *>(MF.getTarget().getInstrInfo());
367 static_cast<const HexagonRegisterInfo *>(MF.getTarget().getRegisterInfo());
379 for (MachineFunction::iterator MBBb = MF.begin(), MBBe = MF.end();
484 afterRA, jmpPos, MF))
108 canBeFeederToNewValueJump(const HexagonInstrInfo *QII, const TargetRegisterInfo *TRI, MachineBasicBlock::iterator II, MachineBasicBlock::iterator end, MachineBasicBlock::iterator skip, MachineFunction &MF) argument
214 canCompareBeNewValueJump(const HexagonInstrInfo *QII, const TargetRegisterInfo *TRI, MachineBasicBlock::iterator II, unsigned pReg, bool secondReg, bool optLocation, MachineBasicBlock::iterator end, MachineFunction &MF) argument
[all...]
/external/llvm/lib/Target/Mips/
H A DMips16InstrInfo.cpp201 MachineFunction &MF = *MBB.getParent(); local
202 MachineFrameInfo *MFI = MF.getFrameInfo();
203 const BitVector Reserved = RI.getReservedRegs(MF);
231 MachineFunction *MF = MBB.getParent(); local
232 MachineFrameInfo *MFI = MF->getFrameInfo();
233 const BitVector Reserved = RI.getReservedRegs(*MF);
H A DMipsSEFrameLowering.cpp54 ExpandPseudo(MachineFunction &MF);
68 MachineFunction &MF; member in class:__anon26056::ExpandPseudo
74 : MF(MF_), MRI(MF.getRegInfo()) {}
79 for (MachineFunction::iterator BB = MF.begin(), BBEnd = MF.end();
130 *static_cast<const MipsSEInstrInfo*>(MF.getTarget().getInstrInfo());
132 *static_cast<const MipsRegisterInfo*>(MF.getTarget().getRegisterInfo());
150 *static_cast<const MipsSEInstrInfo*>(MF.getTarget().getInstrInfo());
152 *static_cast<const MipsRegisterInfo*>(MF
393 emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const argument
453 MachineFunction *MF = MBB.getParent(); local
493 eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB, MachineBasicBlock::iterator I) const argument
512 processFunctionBeforeCalleeSavedScan(MachineFunction &MF, RegScavenger *RS) const argument
[all...]
/external/llvm/lib/Target/PowerPC/
H A DPPCMachineFunctionInfo.h96 explicit PPCFunctionInfo(MachineFunction &MF) argument
/external/llvm/lib/Target/R600/
H A DAMDGPUInstrInfo.cpp173 AMDGPUInstrInfo::foldMemoryOperandImpl(MachineFunction &MF, argument
181 AMDGPUInstrInfo::foldMemoryOperandImpl(MachineFunction &MF, argument
195 AMDGPUInstrInfo::unfoldMemoryOperand(MachineFunction &MF, MachineInstr *MI, argument
277 int AMDGPUInstrInfo::getIndirectIndexBegin(const MachineFunction &MF) const {
278 const MachineRegisterInfo &MRI = MF.getRegInfo();
279 const MachineFrameInfo *MFI = MF.getFrameInfo();
312 int AMDGPUInstrInfo::getIndirectIndexEnd(const MachineFunction &MF) const {
314 const MachineFrameInfo *MFI = MF.getFrameInfo();
323 Offset = MF.getTarget().getFrameLowering()->getFrameIndexOffset(MF,
[all...]
/external/llvm/lib/Target/X86/
H A DX86AsmPrinter.cpp47 bool X86AsmPrinter::runOnMachineFunction(MachineFunction &MF) { argument
48 SetupMachineFunction(MF);
51 bool Intrn = MF.getFunction()->hasInternalLinkage();
146 O << " + [.-" << *P.MF->getPICBaseSymbol() << ']';
151 O << '-' << *P.MF->getPICBaseSymbol();
168 O << "@TLVP" << '-' << *P.MF->getPICBaseSymbol();
/external/mesa3d/src/gallium/drivers/radeon/
H A DR600InstrInfo.cpp78 MachineInstr * R600InstrInfo::getMovImmInstr(MachineFunction *MF, argument
81 MachineInstr * MI = MF->CreateMachineInstr(get(AMDGPU::MOV), DebugLoc());
/external/smack/src/org/xbill/DNS/
H A DType.java25 public static final int MF = 4; field in class:Type
230 types.add(MF, "MF", new MFRecord());
/external/llvm/include/llvm/CodeGen/
H A DCallingConvLower.h176 MachineFunction &MF; member in class:llvm::CCState
240 CCState(CallingConv::ID CC, bool isVarArg, MachineFunction &MF,
250 MachineFunction &getMachineFunction() const { return MF; }
384 MF.getFrameInfo()->ensureMaxAlignment(Align);
H A DMachineInstrBuilder.h46 MachineFunction *MF; member in class:llvm::MachineInstrBuilder
49 MachineInstrBuilder() : MF(nullptr), MI(nullptr) {}
53 MachineInstrBuilder(MachineFunction &F, MachineInstr *I) : MF(&F), MI(I) {}
68 MI->addOperand(*MF, MachineOperand::CreateReg(RegNo,
84 MI->addOperand(*MF, MachineOperand::CreateImm(Val));
89 MI->addOperand(*MF, MachineOperand::CreateCImm(Val));
94 MI->addOperand(*MF, MachineOperand::CreateFPImm(Val));
100 MI->addOperand(*MF, MachineOperand::CreateMBB(MBB, TargetFlags));
105 MI->addOperand(*MF, MachineOperand::CreateFI(Idx));
112 MI->addOperand(*MF, MachineOperan
228 BuildMI(MachineFunction &MF, DebugLoc DL, const MCInstrDesc &MCID) argument
237 BuildMI(MachineFunction &MF, DebugLoc DL, const MCInstrDesc &MCID, unsigned DestReg) argument
254 MachineFunction &MF = *BB.getParent(); local
265 MachineFunction &MF = *BB.getParent(); local
293 MachineFunction &MF = *BB.getParent(); local
303 MachineFunction &MF = *BB.getParent(); local
348 BuildMI(MachineFunction &MF, DebugLoc DL, const MCInstrDesc &MCID, bool IsIndirect, unsigned Reg, unsigned Offset, const MDNode *MD) argument
381 MachineFunction &MF = *BB.getParent(); local
[all...]
/external/llvm/lib/CodeGen/
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...]
H A DExecutionDepsFix.cpp132 MachineFunction *MF; member in class:__anon25744::ExeDepsFix
164 bool runOnMachineFunction(MachineFunction &MF) override;
715 MF = &mf;
716 TII = MF->getTarget().getInstrInfo();
717 TRI = MF->getTarget().getRegisterInfo();
729 if (MF->getRegInfo().isPhysRegUsed(*I)) {
746 MachineBasicBlock *Entry = MF->begin();
H A DPeepholeOptimizer.cpp118 bool runOnMachineFunction(MachineFunction &MF) override;
666 bool PeepholeOptimizer::runOnMachineFunction(MachineFunction &MF) { argument
667 if (skipOptnoneFunction(*MF.getFunction()))
671 DEBUG(dbgs() << "********** Function: " << MF.getName() << '\n');
676 TM = &MF.getTarget();
678 MRI = &MF.getRegInfo();
683 for (MachineFunction::iterator I = MF.begin(), E = MF.end(); I != E; ++I) {
H A DRegAllocFast.cpp57 MachineFunction *MF; member in class:__anon25790::RAFast
209 int FrameIdx = MF->getFrameInfo()->CreateSpillStackObject(RC->getSize(),
1071 MF = &Fn;
1072 MRI = &MF->getRegInfo();
H A DRegAllocPBQP.cpp108 bool runOnMachineFunction(MachineFunction &MF) override;
197 // Collect the set of preg intervals, record that they're used in the MF.
531 bool RegAllocPBQP::runOnMachineFunction(MachineFunction &MF) { argument
533 mf = &MF;
543 calculateSpillWeightsAndHints(*lis, MF, getAnalysis<MachineLoopInfo>(),
547 spiller.reset(createInlineSpiller(*this, MF, *vrm));
549 mri->freezeReservedRegs(MF);
H A DStackColoring.cpp91 MachineFunction *MF; member in class:__anon25826::StackColoring
135 bool runOnMachineFunction(MachineFunction &MF) override;
197 for (MachineBasicBlock *MBB : depth_first(MF)) {
234 for (MachineBasicBlock *MBB : depth_first(MF)) {
377 for (const MachineBasicBlock &MBB : *MF) {
459 MachineModuleInfo *MMI = &MF->getMMI();
504 for (MachineBasicBlock &BB : *MF)
579 for (MachineBasicBlock &BB : *MF)
643 MF = &Func;
644 MFI = MF
[all...]
H A DTailDuplication.cpp83 bool runOnMachineFunction(MachineFunction &MF) override;
99 MachineFunction &MF,
105 bool TailDuplicateBlocks(MachineFunction &MF);
106 bool shouldTailDuplicate(const MachineFunction &MF,
116 MachineFunction &MF,
121 MachineFunction &MF);
134 bool TailDuplicatePass::runOnMachineFunction(MachineFunction &MF) { argument
135 if (skipOptnoneFunction(*MF.getFunction()))
138 TII = MF.getTarget().getInstrInfo();
139 TRI = MF
161 VerifyPHIs(MachineFunction &MF, bool CheckExtra) argument
211 TailDuplicateAndUpdate(MachineBasicBlock *MBB, bool IsSimple, MachineFunction &MF) argument
315 TailDuplicateBlocks(MachineFunction &MF) argument
426 DuplicateInstruction(MachineInstr *MI, MachineBasicBlock *TailBB, MachineBasicBlock *PredBB, MachineFunction &MF, DenseMap<unsigned, unsigned> &LocalVRMap, const DenseSet<unsigned> &UsedByPhi) argument
546 shouldTailDuplicate(const MachineFunction &MF, bool IsSimple, MachineBasicBlock &TailBB) argument
749 TailDuplicate(MachineBasicBlock *TailBB, bool IsSimple, MachineFunction &MF, SmallVectorImpl<MachineBasicBlock *> &TDBBs, SmallVectorImpl<MachineInstr *> &Copies) argument
[all...]
H A DTargetInstrInfo.cpp44 const MachineFunction &MF) const {
50 return TRI->getPointerRegClass(MF, RegClass);
160 MachineFunction &MF = *MI->getParent()->getParent(); local
161 MI = MF.CloneMachineInstr(MI);
333 MachineFunction &MF) const {
336 return MF.CloneMachineInstr(Orig);
379 static MachineInstr* foldPatchpoint(MachineFunction &MF, argument
408 MF.CreateMachineInstr(TII.get(MI->getOpcode()), MI->getDebugLoc(), true);
409 MachineInstrBuilder MIB(MF, NewMI);
422 MF
457 MachineFunction &MF = *MBB->getParent(); local
523 MachineFunction &MF = *MBB.getParent(); local
563 const MachineFunction &MF = *MI->getParent()->getParent(); local
[all...]
H A DTargetLoweringBase.cpp930 MachineFunction &MF = *MI->getParent()->getParent(); local
941 MachineInstrBuilder MIB = BuildMI(MF, MI->getDebugLoc(), MI->getDesc());
959 const MachineFrameInfo &MFI = *MF.getFrameInfo();
962 MF.getMachineMemOperand(MachinePointerInfo::getFixedStack(FI),
966 MIB->addMemOperand(MF, MMO);

Completed in 430 milliseconds

1234567891011