Home
last modified time | relevance | path

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

12

/llvm-project/llvm/lib/TableGen/
H A DTGParser.cpp663 if (Lex.getCode() == K) {
677 switch (Lex.getCode()) { in ParseObjectName()
716 if (Lex.getCode() != tgtok::Id) { in ParseClassID()
743 if (Lex.getCode() != tgtok::Id) { in ParseMultiClassID()
848 switch (Lex.getCode()) { in ParseSliceElement()
940 if (Lex.getCode() != tgtok::comma) in ParseSliceElements()
950 } while (Lex.getCode() != tgtok::r_square); in ParseSliceElements()
994 switch (Lex.getCode()) { in ParseRangePiece()
1100 switch (Lex.getCode()) { in ParseType()
1195 switch (Lex.getCode()) { in ParseOperation()
[all...]
H A DTGLexer.h223 tgtok::TokKind getCode() const { return CurCode; } in getCode() function
/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugAbbrev.cpp44 FirstAbbrCode = AbbrDecl.getCode(); in extract()
45 } else if (PrevAbbrCode + 1 != AbbrDecl.getCode()) { in extract()
49 PrevAbbrCode = AbbrDecl.getCode(); in extract()
65 if (Decl.getCode() == AbbrCode) in getAbbreviationDeclaration()
80 Codes.push_back(Decl.getCode()); in getCodeRange()
H A DDWARFExpression.cpp380 if (Op.getCode() == DW_OP_entry_value || in print()
381 Op.getCode() == DW_OP_GNU_entry_value) { in print()
450 uint8_t Opcode = Op.getCode(); in printCompactDWARFExpr()
/llvm-project/llvm/include/llvm/CodeGen/
H A DRDFGraph.h613 template <typename T> T getCode() const { // in getCode() function
634 MachineInstr *getCode() const { return nullptr; } in getCode() function
638 MachineInstr *getCode() const { // in getCode() function
639 return CodeNode::getCode<MachineInstr *>(); in getCode()
644 MachineBasicBlock *getCode() const { in getCode() function
645 return CodeNode::getCode<MachineBasicBlock *>(); in getCode()
652 MachineFunction *getCode() const { in getCode() function
653 return CodeNode::getCode<MachineFunction *>(); in getCode()
/llvm-project/llvm/lib/CodeGen/
H A DRDFLiveness.cpp161 return NodeAddr<StmtNode *>(IA).Addr->getCode()->getParent(); in getAllReachingDefs()
165 return BA.Addr->getCode(); in getAllReachingDefs()
193 const MachineInstr *InA = NodeAddr<StmtNode *>(OA).Addr->getCode(); in getAllReachingDefs()
194 const MachineInstr *InB = NodeAddr<StmtNode *>(OB).Addr->getCode(); in getAllReachingDefs()
397 MachineBasicBlock *BB = BA.Addr->getCode(); in getNearestAliasedRef()
748 MachineBasicBlock *BB = BA.Addr->getCode(); in computeLiveIns()
786 MachineBasicBlock *MB = BA.Addr->getCode(); in computeLiveIns()
831 RefMap &LOX = PhiLOX[PrA.Addr->getCode()]; in computeLiveIns()
1060 if (B != BA.Addr->getCode()) { in traverse()
1095 if (BTA.Addr->getCode() ! in traverse()
[all...]
H A DRDFGraph.cpp224 const MachineInstr &MI = *P.Obj.Addr->getCode(); in operator <<()
263 MachineBasicBlock *BB = P.Obj.Addr->getCode(); in operator <<()
297 << ": Function: " << P.Obj.Addr->getCode()->getName() << '\n'; in operator <<()
570 auto EqBB = [BB](Node NA) -> bool { return Block(NA).Addr->getCode() == BB; }; in findBlock()
579 MachineBasicBlock *EntryB = &getCode()->front(); in getEntryBlock()
913 MachineBasicBlock &EntryB = *EA.Addr->getCode(); in build()
940 const MachineBasicBlock &B = *BA.Addr->getCode(); in build()
1110 MachineInstr *MI = Stmt(IA).Addr->getCode(); in pushDefs()
1385 MachineBasicBlock *BB = BA.Addr->getCode(); in recordDefsForDF()
1433 const MachineBasicBlock *MBB = BA.Addr->getCode(); in buildPhis()
[all...]
/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonOptAddrMode.cpp203 MachineInstr &UseMI = *NodeAddr<StmtNode *>(IA).Addr->getCode(); in canRemoveAddasl()
345 MachineInstr *UseMI = NodeAddr<StmtNode *>(IA).Addr->getCode(); in isValidOffset()
462 MachineInstr *LoadStoreMI = SN.Addr->getCode(); in processAddUses()
495 return SUPair.first.Addr->getCode() == &InstIter; in updateAddUses()
581 MachineInstr *ReachingDefInstr = ReachingDefStmt.Addr->getCode(); in changeLoad()
593 MachineInstr *MI = SN.Addr->getCode(); in changeLoad()
620 MachineInstr *FirstReachedMI = FirstReachedUseSN.Addr->getCode(); in changeLoad()
629 MachineInstr *CurrentMI = CurrentInstSN.Addr->getCode(); in changeStore()
719 MachineInstr *MI = SN.Addr->getCode(); in changeAddAsl()
767 MachineInstr *UseMI = OwnerN.Addr->getCode(); in processBlock()
[all...]
H A DRDFCopy.cpp112 if (interpretAsCopy(SA.Addr->getCode(), EM)) in scanBlock()
134 dbgs() << "Instr: " << *DFG.addr<StmtNode*>(I).Addr->getCode(); in run()
215 << *NodeAddr<StmtNode*>(IA).Addr->getCode(); in run()
H A DHexagonRDFOpt.cpp187 dbgs() << "Partly dead: " << *SA.Addr->getCode(); in run()
195 MachineInstr *MI = NodeAddr<StmtNode*>(IA).Addr->getCode(); in removeOperand()
224 MachineInstr &MI = *NodeAddr<StmtNode*>(IA).Addr->getCode(); in rewrite()
H A DRDFDeadCode.cpp59 const MachineInstr *MI = S.Addr->getCode(); in isLiveInstr()
237 MachineInstr *MI = NodeAddr<StmtNode*>(IA).Addr->getCode(); in erase()
/llvm-project/llvm/include/llvm/DWARFLinker/
H A DAddressesMap.h138 switch (Op.getCode()) { in getVariableRelocAdjustment()
145 if (NextIt == Expression.end() || !isTlsAddressCode(NextIt->getCode())) in getVariableRelocAdjustment()
/llvm-project/llvm/include/llvm/DebugInfo/PDB/
H A DIPDBInjectedSource.h34 virtual std::string getCode() const = 0;
/llvm-project/llvm/include/llvm/DebugInfo/PDB/DIA/
H A DDIAInjectedSource.h29 std::string getCode() const override;
/llvm-project/llvm/lib/DWARFLinker/Classic/
H A DDWARFLinkerCompileUnit.cpp102 switch (It->getCode()) { in markEverythingAsKept()
110 NextIt->getCode() != dwarf::DW_OP_form_tls_address) in markEverythingAsKept()
/llvm-project/clang-tools-extra/clang-tidy/modernize/
H A DUseStdNumbersCheck.cpp255 std::string getCode(const StringRef Constant, const bool IsFloat, in getCode() function
393 const auto Code = getCode(ConstantName, IsFloat, IsLongDouble); in check()
430 const auto Code = getCode(Constant, IsFloat, IsLongDouble); in check()
/llvm-project/clang/unittests/CrossTU/
H A DCrossTranslationUnitTest.cpp189 Err.getCode() == index_error_code::invocation_list_wrong_format; in TEST()
219 Err.getCode() == index_error_code::invocation_list_ambiguous; in TEST()
/llvm-project/llvm/lib/DebugInfo/PDB/DIA/
H A DDIAInjectedSource.cpp51 std::string DIAInjectedSource::getCode() const { in getCode() function in DIAInjectedSource
/llvm-project/llvm/utils/TableGen/Common/
H A DAsmWriterInst.h76 /// getCode - Return the code that prints this operand.
77 std::string getCode(bool PassSubtarget) const;
H A DAsmWriterInst.cpp23 std::string AsmWriterOperand::getCode(bool PassSubtarget) const { in getCode() function in AsmWriterOperand
/llvm-project/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/llvm/lib/DebugInfo/PDB/Native/
H A DNativeEnumInjectedSources.cpp70 std::string getCode() const override {
71 std::string getCode() const override { getCode() function in llvm::pdb::__anonb0c5f9a60111::NativeInjectedSource
/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFAbbreviationDeclaration.h96 uint32_t getCode() const { return Code; } in getCode() function
H A DDWARFExpression.h88 uint8_t getCode() const { return Opcode; } in getCode() function
/llvm-project/llvm/utils/TableGen/
H A DAsmWriterEmitter.cpp104 O << "\n " << TheOp.getCode(PassSubtarget); in PrintCases()
140 O << " " << FirstInst.Operands[i].getCode(PassSubtarget); in EmitInstructions()
183 " " + Inst.Operands[0].getCode(PassSubtarget) + "\n"; in FindUniqueOperandCommands()
232 " " + FirstInst.Operands[Op].getCode(PassSubtarget) + "\n"; in FindUniqueOperandCommands()

12