Searched defs:MST (Results 1 - 8 of 8) sorted by relevance

/external/llvm/lib/Transforms/Instrumentation/
H A DMaximumSpanningTree.h25 /// MaximumSpanningTree - A MST implementation.
36 MaxSpanTree MST; member in class:llvm::MaximumSpanningTree
94 // the edge to the MST.
95 MST.push_back(e);
101 return MST.begin();
105 return MST.end();
H A DPGOInstrumentation.cpp1 //===-- PGOInstrumentation.cpp - MST-based PGO Instrumentation ------------===//
44 // The MST implementation is in Class CFGMST (CFGMST.h).
166 /// \brief An MST based instrumentation for PGO
168 /// Implements a Minimum Spanning Tree (MST) based instrumentation for PGO
216 CFGMST<Edge, BBInfo> MST; member in class:__anon12890::FuncPGOInstrumentation
223 BBInfo &getBBInfo(const BasicBlock *BB) const { return MST.getBBInfo(BB); }
227 MST.dumpEdges(dbgs(), Twine("Dump Function ") + FuncName + " Hash: " +
234 : F(Func), FunctionHash(0), MST(F, BPI, BFI) {
239 NumOfPGOBB += MST.BBInfos.size();
240 for (auto &E : MST
[all...]
/external/llvm/lib/CodeGen/
H A DMIRPrinter.cpp81 void convert(ModuleSlotTracker &MST, yaml::MachineFrameInfo &YamlMFI,
85 void convert(ModuleSlotTracker &MST, yaml::MachineJumpTable &YamlJTI,
89 ModuleSlotTracker &MST,
100 ModuleSlotTracker &MST; member in class:llvm::MIPrinter
105 MIPrinter(raw_ostream &OS, ModuleSlotTracker &MST, argument
108 : OS(OS), MST(MST), RegisterMaskIds(RegisterMaskIds),
174 ModuleSlotTracker MST(MF.getFunction()->getParent());
175 MST.incorporateFunction(*MF.getFunction());
176 convert(MST, YamlM
241 convert(ModuleSlotTracker &MST, yaml::MachineFrameInfo &YamlMFI, const MachineFrameInfo &MFI) argument
269 convertStackObjects(yaml::MachineFunction &MF, const MachineFrameInfo &MFI, MachineModuleInfo &MMI, ModuleSlotTracker &MST, const TargetRegisterInfo *TRI) argument
393 convert(ModuleSlotTracker &MST, yaml::MachineJumpTable &YamlJTI, const MachineJumpTableInfo &JTI) argument
[all...]
H A DMachineBasicBlock.cpp253 ModuleSlotTracker MST(M);
254 print(OS, MST, Indexes);
257 void MachineBasicBlock::print(raw_ostream &OS, ModuleSlotTracker &MST, argument
274 LBB->printAsOperand(OS, /*PrintType=*/false, MST);
314 I->print(OS, MST);
H A DMachineInstr.cpp312 void MachineOperand::print(raw_ostream &OS, ModuleSlotTracker &MST, argument
401 getGlobal()->printAsOperand(OS, /*PrintType=*/false, MST);
412 getBlockAddress()->printAsOperand(OS, /*PrintType=*/false, MST);
441 getMetadata()->printAsOperand(OS, MST);
542 void MachineMemOperand::print(raw_ostream &OS, ModuleSlotTracker &MST) const {
558 V->printAsOperand(OS, /*PrintType=*/false, MST);
586 TBAAInfo->getOperand(0)->printAsOperand(OS, MST);
597 ScopeInfo->getOperand(i)->printAsOperand(OS, MST);
611 NoAliasInfo->getOperand(i)->printAsOperand(OS, MST);
1571 ModuleSlotTracker MST(
1575 print(raw_ostream &OS, ModuleSlotTracker &MST, bool SkipOpers) const argument
[all...]
/external/llvm/lib/CodeGen/MIRParser/
H A DMIParser.cpp1825 ModuleSlotTracker MST(F.getParent(), /*ShouldInitializeAllMetadata=*/false);
1826 MST.incorporateFunction(F);
1830 int Slot = MST.getLocalSlot(&BB);
1860 static void mapValueToSlot(const Value *V, ModuleSlotTracker &MST, argument
1862 int Slot = MST.getLocalSlot(V);
1871 ModuleSlotTracker MST(F.getParent(), /*ShouldInitializeAllMetadata=*/false);
1872 MST.incorporateFunction(F);
1874 mapValueToSlot(&Arg, MST, Slots2Values);
1876 mapValueToSlot(&BB, MST, Slots2Values);
1878 mapValueToSlot(&I, MST, Slots2Value
[all...]
/external/llvm/lib/IR/
H A DAsmWriter.cpp3292 ModuleSlotTracker MST(getModuleFromVal(this), ShouldInitializeAllMetadata);
3293 print(ROS, MST, IsForDebug);
3296 void Value::print(raw_ostream &ROS, ModuleSlotTracker &MST, argument
3301 MST.getMachine() ? *MST.getMachine() : EmptySlotTable;
3304 MST.incorporateFunction(*F);
3324 V->getMetadata()->print(ROS, MST, getModuleFromVal(V));
3329 WriteConstantInternal(OS, C, TypePrinter, MST.getMachine(), nullptr);
3331 this->printAsOperand(OS, /* PrintType */ true, MST);
3351 ModuleSlotTracker &MST) {
3350 printAsOperandImpl(const Value &V, raw_ostream &O, bool PrintType, ModuleSlotTracker &MST) argument
3388 printMetadataImpl(raw_ostream &ROS, const Metadata &MD, ModuleSlotTracker &MST, const Module *M, bool OnlyAsOperand) argument
3413 printAsOperand(raw_ostream &OS, ModuleSlotTracker &MST, const Module *M) const argument
3424 print(raw_ostream &OS, ModuleSlotTracker &MST, const Module *M, bool ) const argument
[all...]
/external/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp3181 MaskedStoreSDNode *MST = cast<MaskedStoreSDNode>(N); local
3182 SDValue Mask = MST->getMask();
3184 SDValue StVal = MST->getValue();
3211 return DAG.getMaskedStore(MST->getChain(), dl, WideVal, MST->getBasePtr(),
3212 Mask, MST->getMemoryVT(), MST->getMemOperand(),

Completed in 196 milliseconds