Home
last modified time | relevance | path

Searched refs:getCode (Results 1 – 25 of 38) sorted by relevance

12

/llvm-project-15.0.7/llvm/lib/TableGen/
H A DTGParser.cpp524 if (Lex.getCode() == K) { in consume()
538 switch (Lex.getCode()) { in ParseObjectName()
708 switch (Lex.getCode()) { in ParseRangePiece()
814 switch (Lex.getCode()) { in ParseType()
930 switch (Lex.getCode()) { in ParseOperation()
944 switch (Lex.getCode()) { in ParseOperation()
2141 switch (Lex.getCode()) { in ParseSimpleValue()
2367 if (Lex.getCode() != tgtok::Id && Lex.getCode() != tgtok::XCast && in ParseSimpleValue()
2368 Lex.getCode() != tgtok::question && Lex.getCode() != tgtok::XGetDagOp) { in ParseSimpleValue()
2819 switch (Lex.getCode()) { in ParseForeachDeclaration()
[all …]
H A DTGLexer.h115 tgtok::TokKind getCode() const { return CurCode; } in getCode() function
/llvm-project-15.0.7/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugAbbrev.cpp37 FirstAbbrCode = AbbrDecl.getCode(); in extract()
39 if (PrevAbbrCode + 1 != AbbrDecl.getCode()) { in extract()
44 PrevAbbrCode = AbbrDecl.getCode(); in extract()
60 if (Decl.getCode() == AbbrCode) in getAbbreviationDeclaration()
75 Codes.push_back(Decl.getCode()); in getCodeRange()
H A DDWARFExpression.cpp341 if (Op.getCode() == DW_OP_entry_value || in print()
342 Op.getCode() == DW_OP_GNU_entry_value) { in print()
412 uint8_t Opcode = Op.getCode(); in printCompactDWARFExpr()
H A DDWARFAbbreviationDeclaration.cpp129 OS << '[' << getCode() << "] "; in dump()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DRDFGraph.h591 template <typename T> T getCode() const { in getCode() function
615 MachineInstr *getCode() const { in getCode() function
621 MachineInstr *getCode() const { in getCode() function
622 return CodeNode::getCode<MachineInstr*>(); in getCode()
627 MachineBasicBlock *getCode() const { in getCode() function
628 return CodeNode::getCode<MachineBasicBlock*>(); in getCode()
635 MachineFunction *getCode() const { in getCode() function
636 return CodeNode::getCode<MachineFunction*>(); in getCode()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DRDFCopy.cpp76 if (interpretAsCopy(SA.Addr->getCode(), EM)) in scanBlock()
107 dbgs() << "Instr: " << *DFG.addr<StmtNode*>(I).Addr->getCode(); in run()
176 << *NodeAddr<StmtNode*>(IA).Addr->getCode(); in run()
H A DRDFDeadCode.cpp86 if (!isLiveInstr(NodeAddr<StmtNode*>(IA).Addr->getCode())) in scanInstr()
163 if (isLiveInstr(NodeAddr<StmtNode*>(IA).Addr->getCode())) in collect()
236 MachineInstr *MI = NodeAddr<StmtNode*>(IA).Addr->getCode(); in erase()
H A DHexagonOptAddrMode.cpp189 MachineInstr &UseMI = *NodeAddr<StmtNode *>(IA).Addr->getCode(); in canRemoveAddasl()
322 MachineInstr *UseMI = NodeAddr<StmtNode *>(IA).Addr->getCode(); in isSafeToExtLR()
424 MachineInstr *MI = SN.Addr->getCode(); in processAddUses()
472 MachineInstr *UseMI = OwnerN.Addr->getCode(); in processAddUses()
519 MachineInstr &MI = *SN.Addr->getCode(); in analyzeUses()
699 MachineInstr *UseMI = UseIA.Addr->getCode(); in changeAddAsl()
772 MachineInstr *MI = SA.Addr->getCode(); in processBlock()
826 MachineInstr *UseMI = OwnerN.Addr->getCode(); in processBlock()
H A DHexagonRDFOpt.cpp182 dbgs() << "Partly dead: " << *SA.Addr->getCode(); in run()
190 MachineInstr *MI = NodeAddr<StmtNode*>(IA).Addr->getCode(); in removeOperand()
219 MachineInstr &MI = *NodeAddr<StmtNode*>(IA).Addr->getCode(); in rewrite()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DRDFLiveness.cpp164 return NodeAddr<StmtNode*>(IA).Addr->getCode()->getParent(); in getAllReachingDefs()
168 return BA.Addr->getCode(); in getAllReachingDefs()
196 const MachineInstr *InA = NodeAddr<StmtNode*>(OA).Addr->getCode(); in getAllReachingDefs()
197 const MachineInstr *InB = NodeAddr<StmtNode*>(OB).Addr->getCode(); in getAllReachingDefs()
400 MachineBasicBlock *BB = BA.Addr->getCode(); in getNearestAliasedRef()
742 MachineBasicBlock *BB = BA.Addr->getCode(); in computeLiveIns()
780 MachineBasicBlock *MB = BA.Addr->getCode(); in computeLiveIns()
824 RefMap &LOX = PhiLOX[PrA.Addr->getCode()]; in computeLiveIns()
1055 if (B != BA.Addr->getCode()) { in traverse()
1090 if (BTA.Addr->getCode() != B) { in traverse()
H A DRDFGraph.cpp223 const MachineInstr &MI = *P.Obj.Addr->getCode(); in operator <<()
265 MachineBasicBlock *BB = P.Obj.Addr->getCode(); in operator <<()
298 << P.Obj.Addr->getCode()->getName() << '\n'; in operator <<()
577 return NodeAddr<BlockNode*>(NA).Addr->getCode() == BB; in findBlock()
587 MachineBasicBlock *EntryB = &getCode()->front(); in getEntryBlock()
895 MachineBasicBlock &EntryB = *EA.Addr->getCode(); in build()
922 const MachineBasicBlock &B = *BA.Addr->getCode(); in build()
1371 MachineBasicBlock *BB = BA.Addr->getCode(); in recordDefsForDF()
1453 const MachineBasicBlock *MBB = BA.Addr->getCode(); in buildPhis()
1659 MachineDomTreeNode *N = MDT.getNode(BA.Addr->getCode()); in linkBlockRefs()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/
H A DIPDBInjectedSource.h34 virtual std::string getCode() const = 0;
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/DIA/
H A DDIAInjectedSource.h29 std::string getCode() const override;
/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/DIA/
H A DDIAInjectedSource.cpp51 std::string DIAInjectedSource::getCode() const { in getCode() function in DIAInjectedSource
/llvm-project-15.0.7/clang/unittests/CrossTU/
H A DCrossTranslationUnitTest.cpp190 Err.getCode() == index_error_code::invocation_list_wrong_format; in TEST()
220 Err.getCode() == index_error_code::invocation_list_ambiguous; in TEST()
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DAsmWriterInst.h78 std::string getCode(bool PassSubtarget) const;
H A DAsmWriterInst.cpp24 std::string AsmWriterOperand::getCode(bool PassSubtarget) const { in getCode() function in AsmWriterOperand
H A DAsmWriterEmitter.cpp102 O << "\n " << TheOp.getCode(PassSubtarget); in PrintCases()
138 O << " " << FirstInst.Operands[i].getCode(PassSubtarget); in EmitInstructions()
181 std::string Command = " "+Inst.Operands[0].getCode(PassSubtarget)+"\n"; in FindUniqueOperandCommands()
230 FirstInst.Operands[Op].getCode(PassSubtarget) + "\n"; in FindUniqueOperandCommands()
/llvm-project-15.0.7/clang/unittests/AST/
H A DASTImporterVisibilityTest.cpp115 std::string getCode() const { return std::get<1>(GetParam()); } in getCode() function in clang::ast_matchers::ImportVisibilityChain
120 std::string Code = getCode() + getCode(); in TypedTest_ImportChain()
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DInstrProfCorrelator.cpp196 if (Op.getCode() == dwarf::DW_OP_addr) { in getLocation()
198 } else if (Op.getCode() == dwarf::DW_OP_addrx) { in getLocation()
/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/
H A DNativeEnumInjectedSources.cpp70 std::string getCode() const override { in getCode() function in llvm::pdb::__anon5c1a43630111::NativeInjectedSource
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFAbbreviationDeclaration.h88 uint32_t getCode() const { return Code; } in getCode() function
H A DDWARFExpression.h89 uint8_t getCode() const { return Opcode; } in getCode() function
/llvm-project-15.0.7/clang/include/clang/CrossTU/
H A DCrossTranslationUnit.h74 index_error_code getCode() const { return Code; } in getCode() function

12