Home
last modified time | relevance | path

Searched refs:MBBInfo (Results 1 – 23 of 23) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DCFIInstrInserter.cpp94 void calculateOutgoingCFAInfo(MBBCFAInfo &MBBInfo);
97 void updateSuccCFAInfo(MBBCFAInfo &MBBInfo);
138 MBBCFAInfo MBBInfo; in calculateCFAInfo() local
139 MBBInfo.MBB = &MBB; in calculateCFAInfo()
140 MBBInfo.IncomingCFAOffset = InitialOffset; in calculateCFAInfo()
141 MBBInfo.OutgoingCFAOffset = InitialOffset; in calculateCFAInfo()
142 MBBInfo.IncomingCFARegister = InitialRegister; in calculateCFAInfo()
143 MBBInfo.OutgoingCFARegister = InitialRegister; in calculateCFAInfo()
144 MBBVector[MBB.getNumber()] = MBBInfo; in calculateCFAInfo()
157 void CFIInstrInserter::calculateOutgoingCFAInfo(MBBCFAInfo &MBBInfo) { in calculateOutgoingCFAInfo() argument
[all …]
DLoopTraversal.cpp26 MBBInfos.assign(MF.getNumBlockIDs(), MBBInfo()); in traverse()
/external/swiftshader/third_party/llvm-16.0/llvm/lib/CodeGen/
DCFIInstrInserter.cpp110 void calculateOutgoingCFAInfo(MBBCFAInfo &MBBInfo);
113 void updateSuccCFAInfo(MBBCFAInfo &MBBInfo);
157 MBBCFAInfo &MBBInfo = MBBVector[MBB.getNumber()]; in calculateCFAInfo() local
158 MBBInfo.MBB = &MBB; in calculateCFAInfo()
159 MBBInfo.IncomingCFAOffset = InitialOffset; in calculateCFAInfo()
160 MBBInfo.OutgoingCFAOffset = InitialOffset; in calculateCFAInfo()
161 MBBInfo.IncomingCFARegister = InitialRegister; in calculateCFAInfo()
162 MBBInfo.OutgoingCFARegister = InitialRegister; in calculateCFAInfo()
163 MBBInfo.IncomingCSRSaved.resize(NumRegs); in calculateCFAInfo()
164 MBBInfo.OutgoingCSRSaved.resize(NumRegs); in calculateCFAInfo()
[all …]
DLoopTraversal.cpp26 MBBInfos.assign(MF.getNumBlockIDs(), MBBInfo()); in traverse()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86CondBrFolding.cpp139 TargetMBBInfo *MBBInfo = getMBBInfo(MBB); in findPath() local
140 assert(MBBInfo && "Expecting a candidate MBB"); in findPath()
141 int CmpValue = MBBInfo->CmpValue; in findPath()
147 if (!PredMBBInfo || PredMBBInfo->SrcReg != MBBInfo->SrcReg) in findPath()
220 TargetMBBInfo *MBBInfo = getMBBInfo(MBB); in replaceBrDest() local
222 if (MBBInfo->TBB == OrigDest) { in replaceBrDest()
223 BrMI = MBBInfo->BrInstr; in replaceBrDest()
226 .addMBB(NewDest).addImm(MBBInfo->BranchCode); in replaceBrDest()
227 MBBInfo->TBB = NewDest; in replaceBrDest()
228 MBBInfo->BrInstr = MIB.getInstr(); in replaceBrDest()
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/Mips/
DMipsOptimizePICCall.cpp64 class MBBInfo { class
66 MBBInfo(MachineDomTreeNode *N);
93 bool visitNode(MBBInfo &MBBI);
181 MBBInfo::MBBInfo(MachineDomTreeNode *N) : Node(N), HTScope(nullptr) {} in MBBInfo() function in MBBInfo
183 const MachineDomTreeNode *MBBInfo::getNode() const { return Node; } in getNode()
185 bool MBBInfo::isVisited() const { return HTScope; } in isVisited()
187 void MBBInfo::preVisit(ScopedHTType &ScopedHT) { in preVisit()
191 void MBBInfo::postVisit() { in postVisit()
204 SmallVector<MBBInfo, 8> WorkList(1, MBBInfo(MDT->getRootNode())); in runOnMachineFunction()
207 MBBInfo &MBBI = WorkList.back(); in runOnMachineFunction()
[all …]
DMipsBranchExpansion.cpp127 struct MBBInfo { struct
132 MBBInfo() = default;
163 void expandToLongBranch(MBBInfo &Info);
175 SmallVector<MBBInfo, 16> MBBInfos;
413 void MipsBranchExpansion::expandToLongBranch(MBBInfo &I) { in expandToLongBranch()
859 SmallVectorImpl<MBBInfo>::iterator I, E = MBBInfos.end(); in handlePossibleLongBranch()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsOptimizePICCall.cpp64 class MBBInfo { class
66 MBBInfo(MachineDomTreeNode *N);
93 bool visitNode(MBBInfo &MBBI);
181 MBBInfo::MBBInfo(MachineDomTreeNode *N) : Node(N), HTScope(nullptr) {} in MBBInfo() function in MBBInfo
183 const MachineDomTreeNode *MBBInfo::getNode() const { return Node; } in getNode()
185 bool MBBInfo::isVisited() const { return HTScope; } in isVisited()
187 void MBBInfo::preVisit(ScopedHTType &ScopedHT) { in preVisit()
191 void MBBInfo::postVisit() { in postVisit()
204 SmallVector<MBBInfo, 8> WorkList(1, MBBInfo(MDT->getRootNode())); in runOnMachineFunction()
207 MBBInfo &MBBI = WorkList.back(); in runOnMachineFunction()
[all …]
DMipsBranchExpansion.cpp126 struct MBBInfo { struct
131 MBBInfo() = default;
162 void expandToLongBranch(MBBInfo &Info);
170 SmallVector<MBBInfo, 16> MBBInfos;
399 void MipsBranchExpansion::expandToLongBranch(MBBInfo &I) { in expandToLongBranch()
815 SmallVectorImpl<MBBInfo>::iterator I, E = MBBInfos.end(); in handlePossibleLongBranch()
/external/llvm/lib/Target/Mips/
DMipsOptimizePICCall.cpp47 class MBBInfo { class
49 MBBInfo(MachineDomTreeNode *N);
75 bool visitNode(MBBInfo &MBBI);
161 MBBInfo::MBBInfo(MachineDomTreeNode *N) : Node(N), HTScope(nullptr) {} in MBBInfo() function in MBBInfo
163 const MachineDomTreeNode *MBBInfo::getNode() const { return Node; } in getNode()
165 bool MBBInfo::isVisited() const { return HTScope; } in isVisited()
167 void MBBInfo::preVisit(ScopedHTType &ScopedHT) { in preVisit()
171 void MBBInfo::postVisit() { in postVisit()
184 SmallVector<MBBInfo, 8> WorkList(1, MBBInfo(MDT->getRootNode())); in runOnMachineFunction()
187 MBBInfo &MBBI = WorkList.back(); in runOnMachineFunction()
[all …]
DMipsLongBranch.cpp53 struct MBBInfo { struct
58 MBBInfo() : Size(0), HasLongBranch(false), Br(nullptr) {} in MBBInfo() function
86 void expandToLongBranch(MBBInfo &Info);
90 SmallVector<MBBInfo, 16> MBBInfos;
255 void MipsLongBranch::expandToLongBranch(MBBInfo &I) { in expandToLongBranch()
481 SmallVectorImpl<MBBInfo>::iterator I, E = MBBInfos.end(); in runOnMachineFunction()
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/CodeGen/
DLoopTraversal.h67 struct MBBInfo { struct
80 MBBInfo() = default; argument
82 using MBBInfoMap = SmallVector<MBBInfo, 4>;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DLoopTraversal.h67 struct MBBInfo { struct
80 MBBInfo() = default; argument
82 using MBBInfoMap = SmallVector<MBBInfo, 4>;
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/AMDGPU/
DAMDGPUSetWavePriority.cpp36 struct MBBInfo { struct
37 MBBInfo() = default;
43 using MBBInfoSet = DenseMap<const MachineBasicBlock *, MBBInfo>;
131 MBBInfo &Info = MBBInfos[MBB]; in runOnMachineFunction()
155 MBBInfo &Info = MBBInfos[MBB]; in runOnMachineFunction()
/external/llvm/lib/Target/SystemZ/
DSystemZLongBranch.cpp74 struct MBBInfo { struct
89 MBBInfo() in MBBInfo() argument
147 void skipNonTerminators(BlockPosition &Position, MBBInfo &Block);
162 SmallVector<MBBInfo, 16> MBBs;
180 MBBInfo &Block) { in skipNonTerminators()
277 MBBInfo &Block = MBBs[I]; in initMBBInfo()
313 const MBBInfo &Target = MBBs[Terminator.TargetBlock]; in mustRelaxBranch()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZLongBranch.cpp80 struct MBBInfo { struct
95 MBBInfo() = default;
151 void skipNonTerminators(BlockPosition &Position, MBBInfo &Block);
166 SmallVector<MBBInfo, 16> MBBs;
181 MBBInfo &Block) { in skipNonTerminators()
281 MBBInfo &Block = MBBs[I]; in initMBBInfo()
317 const MBBInfo &Target = MBBs[Terminator.TargetBlock]; in mustRelaxBranch()
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/SystemZ/
DSystemZLongBranch.cpp80 struct MBBInfo { struct
95 MBBInfo() = default;
150 void skipNonTerminators(BlockPosition &Position, MBBInfo &Block);
165 SmallVector<MBBInfo, 16> MBBs;
183 MBBInfo &Block) { in skipNonTerminators()
297 MBBInfo &Block = MBBs[I]; in initMBBInfo()
333 const MBBInfo &Target = MBBs[Terminator.TargetBlock]; in mustRelaxBranch()
/external/llvm/lib/Target/ARM/
DThumb2SizeReduction.cpp202 struct MBBInfo { struct in __anona962fa070111::Thumb2SizeReduce
208 MBBInfo() : HighLatencyCPSR(false), Visited(false) {} in MBBInfo() argument
211 SmallVector<MBBInfo, 8> BlockInfo;
992 const MBBInfo &PInfo = BlockInfo[Pred->getNumber()]; in ReduceMBB()
1064 MBBInfo &Info = BlockInfo[MBB.getNumber()]; in ReduceMBB()
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/ARM/
DThumb2SizeReduction.cpp224 struct MBBInfo { struct in __anona800b2af0111::Thumb2SizeReduce
230 MBBInfo() = default;
233 SmallVector<MBBInfo, 8> BlockInfo;
1053 const MBBInfo &PInfo = BlockInfo[Pred->getNumber()]; in ReduceMBB()
1125 MBBInfo &Info = BlockInfo[MBB.getNumber()]; in ReduceMBB()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DThumb2SizeReduction.cpp223 struct MBBInfo { struct in __anon535b88290111::Thumb2SizeReduce
229 MBBInfo() = default;
232 SmallVector<MBBInfo, 8> BlockInfo;
1041 const MBBInfo &PInfo = BlockInfo[Pred->getNumber()]; in ReduceMBB()
1113 MBBInfo &Info = BlockInfo[MBB.getNumber()]; in ReduceMBB()
/external/llvm/lib/CodeGen/MIRParser/
DMIParser.cpp1098 auto MBBInfo = PFS.MBBSlots.find(Number); in parseMBBReference() local
1099 if (MBBInfo == PFS.MBBSlots.end()) in parseMBBReference()
1102 MBB = MBBInfo->second; in parseMBBReference()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/MIRParser/
DMIParser.cpp1772 auto MBBInfo = PFS.MBBSlots.find(Number); in parseMBBReference() local
1773 if (MBBInfo == PFS.MBBSlots.end()) in parseMBBReference()
1776 MBB = MBBInfo->second; in parseMBBReference()
/external/swiftshader/third_party/llvm-16.0/llvm/lib/CodeGen/MIRParser/
DMIParser.cpp2052 auto MBBInfo = PFS.MBBSlots.find(Number); in parseMBBReference() local
2053 if (MBBInfo == PFS.MBBSlots.end()) in parseMBBReference()
2056 MBB = MBBInfo->second; in parseMBBReference()