Home
last modified time | relevance | path

Searched refs:OperandName (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DVarLenCodeEmitterGen.cpp172 const Init *OperandName = DI->getArg(0), *NumBits = DI->getArg(1); in buildRec() local
173 if (!isa<StringInit>(OperandName) || !isa<IntInit>(NumBits)) in buildRec()
182 Segments.push_back({static_cast<unsigned>(NumBitsVal), OperandName, in buildRec()
191 const Init *OperandName = DI->getArg(0), *HiBit = DI->getArg(1), in buildRec() local
193 if (!isa<StringInit>(OperandName) || !isa<IntInit>(HiBit) || in buildRec()
468 StringRef OperandName; in getInstructionCaseForEncoding() local
471 OperandName = SV->getValue(); in getInstructionCaseForEncoding()
475 OperandName = cast<StringInit>(DV->getArg(0))->getValue(); in getInstructionCaseForEncoding()
479 auto OpIdx = CGI.Operands.ParseOperandName(OperandName); in getInstructionCaseForEncoding()
487 SS.indent(Indent) << "// op: " << OperandName.drop_front(1) << "\n"; in getInstructionCaseForEncoding()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DConstraintSystem.cpp169 std::string OperandName; in getVarNamesList() local
171 OperandName = V->getNameOrAsOperand(); in getVarNamesList()
173 OperandName = std::string("%") + V->getName().str(); in getVarNamesList()
174 Names[Index - 1] = OperandName; in getVarNamesList()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DAsmMatcherEmitter.cpp1637 StringRef OperandName; in buildInfo() local
1639 OperandName = Token.substr(2, Token.size() - 3); in buildInfo()
1641 OperandName = Token.substr(1); in buildInfo()
1644 buildInstructionOperandReference(II.get(), OperandName, Idx); in buildInfo()
1646 buildAliasOperandReference(II.get(), OperandName, Op); in buildInfo()
1708 StringRef OperandName, in buildInstructionOperandReference() argument
1715 std::optional<unsigned> Idx = Operands.findOperandNamed(OperandName); in buildInstructionOperandReference()
1718 "error: unable to find operand: '" + OperandName + "'"); in buildInstructionOperandReference()
1743 Op->OrigSrcOpName = OperandName; in buildInstructionOperandReference()
1760 OperandName = Operands[OpIdx].Name; in buildInstructionOperandReference()
[all …]
H A DInstrInfoEmitter.cpp471 for (const StringRef &OperandName : OperandNames) in emitOperandTypeMappings() local
472 OS << " case OpTypes::" << OperandName << ":\n"; in emitOperandTypeMappings()
H A DDecoderEmitter.cpp2150 const std::string &OperandName = Info.Name; in populateInstruction()
2153 errs() << "\t" << OperandName << " (" << OperandDef.getName() << ")\n"; in populateInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.h1343 AMDGPU::OpName OperandName) const;
1347 AMDGPU::OpName OperandName) const { in getNamedOperand() argument
1348 return getNamedOperand(const_cast<MachineInstr &>(MI), OperandName); in getNamedOperand()
1353 AMDGPU::OpName OperandName) const { in getNamedImmOperand() argument
1354 int Idx = AMDGPU::getNamedOperandIdx(MI.getOpcode(), OperandName); in getNamedImmOperand()
H A DSIOptimizeExecMasking.cpp622 [&](AMDGPU::OpName OperandName) -> void { in optimizeVCMPSaveExecSequence() argument
623 if (auto *Mod = TII->getNamedOperand(VCmp, OperandName)) in optimizeVCMPSaveExecSequence()
H A DSIInstrInfo.cpp9049 AMDGPU::OpName OperandName) const { in getNamedOperand()
9050 int Idx = AMDGPU::getNamedOperandIdx(MI.getOpcode(), OperandName); in getNamedOperand()