Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A 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 expandCheckImmOperandLT(raw_ostream &OS, int OpIndex, int ImmVal,
66 void expandCheckImmOperandGT(raw_ostream &OS, int OpIndex, int ImmVal,
68 void expandCheckRegOperand(raw_ostream &OS, int OpIndex, const Record *Reg,
70 void expandCheckRegOperandSimple(raw_ostream &OS, int OpIndex,
81 void expandCheckIsRegOperand(raw_ostream &OS, int OpIndex);
82 void expandCheckIsVRegOperand(raw_ostream &OS, int OpIndex);
83 void expandCheckIsImmOperand(raw_ostream &OS, int OpIndex);
[all …]
H A DPredicateExpander.cpp27 OS << "MI" << (isByRef() ? "." : "->") << "getOperand(" << OpIndex in expandCheckImmOperand()
38 expandCheckImmOperandSimple(OS, OpIndex, FunctionMapper); in expandCheckImmOperand()
42 OS << "MI" << (isByRef() ? "." : "->") << "getOperand(" << OpIndex in expandCheckImmOperand()
50 int OpIndex, in expandCheckImmOperandSimple() argument
56 OS << "MI" << (isByRef() ? "." : "->") << "getOperand(" << OpIndex in expandCheckImmOperandSimple()
67 OS << "MI" << (isByRef() ? "." : "->") << "getOperand(" << OpIndex in expandCheckImmOperandLT()
106 int OpIndex, in expandCheckRegOperandSimple() argument
119 int OpIndex) { in expandCheckInvalidRegOperand() argument
218 << "getOperand(" << OpIndex << ").isReg() "; in expandCheckIsRegOperand()
223 << "getOperand(" << OpIndex << ").getReg().isVirtual()"; in expandCheckIsVRegOperand()
[all …]
H A DAsmWriterEmitter.cpp749 int OpIndex, PrintIndex; in formatAliasString() local
750 std::tie(OpIndex, PrintIndex) = getOpData(Name); in formatAliasString()
753 OS << format("\\x%02X", (unsigned char)OpIndex + 1); in formatAliasString()
758 OS << format("\\xFF\\x%02X\\x%02X", OpIndex + 1, PrintIndex + 1); in formatAliasString()
/freebsd-14.2/contrib/llvm-project/llvm/lib/MCA/
H A DInstrBuilder.cpp340 Write.OpIndex = i; in populateWrites()
367 Write.OpIndex = ~CurrentDef; in populateWrites()
394 Write.OpIndex = OptionalDefIdx; in populateWrites()
413 const MCOperand &Op = MCI.getOperand(OpIndex); in populateWrites()
418 Write.OpIndex = OpIndex; in populateWrites()
447 ++I, ++OpIndex) { in populateReads()
448 const MCOperand &Op = MCI.getOperand(OpIndex); in populateReads()
453 Read.OpIndex = OpIndex; in populateReads()
465 Read.OpIndex = ~I; in populateReads()
479 const MCOperand &Op = MCI.getOperand(OpIndex); in populateReads()
[all …]
H A DInstruction.cpp126 dbgs() << "{ OpIdx=" << WD->OpIndex << ", Lat=" << getLatency() << ", RegID " in dump()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsELFStreamer.cpp43 for (unsigned OpIndex = 0; OpIndex < Inst.getNumOperands(); ++OpIndex) { in emitInstruction() local
44 const MCOperand &Op = Inst.getOperand(OpIndex); in emitInstruction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMCTargetDesc.cpp578 unsigned OpIndex = Desc.NumDefs; in evaluateMemoryOperandAddress() local
579 while (OpIndex < Desc.getNumOperands() && in evaluateMemoryOperandAddress()
580 Desc.operands()[OpIndex].OperandType != MCOI::OPERAND_MEMORY) in evaluateMemoryOperandAddress()
581 ++OpIndex; in evaluateMemoryOperandAddress()
582 if (OpIndex == Desc.getNumOperands()) in evaluateMemoryOperandAddress()
610 return evaluateMemOpAddrForAddrMode_i12(Inst, Desc, OpIndex, Addr); in evaluateMemoryOperandAddress()
612 return evaluateMemOpAddrForAddrMode3(Inst, Desc, OpIndex, Addr); in evaluateMemoryOperandAddress()
614 return evaluateMemOpAddrForAddrMode5(Inst, Desc, OpIndex, Addr); in evaluateMemoryOperandAddress()
616 return evaluateMemOpAddrForAddrMode5FP16(Inst, Desc, OpIndex, Addr); in evaluateMemoryOperandAddress()
620 return evaluateMemOpAddrForAddrModeT2_pc(Inst, Desc, OpIndex, Addr); in evaluateMemoryOperandAddress()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MCA/
H A DInstruction.h139 int OpIndex; member
159 bool isImplicitWrite() const { return OpIndex < 0; }; in isImplicitWrite()
167 int OpIndex; member
177 bool isImplicitRead() const { return OpIndex < 0; }; in isImplicitRead()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugLine.cpp485 OpIndex = 0; in reset()
503 << format(" %6u %3u %13u %7u ", File, Isa, Discriminator, OpIndex) in dump()
674 uint64_t AddrOffset = ((Row.OpIndex + OperationAdvance) / MaxOpsPerInst) * in advanceAddrOpIndex()
678 uint8_t PrevOpIndex = Row.OpIndex; in advanceAddrOpIndex()
679 Row.OpIndex = (Row.OpIndex + OperationAdvance) % MaxOpsPerInst; in advanceAddrOpIndex()
680 int16_t OpIndexDelta = static_cast<int16_t>(Row.OpIndex) - PrevOpIndex; in advanceAddrOpIndex()
940 State.Row.OpIndex = 0; in parse()
1150 State.Row.OpIndex = 0; in parse()
1222 << ", op-index += " << Delta.OpIndex; in parse()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFDebugLine.h173 uint8_t OpIndex; member
404 int16_t OpIndex; member
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/GISel/
H A DX86InstructionSelector.cpp1680 unsigned OpIndex; in selectMulDivRem() local
1685 OpIndex = 0; in selectMulDivRem()
1688 OpIndex = 1; in selectMulDivRem()
1691 OpIndex = 2; in selectMulDivRem()
1694 OpIndex = 3; in selectMulDivRem()
1697 OpIndex = 4; in selectMulDivRem()
1700 OpIndex = 5; in selectMulDivRem()
1703 OpIndex = 6; in selectMulDivRem()
1709 TypeEntry.ResultTable[OpIndex]; in selectMulDivRem()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DTypeBasedAliasAnalysis.cpp297 unsigned OpIndex = FirstFieldOpNo + FieldIndex * NumOpsPerField; in getFieldType() local
298 auto *TypeNode = cast<MDNode>(getNode()->getOperand(OpIndex)); in getFieldType()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVModuleAnalysis.cpp48 static unsigned getMetadataUInt(MDNode *MdNode, unsigned OpIndex, in getMetadataUInt() argument
50 if (MdNode && OpIndex < MdNode->getNumOperands()) { in getMetadataUInt()
51 const auto &Op = MdNode->getOperand(OpIndex); in getMetadataUInt()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/Disassembler/
H A DHexagonDisassembler.cpp470 unsigned OpIndex = HexagonMCInstrInfo::getNewValueOp(*MCII, MI); in getSingleInstruction() local
471 MCOperand &MCO = MI.getOperand(OpIndex); in getSingleInstruction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FrameLowering.cpp4214 int OpIndex; in orderFrameObjects() local
4218 OpIndex = 3; in orderFrameObjects()
4224 OpIndex = 1; in orderFrameObjects()
4227 OpIndex = -1; in orderFrameObjects()
4231 if (OpIndex >= 0) { in orderFrameObjects()
4232 const MachineOperand &MO = MI.getOperand(OpIndex); in orderFrameObjects()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FastISel.cpp1922 unsigned TypeIndex, OpIndex; in X86SelectDivRem() local
1936 case Instruction::SDiv: OpIndex = 0; break; in X86SelectDivRem()
1937 case Instruction::SRem: OpIndex = 1; break; in X86SelectDivRem()
1938 case Instruction::UDiv: OpIndex = 2; break; in X86SelectDivRem()
1939 case Instruction::URem: OpIndex = 3; break; in X86SelectDivRem()
1943 const DivRemEntry::DivRemResult &OpEntry = TypeEntry.ResultTable[OpIndex]; in X86SelectDivRem()
H A DX86ISelLowering.cpp16602 unsigned OpIndex = i / 2; in lowerV4X128Shuffle() local
16603 if (Ops[OpIndex].isUndef()) in lowerV4X128Shuffle()
16604 Ops[OpIndex] = Op; in lowerV4X128Shuffle()
16605 else if (Ops[OpIndex] != Op) in lowerV4X128Shuffle()
37873 unsigned OpIndex = i / 2; in combineX86ShuffleChain() local
37874 if (Ops[OpIndex].isUndef()) in combineX86ShuffleChain()
37875 Ops[OpIndex] = Op; in combineX86ShuffleChain()
37876 else if (Ops[OpIndex] != Op) in combineX86ShuffleChain()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp287 unsigned OpIndex = any_of(Shuf->getShuffleMask(), [&NumOpElts](int M) { in widenSubvectorLoad() local
291 auto *Load = dyn_cast<LoadInst>(Shuf->getOperand(OpIndex)); in widenSubvectorLoad()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Target/
H A DTargetInstrPredicate.td92 int OpIndex = Index;