Home
last modified time | relevance | path

Searched refs:OpIndex (Results 1 – 25 of 34) sorted by relevance

12

/external/llvm-project/llvm/lib/MCA/
DInstrBuilder.cpp325 Write.OpIndex = i; in populateWrites()
340 dbgs() << "\t\t[Def] OpIdx=" << Write.OpIndex in populateWrites()
352 Write.OpIndex = ~CurrentDef; in populateWrites()
370 dbgs() << "\t\t[Def][I] OpIdx=" << ~Write.OpIndex in populateWrites()
379 Write.OpIndex = OptionalDefIdx; in populateWrites()
385 dbgs() << "\t\t[Def][O] OpIdx=" << Write.OpIndex in populateWrites()
404 for (unsigned I = 0, OpIndex = MCDesc.getNumOperands(); in populateWrites() local
405 I < NumVariadicOps && !AssumeUsesOnly; ++I, ++OpIndex) { in populateWrites()
406 const MCOperand &Op = MCI.getOperand(OpIndex); in populateWrites()
411 Write.OpIndex = OpIndex; in populateWrites()
[all …]
DInstruction.cpp125 dbgs() << "{ OpIdx=" << WD->OpIndex << ", Lat=" << getLatency() << ", RegID " in dump()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/
DInstrBuilder.cpp315 Write.OpIndex = i; in populateWrites()
330 dbgs() << "\t\t[Def] OpIdx=" << Write.OpIndex in populateWrites()
342 Write.OpIndex = ~CurrentDef; in populateWrites()
360 dbgs() << "\t\t[Def][I] OpIdx=" << ~Write.OpIndex in populateWrites()
369 Write.OpIndex = MCDesc.getNumOperands() - 1; in populateWrites()
375 dbgs() << "\t\t[Def][O] OpIdx=" << Write.OpIndex in populateWrites()
394 for (unsigned I = 0, OpIndex = MCDesc.getNumOperands(); in populateWrites() local
395 I < NumVariadicOps && !AssumeUsesOnly; ++I, ++OpIndex) { in populateWrites()
396 const MCOperand &Op = MCI.getOperand(OpIndex); in populateWrites()
401 Write.OpIndex = OpIndex; in populateWrites()
[all …]
DInstruction.cpp125 dbgs() << "{ OpIdx=" << WD->OpIndex << ", Lat=" << getLatency() << ", RegID " in dump()
/external/llvm-project/llvm/utils/TableGen/
DPredicateExpander.h58 void expandCheckImmOperand(raw_ostream &OS, int OpIndex, int ImmVal,
60 void expandCheckImmOperand(raw_ostream &OS, int OpIndex, StringRef ImmVal,
62 void expandCheckImmOperandSimple(raw_ostream &OS, int OpIndex,
64 void expandCheckRegOperand(raw_ostream &OS, int OpIndex, const Record *Reg,
66 void expandCheckRegOperandSimple(raw_ostream &OS, int OpIndex,
77 void expandCheckIsRegOperand(raw_ostream &OS, int OpIndex);
78 void expandCheckIsImmOperand(raw_ostream &OS, int OpIndex);
79 void expandCheckInvalidRegOperand(raw_ostream &OS, int OpIndex);
DPredicateExpander.cpp21 void PredicateExpander::expandCheckImmOperand(raw_ostream &OS, int OpIndex, in expandCheckImmOperand() argument
26 OS << "MI" << (isByRef() ? "." : "->") << "getOperand(" << OpIndex in expandCheckImmOperand()
33 void PredicateExpander::expandCheckImmOperand(raw_ostream &OS, int OpIndex, in expandCheckImmOperand() argument
37 expandCheckImmOperandSimple(OS, OpIndex, FunctionMapper); in expandCheckImmOperand()
41 OS << "MI" << (isByRef() ? "." : "->") << "getOperand(" << OpIndex in expandCheckImmOperand()
49 int OpIndex, in expandCheckImmOperandSimple() argument
55 OS << "MI" << (isByRef() ? "." : "->") << "getOperand(" << OpIndex in expandCheckImmOperandSimple()
61 void PredicateExpander::expandCheckRegOperand(raw_ostream &OS, int OpIndex, in expandCheckRegOperand() argument
68 OS << "MI" << (isByRef() ? "." : "->") << "getOperand(" << OpIndex in expandCheckRegOperand()
81 int OpIndex, in expandCheckRegOperandSimple() argument
[all …]
DAsmWriterEmitter.cpp744 int OpIndex, PrintIndex; in formatAliasString() local
745 std::tie(OpIndex, PrintIndex) = getOpData(Name); in formatAliasString()
748 OS << format("\\x%02X", (unsigned char)OpIndex + 1); in formatAliasString()
753 OS << format("\\xFF\\x%02X\\x%02X", OpIndex + 1, PrintIndex + 1); in formatAliasString()
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsELFStreamer.cpp25 for (unsigned OpIndex = 0; OpIndex < Inst.getNumOperands(); ++OpIndex) { in EmitInstruction() local
26 const MCOperand &Op = Inst.getOperand(OpIndex); in EmitInstruction()
/external/llvm-project/llvm/tools/llvm-exegesis/lib/
DMCInstrDescView.cpp110 unsigned OpIndex = 0; in create() local
113 for (; OpIndex < Description->getNumOperands(); ++OpIndex) { in create()
114 const auto &OpInfo = Description->opInfo_begin()[OpIndex]; in create()
116 Operand.Index = OpIndex; in create()
117 Operand.IsDef = (OpIndex < Description->getNumDefs()); in create()
121 int TiedToIndex = Description->getOperandConstraint(OpIndex, MCOI::TIED_TO); in create()
132 MCPhysReg && *MCPhysReg; ++MCPhysReg, ++OpIndex) { in create()
134 Operand.Index = OpIndex; in create()
141 MCPhysReg && *MCPhysReg; ++MCPhysReg, ++OpIndex) { in create()
143 Operand.Index = OpIndex; in create()
DAssembler.cpp97 for (unsigned OpIndex = 0, E = Inst.getNumOperands(); OpIndex < E; in addInstruction() local
98 ++OpIndex) { in addInstruction()
99 const MCOperand &Op = Inst.getOperand(OpIndex); in addInstruction()
101 const bool IsDef = OpIndex < MCID.getNumDefs(); in addInstruction()
103 const MCOperandInfo &OpInfo = MCID.operands().begin()[OpIndex]; in addInstruction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/MCTargetDesc/
DMipsELFStreamer.cpp43 for (unsigned OpIndex = 0; OpIndex < Inst.getNumOperands(); ++OpIndex) { in EmitInstruction() local
44 const MCOperand &Op = Inst.getOperand(OpIndex); in EmitInstruction()
/external/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
DMipsELFStreamer.cpp43 for (unsigned OpIndex = 0; OpIndex < Inst.getNumOperands(); ++OpIndex) { in emitInstruction() local
44 const MCOperand &Op = Inst.getOperand(OpIndex); in emitInstruction()
/external/llvm-project/llvm/include/llvm/MCA/
DInstruction.h41 int OpIndex; member
61 bool isImplicitWrite() const { return OpIndex < 0; }; in isImplicitWrite()
69 int OpIndex; member
79 bool isImplicitRead() const { return OpIndex < 0; }; in isImplicitRead()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/
DInstruction.h41 int OpIndex; member
61 bool isImplicitWrite() const { return OpIndex < 0; }; in isImplicitWrite()
69 int OpIndex; member
79 bool isImplicitRead() const { return OpIndex < 0; }; in isImplicitRead()
/external/llvm/utils/TableGen/
DAsmWriterEmitter.cpp683 int OpIndex, PrintIndex; in print() local
684 std::tie(OpIndex, PrintIndex) = getOpData(Name); in print()
687 OS << format("\\x%02X", (unsigned char)OpIndex + 1); in print()
691 OS << format("\\xFF\\x%02X\\x%02X", OpIndex + 1, PrintIndex + 1); in print()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DTypeBasedAliasAnalysis.cpp297 unsigned OpIndex = FirstFieldOpNo + FieldIndex * NumOpsPerField; in getFieldType() local
298 auto *TypeNode = cast<MDNode>(getNode()->getOperand(OpIndex)); in getFieldType()
/external/llvm-project/llvm/lib/Analysis/
DTypeBasedAliasAnalysis.cpp297 unsigned OpIndex = FirstFieldOpNo + FieldIndex * NumOpsPerField; in getFieldType() local
298 auto *TypeNode = cast<MDNode>(getNode()->getOperand(OpIndex)); in getFieldType()
/external/llvm-project/llvm/lib/Target/X86/
DX86InstructionSelector.cpp1569 unsigned OpIndex; in selectDivRem() local
1574 OpIndex = 0; in selectDivRem()
1577 OpIndex = 1; in selectDivRem()
1580 OpIndex = 2; in selectDivRem()
1583 OpIndex = 3; in selectDivRem()
1588 const DivRemEntry::DivRemResult &OpEntry = TypeEntry.ResultTable[OpIndex]; in selectDivRem()
DX86FastISel.cpp1930 unsigned TypeIndex, OpIndex; in X86SelectDivRem() local
1944 case Instruction::SDiv: OpIndex = 0; break; in X86SelectDivRem()
1945 case Instruction::SRem: OpIndex = 1; break; in X86SelectDivRem()
1946 case Instruction::UDiv: OpIndex = 2; break; in X86SelectDivRem()
1947 case Instruction::URem: OpIndex = 3; break; in X86SelectDivRem()
1951 const DivRemEntry::DivRemResult &OpEntry = TypeEntry.ResultTable[OpIndex]; in X86SelectDivRem()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86InstructionSelector.cpp1613 unsigned OpIndex; in selectDivRem() local
1618 OpIndex = 0; in selectDivRem()
1621 OpIndex = 1; in selectDivRem()
1624 OpIndex = 2; in selectDivRem()
1627 OpIndex = 3; in selectDivRem()
1632 const DivRemEntry::DivRemResult &OpEntry = TypeEntry.ResultTable[OpIndex]; in selectDivRem()
DX86FastISel.cpp1914 unsigned TypeIndex, OpIndex; in X86SelectDivRem() local
1928 case Instruction::SDiv: OpIndex = 0; break; in X86SelectDivRem()
1929 case Instruction::SRem: OpIndex = 1; break; in X86SelectDivRem()
1930 case Instruction::UDiv: OpIndex = 2; break; in X86SelectDivRem()
1931 case Instruction::URem: OpIndex = 3; break; in X86SelectDivRem()
1935 const DivRemEntry::DivRemResult &OpEntry = TypeEntry.ResultTable[OpIndex]; in X86SelectDivRem()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/Disassembler/
DHexagonDisassembler.cpp458 unsigned OpIndex = HexagonMCInstrInfo::getNewValueOp(*MCII, MI); in getSingleInstruction() local
459 MCOperand &MCO = MI.getOperand(OpIndex); in getSingleInstruction()
/external/llvm-project/llvm/lib/Target/Hexagon/Disassembler/
DHexagonDisassembler.cpp461 unsigned OpIndex = HexagonMCInstrInfo::getNewValueOp(*MCII, MI); in getSingleInstruction() local
462 MCOperand &MCO = MI.getOperand(OpIndex); in getSingleInstruction()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64FrameLowering.cpp3392 int OpIndex; in orderFrameObjects() local
3396 OpIndex = 3; in orderFrameObjects()
3402 OpIndex = 1; in orderFrameObjects()
3405 OpIndex = -1; in orderFrameObjects()
3409 if (OpIndex >= 0) { in orderFrameObjects()
3410 const MachineOperand &MO = MI.getOperand(OpIndex); in orderFrameObjects()
/external/llvm/lib/Target/X86/
DX86FastISel.cpp1835 unsigned TypeIndex, OpIndex; in X86SelectDivRem() local
1849 case Instruction::SDiv: OpIndex = 0; break; in X86SelectDivRem()
1850 case Instruction::SRem: OpIndex = 1; break; in X86SelectDivRem()
1851 case Instruction::UDiv: OpIndex = 2; break; in X86SelectDivRem()
1852 case Instruction::URem: OpIndex = 3; break; in X86SelectDivRem()
1856 const DivRemEntry::DivRemResult &OpEntry = TypeEntry.ResultTable[OpIndex]; in X86SelectDivRem()

12