/external/llvm/include/llvm/Target/ |
D | TargetInstrInfo.h | 65 bool isTriviallyReMaterializable(const MachineInstr *MI, 80 virtual bool isReallyTriviallyReMaterializable(const MachineInstr *MI, in isReallyTriviallyReMaterializable() 91 bool isReallyTriviallyReMaterializableGeneric(const MachineInstr *MI, 110 virtual bool isCoalescableExtInstr(const MachineInstr &MI, in isCoalescableExtInstr() 121 virtual unsigned isLoadFromStackSlot(const MachineInstr *MI, in isLoadFromStackSlot() 129 virtual unsigned isLoadFromStackSlotPostFE(const MachineInstr *MI, in isLoadFromStackSlotPostFE() 141 virtual bool hasLoadFromStackSlot(const MachineInstr *MI, in hasLoadFromStackSlot() 152 virtual unsigned isStoreToStackSlot(const MachineInstr *MI, in isStoreToStackSlot() 160 virtual unsigned isStoreToStackSlotPostFE(const MachineInstr *MI, in isStoreToStackSlotPostFE() 171 virtual bool hasStoreToStackSlot(const MachineInstr *MI, in hasStoreToStackSlot() [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86InstrInfo.h | 109 inline static bool isLeaMem(const MachineInstr *MI, unsigned Op) { in isLeaMem() 120 inline static bool isMem(const MachineInstr *MI, unsigned Op) { in isMem() 166 virtual bool isCoalescableExtInstr(const MachineInstr &MI, 170 unsigned isLoadFromStackSlot(const MachineInstr *MI, int &FrameIndex) const; 174 unsigned isLoadFromStackSlotPostFE(const MachineInstr *MI, 177 unsigned isStoreToStackSlot(const MachineInstr *MI, int &FrameIndex) const; 181 unsigned isStoreToStackSlotPostFE(const MachineInstr *MI, 184 bool isReallyTriviallyReMaterializable(const MachineInstr *MI, 188 const MachineInstr *Orig, 201 virtual MachineInstr *convertToThreeAddress(MachineFunction::iterator &MFI, [all …]
|
D | X86AsmPrinter.h | 47 virtual void EmitInstruction(const MachineInstr *MI); 52 void printOperand(const MachineInstr *MI, unsigned OpNo, raw_ostream &O, 54 void print_pcrel_imm(const MachineInstr *MI, unsigned OpNo, raw_ostream &O); 57 bool PrintAsmOperand(const MachineInstr *MI, unsigned OpNo, 60 bool PrintAsmMemoryOperand(const MachineInstr *MI, unsigned OpNo, 64 void printMachineInstruction(const MachineInstr *MI); 65 void printSSECC(const MachineInstr *MI, unsigned Op, raw_ostream &O); 66 void printMemReference(const MachineInstr *MI, unsigned Op, raw_ostream &O, 68 void printLeaMemReference(const MachineInstr *MI, unsigned Op, raw_ostream &O, 71 void printPICLabel(const MachineInstr *MI, unsigned Op, raw_ostream &O); [all …]
|
/external/llvm/lib/Target/ARM/ |
D | ARMBaseInstrInfo.h | 45 virtual MachineInstr *convertToThreeAddress(MachineFunction::iterator &MFI, 75 bool isPredicated(const MachineInstr *MI) const; 77 ARMCC::CondCodes getPredicate(const MachineInstr *MI) const { in getPredicate() 84 bool PredicateInstruction(MachineInstr *MI, 91 virtual bool DefinesPredicate(MachineInstr *MI, 94 virtual bool isPredicable(MachineInstr *MI) const; 98 virtual unsigned GetInstSizeInBytes(const MachineInstr* MI) const; 100 virtual unsigned isLoadFromStackSlot(const MachineInstr *MI, 102 virtual unsigned isStoreToStackSlot(const MachineInstr *MI, 104 virtual unsigned isLoadFromStackSlotPostFE(const MachineInstr *MI, [all …]
|
D | ARMCodeEmitter.cpp | 77 uint64_t getBinaryCodeForInstr(const MachineInstr &MI) const; 85 void emitInstruction(const MachineInstr &MI); 92 void emitConstPoolInstruction(const MachineInstr &MI); 93 void emitMOVi32immInstruction(const MachineInstr &MI); 94 void emitMOVi2piecesInstruction(const MachineInstr &MI); 95 void emitLEApcrelInstruction(const MachineInstr &MI); 96 void emitLEApcrelJTInstruction(const MachineInstr &MI); 97 void emitPseudoMoveInstruction(const MachineInstr &MI); 99 void emitPseudoInstruction(const MachineInstr &MI); 100 unsigned getMachineSoRegOpValue(const MachineInstr &MI, [all …]
|
D | MLxExpansionPass.cpp | 56 MachineInstr* LastMIs[4]; 57 SmallPtrSet<MachineInstr*, 4> IgnoreStall; 60 void pushStack(MachineInstr *MI); 61 MachineInstr *getAccDefMI(MachineInstr *MI) const; 62 unsigned getDefReg(MachineInstr *MI) const; 63 bool hasRAWHazard(unsigned Reg, MachineInstr *MI) const; 64 bool FindMLxHazard(MachineInstr *MI); 65 void ExpandFPMLxInstruction(MachineBasicBlock &MBB, MachineInstr *MI, 74 std::fill(LastMIs, LastMIs + 4, (MachineInstr*)0); in clearStack() 78 void MLxExpansion::pushStack(MachineInstr *MI) { in pushStack() [all …]
|
D | ARMAsmPrinter.h | 57 void printOperand(const MachineInstr *MI, int OpNum, raw_ostream &O, 60 virtual bool PrintAsmOperand(const MachineInstr *MI, unsigned OpNum, 63 virtual bool PrintAsmMemoryOperand(const MachineInstr *MI, unsigned OpNum, 67 void EmitJumpTable(const MachineInstr *MI); 68 void EmitJump2Table(const MachineInstr *MI); 69 virtual void EmitInstruction(const MachineInstr *MI); 89 void EmitPatchedInstruction(const MachineInstr *MI, unsigned TargetOpc); 91 void EmitUnwindingInstruction(const MachineInstr *MI); 95 const MachineInstr *MI); 98 void PrintDebugValueComment(const MachineInstr *MI, raw_ostream &OS); [all …]
|
/external/llvm/include/llvm/CodeGen/ |
D | LiveVariables.h | 91 std::vector<MachineInstr*> Kills; 96 bool removeKill(MachineInstr *MI) { in removeKill() 97 std::vector<MachineInstr*>::iterator in removeKill() 106 MachineInstr *findKill(const MachineBasicBlock *MBB) const; 145 MachineInstr **PhysRegDef; 150 MachineInstr **PhysRegUse; 156 DenseMap<MachineInstr*, unsigned> DistanceMap; 161 bool HandlePhysRegKill(unsigned Reg, MachineInstr *MI); 166 void HandlePhysRegUse(unsigned Reg, MachineInstr *MI); 167 void HandlePhysRegDef(unsigned Reg, MachineInstr *MI, [all …]
|
D | MachineInstrBundle.h | 46 static inline MachineInstr *getBundleStart(MachineInstr *MI) { in getBundleStart() 53 static inline const MachineInstr *getBundleStart(const MachineInstr *MI) { in getBundleStart() 78 MachineInstr::mop_iterator OpI, OpE; 99 explicit MachineOperandIteratorBase(MachineInstr *MI, bool WholeBundle) { in MachineOperandIteratorBase() 158 SmallVectorImpl<std::pair<MachineInstr*, unsigned> > *Ops = 0); 165 MIOperands(MachineInstr *MI) : MachineOperandIteratorBase(MI, false) {} in MIOperands() 174 ConstMIOperands(const MachineInstr *MI) in ConstMIOperands() 175 : MachineOperandIteratorBase(const_cast<MachineInstr*>(MI), false) {} in ConstMIOperands() 185 MIBundleOperands(MachineInstr *MI) : MachineOperandIteratorBase(MI, true) {} in MIBundleOperands() 195 ConstMIBundleOperands(const MachineInstr *MI) in ConstMIBundleOperands() [all …]
|
D | MachineInstr.h | 44 class MachineInstr : public ilist_node<MachineInstr> { 84 MachineInstr(const MachineInstr&); // DO NOT IMPLEMENT 85 void operator=(const MachineInstr&); // DO NOT IMPLEMENT 88 friend struct ilist_traits<MachineInstr>; 94 MachineInstr(MachineFunction &, const MachineInstr &); 98 MachineInstr(); 107 explicit MachineInstr(const MCInstrDesc &MCID, bool NoImp = false); 112 MachineInstr(MachineBasicBlock *MBB, const MCInstrDesc &MCID); 117 explicit MachineInstr(const MCInstrDesc &MCID, const DebugLoc dl, 123 MachineInstr(MachineBasicBlock *MBB, const DebugLoc dl, [all …]
|
D | MachineBasicBlock.h | 34 struct ilist_traits<MachineInstr> : public ilist_default_traits<MachineInstr> { 36 mutable ilist_half_node<MachineInstr> Sentinel; 43 MachineInstr *createSentinel() const { 44 return static_cast<MachineInstr*>(&Sentinel); 46 void destroySentinel(MachineInstr *) const {} 48 MachineInstr *provideInitialHead() const { return createSentinel(); } 49 MachineInstr *ensureHead(MachineInstr*) const { return createSentinel(); } 50 static void noteHead(MachineInstr*, MachineInstr*) {} 52 void addNodeToList(MachineInstr* N); 53 void removeNodeFromList(MachineInstr* N); [all …]
|
D | DFAPacketizer.h | 35 class MachineInstr; variable 75 bool canReserveResources(llvm::MachineInstr *MI); 79 void reserveResources(llvm::MachineInstr *MI); 99 std::vector<MachineInstr*> CurrentPacketMIs; 121 void addToPacket(MachineInstr *MI); 124 void endPacket(MachineBasicBlock *MBB, MachineInstr *I); 127 bool ignorePseudoInstruction(MachineInstr *I, MachineBasicBlock *MBB); 131 bool isSoloInstruction(MachineInstr *I);
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonAsmPrinter.h | 39 virtual void EmitInstruction(const MachineInstr *MI); 43 void printOperand(const MachineInstr *MI, unsigned OpNo, raw_ostream &O); 44 bool PrintAsmOperand(const MachineInstr *MI, unsigned OpNo, 47 bool PrintAsmMemoryOperand(const MachineInstr *MI, unsigned OpNo, 55 void printInstruction(const MachineInstr *MI, raw_ostream &O); 69 void printImmOperand(const MachineInstr *MI, unsigned OpNo, in printImmOperand() 75 void printNegImmOperand(const MachineInstr *MI, unsigned OpNo, in printNegImmOperand() 81 void printMEMriOperand(const MachineInstr *MI, unsigned OpNo, in printMEMriOperand() 91 void printFrameIndexOperand(const MachineInstr *MI, unsigned OpNo, in printFrameIndexOperand() 101 void printBranchOperand(const MachineInstr *MI, unsigned OpNo, in printBranchOperand() [all …]
|
D | HexagonInstrInfo.h | 45 virtual unsigned isLoadFromStackSlot(const MachineInstr *MI, 53 virtual unsigned isStoreToStackSlot(const MachineInstr *MI, 83 SmallVectorImpl<MachineInstr*> &NewMIs) const; 94 SmallVectorImpl<MachineInstr*> &NewMIs) const; 96 virtual MachineInstr* foldMemoryOperandImpl(MachineFunction &MF, 97 MachineInstr* MI, 101 virtual MachineInstr* foldMemoryOperandImpl(MachineFunction &MF, in foldMemoryOperandImpl() 102 MachineInstr* MI, in foldMemoryOperandImpl() 104 MachineInstr* LoadMI) const { in foldMemoryOperandImpl() 110 virtual bool isPredicable(MachineInstr *MI) const; [all …]
|
D | HexagonMachineFunctionInfo.h | 29 std::vector<MachineInstr*> AllocaAdjustInsts; 33 std::map<const MachineInstr*, unsigned> PacketInfo; 45 void addAllocaAdjustInst(MachineInstr* MI) { in addAllocaAdjustInst() 48 const std::vector<MachineInstr*>& getAllocaAdjustInsts() { in getAllocaAdjustInsts() 55 void setStartPacket(MachineInstr* MI) { in setStartPacket() 58 void setEndPacket(MachineInstr* MI) { in setEndPacket() 61 bool isStartPacket(const MachineInstr* MI) const { in isStartPacket() 65 bool isEndPacket(const MachineInstr* MI) const { in isEndPacket()
|
/external/llvm/lib/Target/CellSPU/ |
D | SPUAsmPrinter.cpp | 51 void printInstruction(const MachineInstr *MI, raw_ostream &OS); 55 void EmitInstruction(const MachineInstr *MI) { in EmitInstruction() 63 void printOperand(const MachineInstr *MI, unsigned OpNo, raw_ostream &O) { in printOperand() 74 bool PrintAsmOperand(const MachineInstr *MI, unsigned OpNo, 77 bool PrintAsmMemoryOperand(const MachineInstr *MI, unsigned OpNo, 83 printU7ImmOperand(const MachineInstr *MI, unsigned OpNo, raw_ostream &O) in printU7ImmOperand() 91 printShufAddr(const MachineInstr *MI, unsigned OpNo, raw_ostream &O) in printShufAddr() 101 printS16ImmOperand(const MachineInstr *MI, unsigned OpNo, raw_ostream &O) in printS16ImmOperand() 107 printU16ImmOperand(const MachineInstr *MI, unsigned OpNo, raw_ostream &O) in printU16ImmOperand() 113 printMemRegReg(const MachineInstr *MI, unsigned OpNo, raw_ostream &O) { in printMemRegReg() [all …]
|
/external/llvm/lib/Target/Mips/ |
D | MipsAsmPrinter.h | 26 class MachineInstr; variable 33 void EmitInstrWithMacroNoAT(const MachineInstr *MI); 52 void EmitInstruction(const MachineInstr *MI); 62 bool PrintAsmOperand(const MachineInstr *MI, unsigned OpNo, 65 bool PrintAsmMemoryOperand(const MachineInstr *MI, unsigned OpNum, 68 void printOperand(const MachineInstr *MI, int opNum, raw_ostream &O); 69 void printUnsignedImm(const MachineInstr *MI, int opNum, raw_ostream &O); 70 void printMemOperand(const MachineInstr *MI, int opNum, raw_ostream &O); 71 void printMemOperandEA(const MachineInstr *MI, int opNum, raw_ostream &O); 72 void printFCCOperand(const MachineInstr *MI, int opNum, raw_ostream &O, [all …]
|
D | MipsCodeEmitter.cpp | 83 uint64_t getBinaryCodeForInstr(const MachineInstr &MI) const; 85 void emitInstruction(const MachineInstr &MI); 102 unsigned getMachineOpValue(const MachineInstr &MI, 105 unsigned getRelocation(const MachineInstr &MI, 108 unsigned getJumpTargetOpValue(const MachineInstr &MI, unsigned OpNo) const; 110 unsigned getBranchTargetOpValue(const MachineInstr &MI, 112 unsigned getMemEncoding(const MachineInstr &MI, unsigned OpNo) const; 113 unsigned getSizeExtEncoding(const MachineInstr &MI, unsigned OpNo) const; 114 unsigned getSizeInsEncoding(const MachineInstr &MI, unsigned OpNo) const; 116 int emitULW(const MachineInstr &MI); [all …]
|
/external/llvm/lib/CodeGen/ |
D | MachineLICM.cpp | 103 DenseMap<unsigned, std::vector<const MachineInstr*> > CSEMap; 144 for (DenseMap<unsigned,std::vector<const MachineInstr*> >::iterator in releaseMemory() 153 MachineInstr *MI; 156 CandidateInfo(MachineInstr *mi, unsigned def, int fi) in CandidateInfo() 167 void HoistPostRA(MachineInstr *MI, unsigned Def); 171 void ProcessMI(MachineInstr *MI, 184 bool IsLICMCandidate(MachineInstr &I); 191 bool IsLoopInvariantInst(MachineInstr &I); 195 bool HasLoopPHIUse(const MachineInstr *MI) const; 200 bool HasHighOperandLatency(MachineInstr &MI, unsigned DefIdx, [all …]
|
D | PeepholeOptimizer.cpp | 98 bool OptimizeBitcastInstr(MachineInstr *MI, MachineBasicBlock *MBB); 99 bool OptimizeCmpInstr(MachineInstr *MI, MachineBasicBlock *MBB); 100 bool OptimizeExtInstr(MachineInstr *MI, MachineBasicBlock *MBB, 101 SmallPtrSet<MachineInstr*, 8> &LocalMIs); 102 bool isMoveImmediate(MachineInstr *MI, 104 DenseMap<unsigned, MachineInstr*> &ImmDefMIs); 105 bool FoldImmediate(MachineInstr *MI, MachineBasicBlock *MBB, 107 DenseMap<unsigned, MachineInstr*> &ImmDefMIs); 129 OptimizeExtInstr(MachineInstr *MI, MachineBasicBlock *MBB, in INITIALIZE_PASS_DEPENDENCY() 130 SmallPtrSet<MachineInstr*, 8> &LocalMIs) { in INITIALIZE_PASS_DEPENDENCY() [all …]
|
D | TwoAddressInstructionPass.cpp | 75 DenseMap<MachineInstr*, unsigned> DistanceMap; 89 SmallVector<MachineInstr*, 16> RegSequences; 91 bool Sink3AddrInstruction(MachineBasicBlock *MBB, MachineInstr *MI, 96 MachineInstr *MI, MachineInstr *DefMI, 102 MachineInstr *FindLastUseInMBB(unsigned Reg, MachineBasicBlock *MBB, 106 MachineInstr *MI, MachineBasicBlock *MBB, 120 typedef std::pair<std::pair<unsigned, bool>, MachineInstr*> NewKill; 129 MachineInstr *MI, MachineBasicBlock *MBB); 145 SmallPtrSet<MachineInstr*, 8> &Processed); 148 SmallPtrSet<MachineInstr*, 8> &Processed); [all …]
|
D | MachineSSAUpdater.cpp | 38 SmallVectorImpl<MachineInstr*> *NewPHI) in MachineSSAUpdater() 112 MachineInstr *InsertNewDef(unsigned Opcode, in InsertNewDef() 149 MachineInstr *NewDef = InsertNewDef(TargetOpcode::IMPLICIT_DEF, in GetValueInMiddleOfBlock() 186 MachineInstr *InsertedPHI = InsertNewDef(TargetOpcode::PHI, BB, in GetValueInMiddleOfBlock() 209 MachineBasicBlock *findCorrespondingPred(const MachineInstr *MI, in findCorrespondingPred() 222 MachineInstr *UseMI = U.getParent(); in RewriteUse() 249 MachineInstr *PHI; 253 explicit MachinePHIiter(MachineInstr *P) // begin iterator in MachinePHIiter() 255 MachinePHIiter(MachineInstr *P, bool) // end iterator in MachinePHIiter() 276 typedef MachineInstr PhiT; [all …]
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCCodeEmitter.cpp | 53 uint64_t getBinaryCodeForInstr(const MachineInstr &MI) const; 60 unsigned getMachineOpValue(const MachineInstr &MI, 63 unsigned get_crbitm_encoding(const MachineInstr &MI, unsigned OpNo) const; 64 unsigned getDirectBrEncoding(const MachineInstr &MI, unsigned OpNo) const; 65 unsigned getCondBrEncoding(const MachineInstr &MI, unsigned OpNo) const; 67 unsigned getHA16Encoding(const MachineInstr &MI, unsigned OpNo) const; 68 unsigned getLO16Encoding(const MachineInstr &MI, unsigned OpNo) const; 69 unsigned getMemRIEncoding(const MachineInstr &MI, unsigned OpNo) const; 70 unsigned getMemRIXEncoding(const MachineInstr &MI, unsigned OpNo) const; 114 const MachineInstr &MI = *I; in emitBasicBlock() [all …]
|
/external/llvm/lib/Target/Sparc/ |
D | SparcAsmPrinter.cpp | 40 void printOperand(const MachineInstr *MI, int opNum, raw_ostream &OS); 41 void printMemOperand(const MachineInstr *MI, int opNum, raw_ostream &OS, 43 void printCCOperand(const MachineInstr *MI, int opNum, raw_ostream &OS); 45 virtual void EmitInstruction(const MachineInstr *MI) { in EmitInstruction() 51 void printInstruction(const MachineInstr *MI, raw_ostream &OS);// autogen'd. 54 bool PrintAsmOperand(const MachineInstr *MI, unsigned OpNo, 57 bool PrintAsmMemoryOperand(const MachineInstr *MI, unsigned OpNo, 61 bool printGetPCX(const MachineInstr *MI, unsigned OpNo, raw_ostream &OS); 66 virtual MachineLocation getDebugValueLocation(const MachineInstr *MI) const; 72 void SparcAsmPrinter::printOperand(const MachineInstr *MI, int opNum, in printOperand() [all …]
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430AsmPrinter.cpp | 49 void printOperand(const MachineInstr *MI, int OpNum, 51 void printSrcMemOperand(const MachineInstr *MI, int OpNum, 53 bool PrintAsmOperand(const MachineInstr *MI, unsigned OpNo, 56 bool PrintAsmMemoryOperand(const MachineInstr *MI, 59 void EmitInstruction(const MachineInstr *MI); 64 void MSP430AsmPrinter::printOperand(const MachineInstr *MI, int OpNum, in printOperand() 111 void MSP430AsmPrinter::printSrcMemOperand(const MachineInstr *MI, int OpNum, in printSrcMemOperand() 133 bool MSP430AsmPrinter::PrintAsmOperand(const MachineInstr *MI, unsigned OpNo, in PrintAsmOperand() 144 bool MSP430AsmPrinter::PrintAsmMemoryOperand(const MachineInstr *MI, in PrintAsmMemoryOperand() 156 void MSP430AsmPrinter::EmitInstruction(const MachineInstr *MI) { in EmitInstruction()
|