Home
last modified time | relevance | path

Searched refs:MInsn (Results 1 – 5 of 5) sorted by relevance

/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfDebug.h69 const MachineInstr *MInsn = nullptr; /// DBG_VALUE instruction. variable
84 assert(!MInsn && "Already initialized?"); in initializeMMI()
97 assert(!MInsn && "Already initialized?"); in initializeDbgValue()
102 MInsn = DbgValue; in initializeDbgValue()
113 assert(MInsn && Expr.size() <= 1); in getSingleExpression()
121 const MachineInstr *getMInsn() const { return MInsn; } in getMInsn()
125 assert(DebugLocListIndex == ~0U && !MInsn && "not an MMI entry"); in addMMIEntry()
126 assert(V.DebugLocListIndex == ~0U && !V.MInsn && "not an MMI entry"); in addMMIEntry()
168 assert(MInsn && "Expected DBG_VALUE, not MMI variable"); in hasComplexAddress()
DDwarfDebug.cpp916 static bool validAtEntry(const MachineInstr *MInsn) { in validAtEntry() argument
917 auto MBB = MInsn->getParent(); in validAtEntry()
921 for (MachineBasicBlock::const_reverse_iterator I(MInsn); I != MBB->rend(); ++I) in validAtEntry()
956 const MachineInstr *MInsn = Ranges.front().first; in collectVariableInfo() local
957 assert(MInsn->isDebugValue() && "History must begin with debug value"); in collectVariableInfo()
962 (MInsn->getOperand(0).isImm() || in collectVariableInfo()
963 (validAtEntry(MInsn) && Ranges.front().second == nullptr))) { in collectVariableInfo()
964 RegVar->initializeDbgValue(MInsn); in collectVariableInfo()
969 DebugLocStream::ListBuilder List(DebugLocs, TheCU, *Asm, *RegVar, *MInsn); in collectVariableInfo()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DLexicalScopes.cpp76 for (const auto &MInsn : MBB) { in extractLexicalScopes() local
78 const DILocation *MIDL = MInsn.getDebugLoc(); in extractLexicalScopes()
80 PrevMI = &MInsn; in extractLexicalScopes()
86 PrevMI = &MInsn; in extractLexicalScopes()
92 if (MInsn.isMetaInstruction()) in extractLexicalScopes()
105 RangeBeginMI = &MInsn; in extractLexicalScopes()
108 PrevMI = &MInsn; in extractLexicalScopes()
/external/llvm/lib/CodeGen/
DLexicalScopes.cpp63 for (const auto &MInsn : MBB) { in extractLexicalScopes() local
65 const DILocation *MIDL = MInsn.getDebugLoc(); in extractLexicalScopes()
67 PrevMI = &MInsn; in extractLexicalScopes()
73 PrevMI = &MInsn; in extractLexicalScopes()
78 if (MInsn.isDebugValue()) in extractLexicalScopes()
91 RangeBeginMI = &MInsn; in extractLexicalScopes()
94 PrevMI = &MInsn; in extractLexicalScopes()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfDebug.cpp1582 const MachineInstr *MInsn = HistoryMapEntries.front().getInstr(); in collectEntityInfo() local
1583 assert(MInsn->isDebugValue() && "History must begin with debug value"); in collectEntityInfo()
1594 if (validThroughout(LScopes, MInsn, End)) { in collectEntityInfo()
1595 RegVar->initializeDbgValue(MInsn); in collectEntityInfo()
1605 DebugLocStream::ListBuilder List(DebugLocs, TheCU, *Asm, *RegVar, *MInsn); in collectEntityInfo()