Home
last modified time | relevance | path

Searched refs:VirtRegMap (Results 1 – 25 of 56) sorted by relevance

123

/external/swiftshader/third_party/LLVM/lib/CodeGen/
DVirtRegMap.cpp51 char VirtRegMap::ID = 0;
53 INITIALIZE_PASS(VirtRegMap, "virtregmap", "Virtual Register Map", false, false)
55 bool VirtRegMap::runOnMachineFunction(MachineFunction &mf) { in runOnMachineFunction()
92 void VirtRegMap::grow() { in grow()
103 unsigned VirtRegMap::createSpillSlot(const TargetRegisterClass *RC) { in createSpillSlot()
118 unsigned VirtRegMap::getRegAllocPref(unsigned virtReg) { in getRegAllocPref()
129 int VirtRegMap::assignVirt2StackSlot(unsigned virtReg) { in assignVirt2StackSlot()
137 void VirtRegMap::assignVirt2StackSlot(unsigned virtReg, int SS) { in assignVirt2StackSlot()
147 int VirtRegMap::assignVirtReMatId(unsigned virtReg) { in assignVirtReMatId()
155 void VirtRegMap::assignVirtReMatId(unsigned virtReg, int id) { in assignVirtReMatId()
[all …]
DSpiller.cpp55 VirtRegMap *vrm;
63 SpillerBase(MachineFunctionPass &pass, MachineFunction &mf, VirtRegMap &vrm) in SpillerBase()
180 VirtRegMap &vrm) in TrivialSpiller()
200 VirtRegMap *vrm;
203 VirtRegMap &vrm) in StandardSpiller()
220 if (SS == VirtRegMap::NO_STACK_SLOT) in spill()
234 VirtRegMap &vrm) { in createSpiller()
DVirtRegRewriter.cpp93 bool runOnMachineFunction(MachineFunction &MF, VirtRegMap &VRM, in runOnMachineFunction()
214 if (SlotOrReMat > VirtRegMap::MAX_STACK_SLOT) in addAvailable()
216 << SlotOrReMat-VirtRegMap::MAX_STACK_SLOT-1); in addAvailable()
424 VirtRegMap &VRM);
442 VirtRegMap &VRM) { in GetRegForReload()
679 VirtRegMap &VRM) { in ReMaterialize()
759 if (SlotOrReMat > VirtRegMap::MAX_STACK_SLOT) in ClobberPhysRegOnly()
760 DEBUG(dbgs() << "RM#" << SlotOrReMat-VirtRegMap::MAX_STACK_SLOT-1 <<"\n"); in ClobberPhysRegOnly()
873 VirtRegMap &VRM) { in GetRegForReload()
932 bool DoReMat = NewOp.StackSlotOrReMat > VirtRegMap::MAX_STACK_SLOT; in GetRegForReload()
[all …]
DSpiller.h18 class VirtRegMap; variable
36 VirtRegMap &vrm);
42 VirtRegMap &vrm);
DSplitKit.h35 class VirtRegMap; variable
44 const VirtRegMap &VRM;
119 SplitAnalysis(const VirtRegMap &vrm, const LiveIntervals &lis,
206 VirtRegMap &VRM;
344 SplitEditor(SplitAnalysis &SA, LiveIntervals&, VirtRegMap&,
DLiveRangeEdit.h31 class VirtRegMap; variable
129 LiveInterval &createFrom(unsigned OldReg, LiveIntervals&, VirtRegMap&);
133 LiveInterval &create(LiveIntervals &LIS, VirtRegMap &VRM) { in create()
195 LiveIntervals&, VirtRegMap&,
DRegAllocBase.h48 class VirtRegMap; variable
93 VirtRegMap *VRM;
107 void init(VirtRegMap &vrm, LiveIntervals &lis);
DVirtRegRewriter.h16 class VirtRegMap; variable
22 virtual bool runOnMachineFunction(MachineFunction &MF, VirtRegMap &VRM,
DVirtRegMap.h40 class VirtRegMap : public MachineFunctionPass {
141 VirtRegMap(const VirtRegMap&); // DO NOT IMPLEMENT
142 void operator=(const VirtRegMap&); // DO NOT IMPLEMENT
146 VirtRegMap() : MachineFunctionPass(ID), Virt2PhysMap(NO_PHYS_REG), in VirtRegMap() function
522 inline raw_ostream &operator<<(raw_ostream &OS, const VirtRegMap &VRM) {
DLiveDebugVariables.h30 class VirtRegMap; variable
55 void emitDebugValues(VirtRegMap *VRM);
DAllocationOrder.h23 class VirtRegMap; variable
40 const VirtRegMap &VRM,
DLiveIntervalAnalysis.cpp153 VirtRegMap &vrm, unsigned reg) { in conflictsWithPhysReg()
1062 MRInfo |= (unsigned)VirtRegMap::isMod; in FilterFoldedOps()
1066 MRInfo = VirtRegMap::isModRef; in FilterFoldedOps()
1069 MRInfo |= (unsigned)VirtRegMap::isRef; in FilterFoldedOps()
1082 VirtRegMap &vrm, MachineInstr *DefMI, in tryFoldMemoryOperand()
1104 if (DefMI && (MRInfo & VirtRegMap::isMod)) in tryFoldMemoryOperand()
1116 vrm.virtFolded(Reg, MI, fmi, (VirtRegMap::ModRef)MRInfo); in tryFoldMemoryOperand()
1142 if (ReMat && (MRInfo & VirtRegMap::isMod)) in canFoldMemoryOperand()
1171 VirtRegMap &vrm) { in rewriteImplicitOps()
1200 VirtRegMap &vrm, in rewriteInstructionForSpills()
[all …]
/external/llvm/lib/CodeGen/
DVirtRegMap.cpp50 char VirtRegMap::ID = 0;
52 INITIALIZE_PASS(VirtRegMap, "virtregmap", "Virtual Register Map", false, false)
54 bool VirtRegMap::runOnMachineFunction(MachineFunction &mf) { in runOnMachineFunction()
68 void VirtRegMap::grow() { in grow()
75 unsigned VirtRegMap::createSpillSlot(const TargetRegisterClass *RC) { in createSpillSlot()
82 bool VirtRegMap::hasPreferredPhys(unsigned VirtReg) { in hasPreferredPhys()
91 bool VirtRegMap::hasKnownPreference(unsigned VirtReg) { in hasKnownPreference()
100 int VirtRegMap::assignVirt2StackSlot(unsigned virtReg) { in assignVirt2StackSlot()
108 void VirtRegMap::assignVirt2StackSlot(unsigned virtReg, int SS) { in assignVirt2StackSlot()
118 void VirtRegMap::print(raw_ostream &OS, const Module*) const { in print()
[all …]
DRegAllocBase.h47 class VirtRegMap; variable
63 VirtRegMap *VRM;
80 void init(VirtRegMap &vrm, LiveIntervals &lis, LiveRegMatrix &mat);
DSplitKit.h37 class VirtRegMap; variable
80 const VirtRegMap &VRM;
150 SplitAnalysis(const VirtRegMap &vrm, const LiveIntervals &lis,
240 VirtRegMap &VRM;
385 VirtRegMap&, MachineDominatorTree&,
DSpiller.h18 class VirtRegMap; variable
39 VirtRegMap &vrm);
DRegAllocPBQP.cpp136 void initializeGraph(PBQPRAGraph &G, VirtRegMap &VRM, Spiller &VRegSpiller);
140 MachineFunction &MF, LiveIntervals &LIS, VirtRegMap &VRM,
147 VirtRegMap &VRM,
153 VirtRegMap &VRM) const;
525 au.addRequired<VirtRegMap>(); in getAnalysisUsage()
526 au.addPreserved<VirtRegMap>(); in getAnalysisUsage()
561 void RegAllocPBQP::initializeGraph(PBQPRAGraph &G, VirtRegMap &VRM, in initializeGraph()
638 VirtRegMap &VRM, Spiller &VRegSpiller) { in spillVReg()
665 VirtRegMap &VRM, in mapPBQPToRegAlloc()
704 VirtRegMap &VRM) const { in finalizeAlloc()
[all …]
DLiveDebugVariables.h32 class VirtRegMap; variable
59 void emitDebugValues(VirtRegMap *VRM);
DAllocationOrder.h26 class VirtRegMap; variable
40 const VirtRegMap &VRM,
DLiveRegMatrix.cpp35 INITIALIZE_PASS_DEPENDENCY(VirtRegMap) in INITIALIZE_PASS_DEPENDENCY()
45 AU.addRequiredTransitive<VirtRegMap>(); in getAnalysisUsage()
52 VRM = &getAnalysis<VirtRegMap>(); in runOnMachineFunction()
/external/llvm/include/llvm/CodeGen/
DVirtRegMap.h32 class VirtRegMap : public MachineFunctionPass {
66 VirtRegMap(const VirtRegMap&) = delete;
67 void operator=(const VirtRegMap&) = delete;
71 VirtRegMap() : MachineFunctionPass(ID), Virt2PhysMap(NO_PHYS_REG), in VirtRegMap() function
184 inline raw_ostream &operator<<(raw_ostream &OS, const VirtRegMap &VRM) {
DCalcSpillWeights.h23 class VirtRegMap; variable
55 VirtRegMap *VRM;
63 VirtRegMap *vrm, const MachineLoopInfo &loops,
75 VirtRegMap *VRM,
DLiveRangeEdit.h35 class VirtRegMap; variable
65 VirtRegMap *VRM;
127 MachineFunction &MF, LiveIntervals &lis, VirtRegMap *vrm,
DLiveRegMatrix.h36 class VirtRegMap; variable
41 VirtRegMap *VRM;
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DLiveIntervalAnalysis.h44 class VirtRegMap; variable
133 bool conflictsWithPhysReg(const LiveInterval &li, VirtRegMap &vrm,
280 const MachineLoopInfo *loopInfo, VirtRegMap& vrm);
286 unsigned PhysReg, VirtRegMap &vrm);
386 bool tryFoldMemoryOperand(MachineInstr* &MI, VirtRegMap &vrm,
425 void handleSpilledImpDefs(const LiveInterval &li, VirtRegMap &vrm,
432 MachineInstr *MI, unsigned NewVReg, VirtRegMap &vrm);
442 VirtRegMap &vrm, const TargetRegisterClass* rc,
451 VirtRegMap &vrm, const TargetRegisterClass* rc,

123