/external/llvm/lib/Transforms/Instrumentation/ |
MaximumSpanningTree.h | 25 /// MaximumSpanningTree - A MST implementation. 36 MaxSpanTree MST; 94 // the edge to the MST. 95 MST.push_back(e); 101 return MST.begin(); 105 return MST.end();
|
PGOInstrumentation.cpp | 1 //===-- PGOInstrumentation.cpp - MST-based PGO Instrumentation ------------===// 47 // The MST implementation is in Class CFGMST (CFGMST.h). 199 /// \brief An MST based instrumentation for PGO 201 /// Implements a Minimum Spanning Tree (MST) based instrumentation for PGO 249 CFGMST<Edge, BBInfo> MST; 256 BBInfo &getBBInfo(const BasicBlock *BB) const { return MST.getBBInfo(BB); } 260 MST.dumpEdges(dbgs(), Twine("Dump Function ") + FuncName + " Hash: " + 267 : F(Func), FunctionHash(0), MST(F, BPI, BFI) { 272 NumOfPGOBB += MST.BBInfos.size(); 273 for (auto &E : MST.AllEdges) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
MaximumSpanningTree.h | 25 /// MaximumSpanningTree - A MST implementation. 36 MaxSpanTree MST; 94 // the edge to the MST. 95 MST.push_back(e); 101 return MST.begin(); 105 return MST.end();
|
PGOInstrumentation.cpp | 1 //===- PGOInstrumentation.cpp - MST-based PGO Instrumentation -------------===// 47 // The MST implementation is in Class CFGMST (CFGMST.h). 452 /// An MST based instrumentation for PGO 454 /// Implements a Minimum Spanning Tree (MST) based instrumentation for PGO 512 CFGMST<Edge, BBInfo> MST; 519 BBInfo &getBBInfo(const BasicBlock *BB) const { return MST.getBBInfo(BB); } 522 BBInfo *findBBInfo(const BasicBlock *BB) const { return MST.findBBInfo(BB); } 526 MST.dumpEdges(dbgs(), Twine("Dump Function ") + FuncName + " Hash: " + 536 SIVisitor(Func), MIVisitor(Func), MST(F, BPI, BFI) { 551 NumOfPGOBB += MST.BBInfos.size() [all...] |
/external/llvm/unittests/IR/ |
ValueTest.cpp | 135 ModuleSlotTracker MST(M.get()); 148 INST->print(OS, MST); \ 167 INST->printAsOperand(OS, TYPE, MST); \ 205 ModuleSlotTracker MST(M.get()); 206 MST.incorporateFunction(*F); 207 EXPECT_EQ(MST.getLocalSlot(I0), 0); 208 EXPECT_EQ(MST.getLocalSlot(I1), 1); 209 EXPECT_EQ(MST.getLocalSlot(&EntryBB), -1); 210 EXPECT_EQ(MST.getLocalSlot(BB2), 2); 233 ModuleSlotTracker MST(M.get()) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/ |
ValueTest.cpp | 146 ModuleSlotTracker MST(M.get()); 159 INST->print(OS, MST); \ 178 INST->printAsOperand(OS, TYPE, MST); \ 218 ModuleSlotTracker MST(M.get()); 219 MST.incorporateFunction(*F); 220 EXPECT_EQ(MST.getLocalSlot(I0), 0); 221 EXPECT_EQ(MST.getLocalSlot(I1), 1); 222 EXPECT_EQ(MST.getLocalSlot(&EntryBB), -1); 223 EXPECT_EQ(MST.getLocalSlot(BB2), 2); 246 ModuleSlotTracker MST(M.get()) [all...] |
/external/llvm/lib/CodeGen/ |
MIRPrinter.cpp | 83 void convert(ModuleSlotTracker &MST, yaml::MachineFrameInfo &YamlMFI, 87 void convert(ModuleSlotTracker &MST, yaml::MachineJumpTable &YamlJTI, 91 ModuleSlotTracker &MST, 102 ModuleSlotTracker &MST; 107 MIPrinter(raw_ostream &OS, ModuleSlotTracker &MST, 110 : OS(OS), MST(MST), RegisterMaskIds(RegisterMaskIds), 180 ModuleSlotTracker MST(MF.getFunction()->getParent()); 181 MST.incorporateFunction(*MF.getFunction()); 182 convert(MST, YamlMF.FrameInfo, *MF.getFrameInfo()) [all...] |
MachineInstr.cpp | 313 void MachineOperand::print(raw_ostream &OS, ModuleSlotTracker &MST, 408 getGlobal()->printAsOperand(OS, /*PrintType=*/false, MST); 419 getBlockAddress()->printAsOperand(OS, /*PrintType=*/false, MST); 448 getMetadata()->printAsOperand(OS, MST); 548 void MachineMemOperand::print(raw_ostream &OS, ModuleSlotTracker &MST) const { 564 V->printAsOperand(OS, /*PrintType=*/false, MST); 592 TBAAInfo->getOperand(0)->printAsOperand(OS, MST); 603 ScopeInfo->getOperand(i)->printAsOperand(OS, MST); 617 NoAliasInfo->getOperand(i)->printAsOperand(OS, MST); [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/Instrumentation/ |
MaximumSpanningTree.h | 25 /// MaximumSpanningTree - A MST implementation. 60 MaxSpanTree MST; 91 // the edge to the MST. 92 MST.push_back(e); 98 return MST.begin(); 102 return MST.end();
|
OptimalEdgeProfiling.cpp | 126 // Instrument all of the edges not in MST... 137 // actual MST is returned but the edges _not_ in the MST. 142 MaximumSpanningTree<BasicBlock> MST(EdgeVector); 143 std::stable_sort(MST.begin(), MST.end()); 145 // Check if (0,entry) not in the MST. If not, instrument edge 147 // the edge is in the MST the counter is initialised to -1. 151 if (!std::binary_search(MST.begin(), MST.end(), edge)) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
MIRPrinter.cpp | 123 void convert(ModuleSlotTracker &MST, yaml::MachineFrameInfo &YamlMFI, 127 void convert(ModuleSlotTracker &MST, yaml::MachineJumpTable &YamlJTI, 130 const MachineFunction &MF, ModuleSlotTracker &MST); 140 ModuleSlotTracker &MST; 150 MIPrinter(raw_ostream &OS, ModuleSlotTracker &MST, 153 : OS(OS), MST(MST), RegisterMaskIds(RegisterMaskIds), 209 ModuleSlotTracker MST(MF.getFunction().getParent()); 210 MST.incorporateFunction(MF.getFunction()); 211 convert(MST, YamlMF.FrameInfo, MF.getFrameInfo()) [all...] |
MachineOperand.cpp | 423 ModuleSlotTracker &MST) { 431 if (F == MST.getCurrentFunction()) { 432 Slot = MST.getLocalSlot(&BB); 446 ModuleSlotTracker &MST) { 448 V.printAsOperand(OS, /*PrintType=*/false, MST); 454 V.printAsOperand(OS, /*PrintType=*/true, MST); 463 MachineOperand::printIRSlotNumber(OS, MST.getLocalSlot(&V)); 720 void MachineOperand::print(raw_ostream &OS, ModuleSlotTracker &MST, 787 getCImm()->printAsOperand(OS, /*PrintType=*/true, MST); 790 getFPImm()->printAsOperand(OS, /*PrintType=*/true, MST); [all...] |
MachineInstr.cpp | [all...] |
MachineBasicBlock.cpp | 273 ModuleSlotTracker MST(M); 274 MST.incorporateFunction(F); 275 print(OS, MST, Indexes, IsStandalone); 278 void MachineBasicBlock::print(raw_ostream &OS, ModuleSlotTracker &MST, 299 int Slot = MST.getLocalSlot(BB); 411 MI.print(OS, MST, IsStandalone, /*SkipOpers=*/false, /*SkipDebugLoc=*/false, [all...] |
/device/linaro/bootloader/edk2/Omap35xxPkg/Include/Omap3530/ |
Omap3530I2c.h | 46 #define MST BIT10
|
/device/linaro/bootloader/edk2/Omap35xxPkg/SmbusDxe/ |
Smbus.c | 91 MmioOr16(I2C_CON, MST);
169 MmioWrite16(I2C_CON, (I2C_EN | MST | STP | STT));
200 MmioWrite16(I2C_CON, (I2C_EN | TRX | MST | STT | STP));
|
/external/llvm/lib/IR/ |
AsmWriter.cpp | [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
MachineMemOperand.h | 297 void print(raw_ostream &OS, ModuleSlotTracker &MST) const; 298 void print(raw_ostream &OS, ModuleSlotTracker &MST,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
AsmWriter.cpp | [all...] |
/external/llvm/include/llvm/CodeGen/ |
MachineMemOperand.h | 211 void print(raw_ostream &OS, ModuleSlotTracker &MST) const;
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/CodeGen/ |
MachineOperandTest.cpp | 298 ModuleSlotTracker MST(&M); 314 MO.print(OS, MST, LLT{}, /*PrintDef=*/false, /*IsStandalone=*/false,
|
/external/llvm/include/llvm/IR/ |
Value.h | 209 void print(raw_ostream &O, ModuleSlotTracker &MST, 223 ModuleSlotTracker &MST) const;
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
Value.h | 227 void print(raw_ostream &O, ModuleSlotTracker &MST, 241 ModuleSlotTracker &MST) const;
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
Value.h | 212 void print(raw_ostream &O, ModuleSlotTracker &MST, 226 ModuleSlotTracker &MST) const;
|
/external/llvm/lib/CodeGen/MIRParser/ |
MIParser.cpp | [all...] |