Searched refs:MachineBasicBlock (Results 1 - 25 of 385) sorted by relevance

1234567891011>>

/external/llvm/lib/CodeGen/
H A DPHIEliminationUtils.h13 #include "llvm/CodeGen/MachineBasicBlock.h"
20 MachineBasicBlock::iterator
21 findPHICopyInsertPoint(MachineBasicBlock* MBB, MachineBasicBlock* SuccMBB,
H A DBranchFolding.h14 #include "llvm/CodeGen/MachineBasicBlock.h"
35 MachineBasicBlock *Block;
37 MergePotentialsElt(unsigned h, MachineBasicBlock *b)
41 MachineBasicBlock *getBlock() const { return Block; }
43 void setBlock(MachineBasicBlock *MBB) {
51 SmallPtrSet<const MachineBasicBlock*, 2> TriedMerging;
55 MachineBasicBlock::iterator TailStartPos;
57 SameTailElt(MPIterator mp, MachineBasicBlock::iterator tsp)
66 MachineBasicBlock::iterator getTailStartPos() const {
72 MachineBasicBlock *getBloc
[all...]
H A DMachineBranchProbabilityInfo.cpp15 #include "llvm/CodeGen/MachineBasicBlock.h"
32 getSumForBlock(const MachineBasicBlock *MBB, uint32_t &Scale) const {
39 for (MachineBasicBlock::const_succ_iterator I = MBB->succ_begin(),
54 for (MachineBasicBlock::const_succ_iterator I = MBB->succ_begin(),
64 getEdgeWeight(const MachineBasicBlock *Src,
65 MachineBasicBlock::const_succ_iterator Dst) const {
73 getEdgeWeight(const MachineBasicBlock *Src,
74 const MachineBasicBlock *Dst) const {
81 MachineBranchProbabilityInfo::isEdgeHot(const MachineBasicBlock *Src,
82 const MachineBasicBlock *Ds
[all...]
/external/llvm/include/llvm/CodeGen/
H A DMachineBranchProbabilityInfo.h17 #include "llvm/CodeGen/MachineBasicBlock.h"
49 uint32_t getEdgeWeight(const MachineBasicBlock *Src,
50 const MachineBasicBlock *Dst) const;
54 uint32_t getEdgeWeight(const MachineBasicBlock *Src,
55 MachineBasicBlock::const_succ_iterator Dst) const;
60 uint32_t getSumForBlock(const MachineBasicBlock *MBB, uint32_t &Scale) const;
63 bool isEdgeHot(const MachineBasicBlock *Src,
64 const MachineBasicBlock *Dst) const;
68 MachineBasicBlock *getHotSucc(MachineBasicBlock *MB
[all...]
H A DMachinePostDominators.h29 DominatorTreeBase<MachineBasicBlock> *DT;
40 const std::vector<MachineBasicBlock *> &getRoots() const {
48 MachineDomTreeNode *operator[](MachineBasicBlock *BB) const {
52 MachineDomTreeNode *getNode(MachineBasicBlock *BB) const {
61 bool dominates(const MachineBasicBlock *A, const MachineBasicBlock *B) const {
70 bool properlyDominates(const MachineBasicBlock *A,
71 const MachineBasicBlock *B) const {
75 MachineBasicBlock *findNearestCommonDominator(MachineBasicBlock *
[all...]
H A DMachineDominators.h18 #include "llvm/CodeGen/MachineBasicBlock.h"
27 inline void DominatorTreeBase<MachineBasicBlock>::addRoot(MachineBasicBlock* MBB) {
31 EXTERN_TEMPLATE_INSTANTIATION(class DomTreeNodeBase<MachineBasicBlock>);
32 EXTERN_TEMPLATE_INSTANTIATION(class DominatorTreeBase<MachineBasicBlock>);
34 typedef DomTreeNodeBase<MachineBasicBlock> MachineDomTreeNode;
43 DominatorTreeBase<MachineBasicBlock>* DT;
49 DominatorTreeBase<MachineBasicBlock>& getBase() { return *DT; }
57 inline const std::vector<MachineBasicBlock*> &getRoots() const {
61 inline MachineBasicBlock *getRoo
[all...]
H A DMachineLoopInfo.h34 #include "llvm/CodeGen/MachineBasicBlock.h"
42 __extension__ extern template class LoopBase<MachineBasicBlock, MachineLoop>;
45 class MachineLoop : public LoopBase<MachineBasicBlock, MachineLoop> {
52 MachineBasicBlock *getTopBlock();
57 MachineBasicBlock *getBottomBlock();
62 friend class LoopInfoBase<MachineBasicBlock, MachineLoop>;
63 explicit MachineLoop(MachineBasicBlock *MBB)
64 : LoopBase<MachineBasicBlock, MachineLoop>(MBB) {}
70 class LoopInfoBase<MachineBasicBlock, MachineLoop>;
74 LoopInfoBase<MachineBasicBlock, MachineLoo
[all...]
/external/llvm/lib/Target/Mips/
H A DMipsSEInstrInfo.h47 void copyPhysReg(MachineBasicBlock &MBB,
48 MachineBasicBlock::iterator MI, DebugLoc DL,
52 void storeRegToStack(MachineBasicBlock &MBB,
53 MachineBasicBlock::iterator MI,
59 void loadRegFromStack(MachineBasicBlock &MBB,
60 MachineBasicBlock::iterator MI,
66 bool expandPostRAPseudo(MachineBasicBlock::iterator MI) const override;
71 void adjustStackPtr(unsigned SP, int64_t Amount, MachineBasicBlock &MBB,
72 MachineBasicBlock::iterator I) const;
77 unsigned loadImmediate(int64_t Imm, MachineBasicBlock
[all...]
H A DMips16ISelLowering.h27 MachineBasicBlock *
29 MachineBasicBlock *MBB) const override;
51 MachineBasicBlock *emitSel16(unsigned Opc, MachineInstr *MI,
52 MachineBasicBlock *BB) const;
54 MachineBasicBlock *emitSeliT16(unsigned Opc1, unsigned Opc2,
56 MachineBasicBlock *BB) const;
58 MachineBasicBlock *emitSelT16(unsigned Opc1, unsigned Opc2,
60 MachineBasicBlock *BB) const;
62 MachineBasicBlock *emitFEXT_T8I816_ins(unsigned BtOpc, unsigned CmpOpc,
64 MachineBasicBlock *B
[all...]
H A DMipsInstrInfo.h54 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
55 MachineBasicBlock *&FBB,
59 unsigned RemoveBranch(MachineBasicBlock &MBB) const override;
61 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
62 MachineBasicBlock *FBB,
69 BranchType AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
70 MachineBasicBlock *
[all...]
H A DMipsSEISelLowering.h40 MachineBasicBlock *
42 MachineBasicBlock *MBB) const override;
78 MachineBasicBlock *emitBPOSGE32(MachineInstr *MI,
79 MachineBasicBlock *BB) const;
80 MachineBasicBlock *emitMSACBranchPseudo(MachineInstr *MI,
81 MachineBasicBlock *BB,
84 MachineBasicBlock *emitCOPY_FW(MachineInstr *MI,
85 MachineBasicBlock *BB) const;
87 MachineBasicBlock *emitCOPY_FD(MachineInstr *MI,
88 MachineBasicBlock *B
[all...]
H A DMips16InstrInfo.h46 void copyPhysReg(MachineBasicBlock &MBB,
47 MachineBasicBlock::iterator MI, DebugLoc DL,
51 void storeRegToStack(MachineBasicBlock &MBB,
52 MachineBasicBlock::iterator MBBI,
58 void loadRegFromStack(MachineBasicBlock &MBB,
59 MachineBasicBlock::iterator MBBI,
65 bool expandPostRAPseudo(MachineBasicBlock::iterator MI) const override;
70 void makeFrame(unsigned SP, int64_t FrameSize, MachineBasicBlock &MBB,
71 MachineBasicBlock::iterator I) const;
74 void restoreFrame(unsigned SP, int64_t FrameSize, MachineBasicBlock
[all...]
H A DMips16FrameLowering.h27 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
30 MachineBasicBlock &MBB,
31 MachineBasicBlock::iterator I) const override;
33 bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
34 MachineBasicBlock::iterator MI,
38 bool restoreCalleeSavedRegisters(MachineBasicBlock &MBB,
39 MachineBasicBlock::iterator MI,
/external/llvm/lib/Target/XCore/
H A DXCoreInstrInfo.h53 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
54 MachineBasicBlock *&FBB,
58 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
59 MachineBasicBlock *FBB,
63 unsigned RemoveBranch(MachineBasicBlock &MBB) const override;
65 void copyPhysReg(MachineBasicBlock &MBB,
66 MachineBasicBlock::iterator I, DebugLoc DL,
70 void storeRegToStackSlot(MachineBasicBlock
[all...]
H A DXCoreFrameLowering.h32 MachineBasicBlock &MBB) const override;
34 bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
35 MachineBasicBlock::iterator MI,
38 bool restoreCalleeSavedRegisters(MachineBasicBlock &MBB,
39 MachineBasicBlock::iterator MI,
44 MachineBasicBlock &MBB,
45 MachineBasicBlock::iterator I) const override;
/external/llvm/lib/Target/MSP430/
H A DMSP430InstrInfo.h55 void copyPhysReg(MachineBasicBlock &MBB,
56 MachineBasicBlock::iterator I, DebugLoc DL,
60 void storeRegToStackSlot(MachineBasicBlock &MBB,
61 MachineBasicBlock::iterator MI,
66 void loadRegFromStackSlot(MachineBasicBlock &MBB,
67 MachineBasicBlock::iterator MI,
78 bool AnalyzeBranch(MachineBasicBlock &MBB,
79 MachineBasicBlock *&TBB, MachineBasicBlock *&FBB,
83 unsigned RemoveBranch(MachineBasicBlock
[all...]
H A DMSP430FrameLowering.h31 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
34 MachineBasicBlock &MBB,
35 MachineBasicBlock::iterator I) const override;
37 bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
38 MachineBasicBlock::iterator MI,
41 bool restoreCalleeSavedRegisters(MachineBasicBlock &MBB,
42 MachineBasicBlock::iterator MI,
/external/llvm/lib/Target/Sparc/
H A DSparcInstrInfo.h66 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
67 MachineBasicBlock *&FBB,
71 unsigned RemoveBranch(MachineBasicBlock &MBB) const override;
73 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
74 MachineBasicBlock *FBB,
78 void copyPhysReg(MachineBasicBlock &MBB,
79 MachineBasicBlock::iterator I, DebugLoc DL,
83 void storeRegToStackSlot(MachineBasicBlock
[all...]
/external/llvm/lib/Target/Hexagon/
H A DHexagonFrameLowering.h28 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
29 bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
30 MachineBasicBlock::iterator MI,
36 MachineBasicBlock &MBB,
37 MachineBasicBlock::iterator I) const override;
40 restoreCalleeSavedRegisters(MachineBasicBlock &MBB,
41 MachineBasicBlock::iterator MI,
46 bool hasTailCall(MachineBasicBlock &MBB) const;
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
H A DSIISelLowering.h30 void AppendS_WAITCNT(MachineInstr *MI, MachineBasicBlock &BB,
31 MachineBasicBlock::iterator I) const;
32 void LowerSI_INTERP(MachineInstr *MI, MachineBasicBlock &BB,
33 MachineBasicBlock::iterator I, MachineRegisterInfo & MRI) const;
34 void LowerSI_INTERP_CONST(MachineInstr *MI, MachineBasicBlock &BB,
35 MachineBasicBlock::iterator I, MachineRegisterInfo &MRI) const;
36 void LowerSI_KIL(MachineInstr *MI, MachineBasicBlock &BB,
37 MachineBasicBlock::iterator I, MachineRegisterInfo & MRI) const;
38 void LowerSI_V_CNDLT(MachineInstr *MI, MachineBasicBlock &BB,
39 MachineBasicBlock
[all...]
/external/mesa3d/src/gallium/drivers/radeon/
H A DSIISelLowering.h30 void AppendS_WAITCNT(MachineInstr *MI, MachineBasicBlock &BB,
31 MachineBasicBlock::iterator I) const;
32 void LowerSI_INTERP(MachineInstr *MI, MachineBasicBlock &BB,
33 MachineBasicBlock::iterator I, MachineRegisterInfo & MRI) const;
34 void LowerSI_INTERP_CONST(MachineInstr *MI, MachineBasicBlock &BB,
35 MachineBasicBlock::iterator I, MachineRegisterInfo &MRI) const;
36 void LowerSI_KIL(MachineInstr *MI, MachineBasicBlock &BB,
37 MachineBasicBlock::iterator I, MachineRegisterInfo & MRI) const;
38 void LowerSI_V_CNDLT(MachineInstr *MI, MachineBasicBlock &BB,
39 MachineBasicBlock
[all...]
/external/llvm/lib/Target/ARM/
H A DThumb1FrameLowering.h31 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
33 bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
34 MachineBasicBlock::iterator MI,
37 bool restoreCalleeSavedRegisters(MachineBasicBlock &MBB,
38 MachineBasicBlock::iterator MI,
46 MachineBasicBlock &MBB,
47 MachineBasicBlock::iterator MI) const override;
H A DThumb2InstrInfo.h36 void ReplaceTailWithBranchTo(MachineBasicBlock::iterator Tail,
37 MachineBasicBlock *NewDest) const override;
39 bool isLegalToSplitMBBAt(MachineBasicBlock &MBB,
40 MachineBasicBlock::iterator MBBI) const override;
42 void copyPhysReg(MachineBasicBlock &MBB,
43 MachineBasicBlock::iterator I, DebugLoc DL,
47 void storeRegToStackSlot(MachineBasicBlock &MBB,
48 MachineBasicBlock::iterator MBBI,
53 void loadRegFromStackSlot(MachineBasicBlock &MBB,
54 MachineBasicBlock
[all...]
H A DThumb1InstrInfo.h41 void copyPhysReg(MachineBasicBlock &MBB,
42 MachineBasicBlock::iterator I, DebugLoc DL,
45 void storeRegToStackSlot(MachineBasicBlock &MBB,
46 MachineBasicBlock::iterator MBBI,
51 void loadRegFromStackSlot(MachineBasicBlock &MBB,
52 MachineBasicBlock::iterator MBBI,
/external/llvm/lib/Target/NVPTX/
H A DNVPTXFrameLowering.h29 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
32 MachineBasicBlock &MBB,
33 MachineBasicBlock::iterator I) const override;

Completed in 256 milliseconds

1234567891011>>