Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/CodeGen/
DCFIInstrInserter.cpp113 void calculateOutgoingCFAInfo(MBBCFAInfo &MBBInfo);
116 void updateSuccCFAInfo(MBBCFAInfo &MBBInfo);
160 MBBCFAInfo MBBInfo; in calculateCFAInfo() local
161 MBBInfo.MBB = &MBB; in calculateCFAInfo()
162 MBBInfo.IncomingCFAOffset = InitialOffset; in calculateCFAInfo()
163 MBBInfo.OutgoingCFAOffset = InitialOffset; in calculateCFAInfo()
164 MBBInfo.IncomingCFARegister = InitialRegister; in calculateCFAInfo()
165 MBBInfo.OutgoingCFARegister = InitialRegister; in calculateCFAInfo()
166 MBBInfo.IncomingCSRSaved.resize(NumRegs); in calculateCFAInfo()
167 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/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-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-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/llvm-project/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;
408 void MipsBranchExpansion::expandToLongBranch(MBBInfo &I) { in expandToLongBranch()
824 SmallVectorImpl<MBBInfo>::iterator I, E = MBBInfos.end(); in handlePossibleLongBranch()
/external/llvm-project/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/llvm/lib/Target/SystemZ/
DSystemZLongBranch.cpp74 struct MBBInfo { struct
89 MBBInfo() in MBBInfo() function
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/llvm-project/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/llvm/lib/Target/ARM/
DThumb2SizeReduction.cpp202 struct MBBInfo { struct in __anon007715510111::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-10.0/llvm/lib/Target/ARM/
DThumb2SizeReduction.cpp223 struct MBBInfo { struct in __anon08f845f30111::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-project/llvm/lib/Target/ARM/
DThumb2SizeReduction.cpp223 struct MBBInfo { struct in __anon567e51df0111::Thumb2SizeReduce
229 MBBInfo() = default;
232 SmallVector<MBBInfo, 8> BlockInfo;
1051 const MBBInfo &PInfo = BlockInfo[Pred->getNumber()]; in ReduceMBB()
1123 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/llvm-project/llvm/lib/CodeGen/MIRParser/
DMIParser.cpp1826 auto MBBInfo = PFS.MBBSlots.find(Number); in parseMBBReference() local
1827 if (MBBInfo == PFS.MBBSlots.end()) in parseMBBReference()
1830 MBB = MBBInfo->second; in parseMBBReference()