Home
last modified time | relevance | path

Searched refs:Operands (Results 1 – 25 of 981) sorted by relevance

12345678910>>...40

/openbsd/gnu/llvm/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVLocation.cpp61 << hexString(Operands[1]) << "#"; in getOperandsDWARFInfo()
83 Stream << "const_s " << int(Operands[0]); in getOperandsDWARFInfo()
99 Stream << "fbreg " << int(Operands[0]); in getOperandsDWARFInfo()
104 unsigned(Operands[1])); in getOperandsDWARFInfo()
110 unsigned(Operands[1])); in getOperandsDWARFInfo()
143 << hexString(Operands[1]); in getOperandsDWARFInfo()
153 << hexString(Operands[1]); in getOperandsDWARFInfo()
289 << int(Operands[1]); in getOperandsDWARFInfo()
296 Stream << "piece " << int(Operands[0]); in getOperandsDWARFInfo()
300 << int(Operands[1]); in getOperandsDWARFInfo()
[all …]
/openbsd/gnu/llvm/llvm/utils/TableGen/
H A DFastISelEmitter.cpp131 return Operands < O.Operands; in operator <()
134 return Operands == O.Operands; in operator ==()
141 if (Operands[i].isImm() && Operands[i].getImmCode() != 0) in hasAnyImmediateCodes()
151 if (!Operands[i].isImm()) in getWithoutImmCodes()
152 Result.Operands.push_back(Operands[i]); in getWithoutImmCodes()
454 if (II.Operands.empty()) in collectPatterns()
602 .push_back(Operands); in collectPatterns()
663 if (!Operands.empty()) in emitInstructionCode()
765 if (!Operands.empty()) in printFunctionDefinitions()
796 if (!Operands.empty()) in printFunctionDefinitions()
[all …]
H A DPseudoLoweringEmitter.cpp93 if (DI->getDef() != Insn.Operands[BaseIdx + i].Rec) { in addDagOperandMapping()
106 OpsAdded += Insn.Operands[i].MINumOperands; in addDagOperandMapping()
166 if (Insn.Operands.size() != Dag->getNumArgs()) { in evaluateExpansion()
175 for (unsigned i = 0, e = Insn.Operands.size(); i != e; ++i) in evaluateExpansion()
176 NumMIOperands += Insn.Operands[i].MINumOperands; in evaluateExpansion()
195 SourceOperands[SourceInsn.Operands[i].Name] = i; in evaluateExpansion()
198 for (unsigned i = 0, e = Insn.Operands.size(); i != e; ++i) { in evaluateExpansion()
215 OperandMap[Insn.Operands[i].MIOperandNo + I].Data.Operand = in evaluateExpansion()
251 for (const auto &DestOperand : Dest.Operands) { in emitLoweringEmitter()
282 if (Dest.Operands.isVariadic) { in emitLoweringEmitter()
[all …]
H A DAsmWriterInst.cpp172 Operands.emplace_back("PrintSpecial", ~0U, Modifier); in AsmWriterInst()
175 unsigned OpNo = CGI.Operands.getOperandNamed(VarName); in AsmWriterInst()
176 CGIOperandList::OperandInfo OpInfo = CGI.Operands[OpNo]; in AsmWriterInst()
179 Operands.emplace_back(OpInfo.PrinterMethodName, MIOp, Modifier, in AsmWriterInst()
187 Operands.emplace_back("return;", AsmWriterOperand::isLiteralStatementOperand); in AsmWriterInst()
195 if (Operands.size() != Other.Operands.size()) return ~1; in MatchesAllButOneOp()
198 for (unsigned i = 0, e = Operands.size(); i != e; ++i) { in MatchesAllButOneOp()
199 if (Operands[i] != Other.Operands[i]) { in MatchesAllButOneOp()
/openbsd/gnu/llvm/llvm/lib/Target/Xtensa/AsmParser/
H A DXtensaAsmParser.cpp56 OperandMatchResultTy parseRegister(OperandVector &Operands,
345 if (ErrorInfo != ~0ULL && ErrorInfo < Operands.size()) { in RefineErrorLoc()
346 SMLoc ErrorLoc = Operands[ErrorInfo]->getStartLoc(); in RefineErrorLoc()
377 if (ErrorInfo >= Operands.size()) in MatchAndEmitInstruction()
563 return parseOperandWithModifier(Operands); in parseImmediate()
598 if (parseImmediate(Operands) == MatchOperand_Success) { in parseOperand()
631 if (parseOperand(Operands, Name)) in ParseInstructionWithSR()
642 if (parseOperand(Operands, Name)) in ParseInstructionWithSR()
654 if (parseOperand(Operands, Name, true)) in ParseInstructionWithSR()
684 if (parseOperand(Operands, Name)) in ParseInstruction()
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/CSKY/AsmParser/
H A DCSKYAsmParser.cpp1058 Operands.pop_back(); in parseBaseRegImm()
1145 auto Res = parseRegister(Operands); in parseOperand()
1153 Res = parseBaseRegImm(Operands); in parseOperand()
1160 Res = parseImmediate(Operands); in parseOperand()
1484 Operands.push_back( in parsePSRFlag()
1496 Operands.pop_back(); in parseRegSeq()
1511 Operands.pop_back(); in parseRegSeq()
1530 Operands.pop_back(); in parseRegList()
1541 Operands.pop_back(); in parseRegList()
1580 if (parseOperand(Operands, Name)) in ParseInstruction()
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp567 return parseAnyRegister(Operands); in parseAnyReg()
899 Operands.push_back( in parseRegister()
1276 ResTy = parseAnyReg(Operands); in ParseDirectiveInsn()
1278 ResTy = parseVR128(Operands); in ParseDirectiveInsn()
1280 ResTy = parseBDXAddr64(Operands); in ParseDirectiveInsn()
1282 ResTy = parseBDAddr64(Operands); in ParseDirectiveInsn()
1284 ResTy = parseBDVAddr64(Operands); in ParseDirectiveInsn()
1286 ResTy = parsePCRel32(Operands); in ParseDirectiveInsn()
1288 ResTy = parsePCRel16(Operands); in ParseDirectiveInsn()
1435 if (parseOperand(Operands, Name)) { in ParseInstruction()
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp2961 Operands.push_back( in parseImm()
5806 Operands.insert(Operands.begin() + Prefix, in parseOperand()
6072 Operands.push_back( in parseCPol()
6323 Operands.push_back( in parseFORMAT()
7662 Operands.push_back( in parseGPRIdxMode()
7684 if (!parseExpr(Operands)) in parseSOppBrTarget()
7687 AMDGPUOperand &Opr = ((AMDGPUOperand &)*Operands[Operands.size() - 1]); in parseSOppBrTarget()
7708 return parseReg(Operands); in parseBoolReg()
8065 cvtVOP3P(Inst, Operands); in cvtVOP3OpSel()
8678 Operands.push_back( in parseDPPCtrl()
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/Lanai/AsmParser/
H A DLanaiAsmParser.cpp1015 Operands.push_back( in parseMemoryOperand()
1139 else if (Operands[0]->isToken() && Operands[1]->isReg() && in IsMemoryAssignmentError()
1140 Operands[2]->isImm() && Operands[3]->isImm() && Operands[4]->isReg()) in IsMemoryAssignmentError()
1142 else if (Operands[0]->isToken() && Operands[1]->isToken() && in IsMemoryAssignmentError()
1143 Operands[2]->isReg() && Operands[3]->isImm() && in IsMemoryAssignmentError()
1144 Operands[4]->isImm() && Operands[5]->isReg()) in IsMemoryAssignmentError()
1169 if (Operands.size() < 4 || !IsRegister(*Operands[1]) || in MaybePredicatedInst()
1203 Operands.erase(Operands.begin(), Operands.begin() + 1); in ParseInstruction()
1205 Operands.insert(Operands.begin() + 1, in ParseInstruction()
1216 Operands.erase(Operands.begin(), Operands.begin() + 2); in ParseInstruction()
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/BPF/AsmParser/
H A DBPFAsmParser.cpp35 bool PreMatchCheck(OperandVector &Operands);
267 if (Operands.size() == 4) { in PreMatchCheck()
270 BPFOperand &Op0 = (BPFOperand &)*Operands[0]; in PreMatchCheck()
271 BPFOperand &Op1 = (BPFOperand &)*Operands[1]; in PreMatchCheck()
272 BPFOperand &Op2 = (BPFOperand &)*Operands[2]; in PreMatchCheck()
273 BPFOperand &Op3 = (BPFOperand &)*Operands[3]; in PreMatchCheck()
294 if (PreMatchCheck(Operands)) in MatchAndEmitInstruction()
312 if (ErrorInfo >= Operands.size()) in MatchAndEmitInstruction()
401 Operands.push_back(BPFOperand::createToken( in parseOperandAsOperator()
403 Operands.push_back(BPFOperand::createToken( in parseOperandAsOperator()
[all …]
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DScalarEvolutionNormalization.cpp49 SmallVector<const SCEV *, 8> Operands; in visitAddRecExpr() local
51 transform(AR->operands(), std::back_inserter(Operands), in visitAddRecExpr()
55 return SE.getAddRecExpr(Operands, AR->getLoop(), SCEV::FlagAnyWrap); in visitAddRecExpr()
66 for (int i = 0, e = Operands.size() - 1; i < e; i++) in visitAddRecExpr()
67 Operands[i] = SE.getAddExpr(Operands[i], Operands[i + 1]); in visitAddRecExpr()
90 for (int i = Operands.size() - 2; i >= 0; i--) in visitAddRecExpr()
91 Operands[i] = SE.getMinusSCEV(Operands[i], Operands[i + 1]); in visitAddRecExpr()
94 return SE.getAddRecExpr(Operands, AR->getLoop(), SCEV::FlagAnyWrap); in visitAddRecExpr()
/openbsd/gnu/llvm/llvm/lib/DebugInfo/DWARF/
H A DDWARFExpression.cpp140 Operands[Operand] = (int8_t)Operands[Operand]; in extract()
145 Operands[Operand] = (int16_t)Operands[Operand]; in extract()
150 Operands[Operand] = (int32_t)Operands[Operand]; in extract()
161 Operands[Operand] = in extract()
175 switch (Operands[0]) { in extract()
194 Operands[Operand] = Offset; in extract()
195 Offset += Operands[Operand - 1]; in extract()
223 Operands[Operand]); in prettyPrintBaseTypeRef()
239 DwarfRegNum = Operands[OpNum++]; in prettyPrintRegisterOp()
297 switch (Operands[0]) { in print()
[all …]
/openbsd/gnu/llvm/llvm/lib/Transforms/Vectorize/
H A DVPlanSLP.cpp50 if (all_of(Operands, [](VPValue *V) { in addCombined()
54 for (VPValue *V : Operands) { in addCombined()
70 if (!all_of(Operands, [](VPValue *Op) { in areVectorizable()
103 if (any_of(Operands, in areVectorizable()
124 if (LoadsSeen == Operands.size()) in areVectorizable()
133 if (!all_of(Operands, [](VPValue *Op) { in areVectorizable()
156 SmallVector<VPValue *, 4> Operands; in getOperands() local
162 return Operands; in getOperands()
304 for (auto &Operands : MultiNodeOps) { in reorderMultiNodeOps() local
305 FinalOrder.push_back({Operands.first, {Operands.second[0]}}); in reorderMultiNodeOps()
[all …]
H A DVPlanValue.h210 SmallVector<VPValue *, 2> Operands;
221 for (VPValue *Operand : Operands) in VPUser()
226 : VPUser(ArrayRef<VPValue *>(Operands), ID) {} in VPUser()
230 for (VPValue *Operand : Operands) in VPUser()
246 Operands.push_back(Operand); in addOperand()
253 return Operands[N]; in getOperand()
257 Operands[I]->removeUser(*this); in setOperand()
258 Operands[I] = New; in setOperand()
263 VPValue *Op = Operands.pop_back_val(); in removeLastOperand()
272 operand_iterator op_begin() { return Operands.begin(); } in op_begin()
[all …]
/openbsd/gnu/llvm/llvm/utils/TableGen/GlobalISel/
H A DGIMatchDagOperands.cpp28 Operands.emplace_back(Operands.size(), Name, IsDef); in add()
29 OperandsByName.try_emplace(Operands.back().getName(), Operands.size() - 1); in add()
33 for (const auto &I : enumerate(Operands)) in Profile()
39 if (Operands.empty()) { in print()
44 for (const auto &I : Operands) { in print()
56 return Operands[I->second]; in operator []()
79 for (unsigned i = 0; i < I.Operands.size(); ++i) in makeOperandList()
80 GIMatchDagOperand::Profile(ID, i, I.Operands[i].Name, in makeOperandList()
81 i < I.Operands.NumDefs); in makeOperandList()
91 for (unsigned i = 0; i < I.Operands.size(); ++i) in makeOperandList()
[all …]
/openbsd/gnu/llvm/llvm/include/llvm/Analysis/
H A DScalarEvolutionExpressions.h185 const SCEV *const *Operands;
198 return Operands[i]; in getOperand()
290 std::array<const SCEV *, 2> Operands; variable
294 Operands[0] = lhs;
295 Operands[1] = rhs;
796 Changed |= Op != Operands.back(); in visitAddExpr()
806 Changed |= Op != Operands.back(); in visitMulExpr()
823 Changed |= Op != Operands.back(); in visitAddRecExpr()
835 Changed |= Op != Operands.back(); in visitSMaxExpr()
845 Changed |= Op != Operands.back(); in visitUMaxExpr()
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/RISCV/AsmParser/
H A DRISCVAsmParser.cpp1080 if (validateInstruction(Inst, Operands)) in MatchAndEmitInstruction()
1105 if (ErrorInfo >= Operands.size()) in MatchAndEmitInstruction()
1172 Operands, ErrorInfo, 1, (1 << 5) - 1, in MatchAndEmitInstruction()
1176 Operands, ErrorInfo, 0, (1 << 7) - 4, in MatchAndEmitInstruction()
1180 Operands, ErrorInfo, 0, (1 << 8) - 4, in MatchAndEmitInstruction()
1184 Operands, ErrorInfo, 0, (1 << 8) - 8, in MatchAndEmitInstruction()
1192 Operands, ErrorInfo, 0, (1 << 9) - 8, in MatchAndEmitInstruction()
1705 return parseImmediate(Operands); in parseJALOffset()
1984 if (parseOperand(Operands, Name)) in ParseInstruction()
1993 if (parseOperand(Operands, Name)) in ParseInstruction()
[all …]
/openbsd/gnu/llvm/llvm/include/llvm/MC/
H A DMCInst.h192 SmallVector<MCOperand, 10> Operands; variable
207 MCOperand &getOperand(unsigned i) { return Operands[i]; } in getOperand()
208 unsigned getNumOperands() const { return Operands.size(); } in getNumOperands()
215 void clear() { Operands.clear(); } in clear()
216 void erase(iterator I) { Operands.erase(I); } in erase()
218 size_t size() const { return Operands.size(); } in size()
219 iterator begin() { return Operands.begin(); } in begin()
220 const_iterator begin() const { return Operands.begin(); } in begin()
221 iterator end() { return Operands.end(); } in end()
222 const_iterator end() const { return Operands.end(); } in end()
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/LoongArch/AsmParser/
H A DLoongArchAsmParser.cpp612 return parseOperandWithModifier(Operands); in parseImmediate()
666 return parseOperandWithModifier(Operands); in parseSImm26Operand()
740 if (parseOperand(Operands, Name)) in ParseInstruction()
745 if (parseOperand(Operands, Name)) in ParseInstruction()
1287 if (ErrorInfo >= Operands.size()) in MatchAndEmitInstruction()
1311 SMLoc ErrorStart = Operands[3]->getStartLoc(); in MatchAndEmitInstruction()
1318 return Error(Operands[1]->getStartLoc(), in MatchAndEmitInstruction()
1342 Operands, ErrorInfo, /*Lower=*/0, in MatchAndEmitInstruction()
1354 Operands, ErrorInfo, /*Lower=*/-(1 << 11), in MatchAndEmitInstruction()
1360 Operands, ErrorInfo, /*Lower=*/-(1 << 11), in MatchAndEmitInstruction()
[all …]
/openbsd/gnu/llvm/llvm/tools/llvm-exegesis/lib/
H A DMCInstrDescView.cpp100 : Description(*Description), Name(Name), Operands(std::move(Operands)), in Instruction()
111 SmallVector<Operand, 8> Operands; in create() local
129 Operands.push_back(Operand); in create()
137 Operands.push_back(Operand); in create()
145 Operands.push_back(Operand); in create()
149 for (auto &Op : Operands) in create()
158 for (auto &Op : Operands) in create()
162 for (auto &Op : Operands) in create()
170 for (const auto &Op : Operands) { in create()
252 for (const auto &Op : Operands) { in dump()
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/MSP430/AsmParser/
H A DMSP430AsmParser.cpp63 SMLoc NameLoc, OperandVector &Operands);
65 bool ParseOperand(OperandVector &Operands);
275 if (ErrorInfo >= Operands.size()) in MatchAndEmitInstruction()
360 Operands.push_back(MSP430Operand::CreateToken("j", NameLoc)); in parseJccInstruction()
379 Operands.push_back(MSP430Operand::CreateImm(Val, ExprLoc, in parseJccInstruction()
399 if (!parseJccInstruction(Info, Name, NameLoc, Operands)) in ParseInstruction()
403 Operands.push_back(MSP430Operand::CreateToken(Name, NameLoc)); in ParseInstruction()
410 if (ParseOperand(Operands)) in ParseInstruction()
416 if (ParseOperand(Operands)) in ParseInstruction()
454 bool MSP430AsmParser::ParseOperand(OperandVector &Operands) { in ParseOperand() argument
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/AVR/AsmParser/
H A DAVRAsmParser.cpp71 bool parseOperand(OperandVector &Operands, bool maybeReg);
75 bool tryParseRegisterOperand(OperandVector &Operands);
76 bool tryParseExpression(OperandVector &Operands);
77 bool tryParseRelocExpression(OperandVector &Operands);
293 if (ErrorInfo >= Operands.size()) { in invalidOperand()
338 return invalidOperand(Loc, Operands, ErrorInfo); in MatchAndEmitInstruction()
425 if (!tryParseRelocExpression(Operands)) in tryParseExpression()
527 if (maybeReg && !tryParseRegisterOperand(Operands)) { in parseOperand()
534 return tryParseExpression(Operands); in parseOperand()
544 if (!tryParseExpression(Operands)) in parseOperand()
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp6733 Operands.erase(Operands.begin() + 3); in tryConvertingToTwoOperandForm()
7317 Operands.erase(Operands.begin()); in ParseInstruction()
7321 Operands.insert(Operands.begin(), in ParseInstruction()
7323 Operands.insert(Operands.begin(), in ParseInstruction()
7332 Operands.erase(Operands.begin()); in ParseInstruction()
7336 Operands.insert(Operands.begin(), in ParseInstruction()
7338 Operands.insert(Operands.begin(), in ParseInstruction()
7346 Operands.erase(Operands.begin()); in ParseInstruction()
7348 Operands.insert(Operands.begin(), in ParseInstruction()
7417 Operands.erase(Operands.begin()); in ParseInstruction()
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp2963 Operands.push_back( in tryParseSysCROperand()
3456 Operands.push_back( in parseCondCode()
3478 Operands.push_back( in tryParseSVCR()
3741 Operands.push_back( in createSysAlias()
3743 Operands.push_back( in createSysAlias()
3745 Operands.push_back( in createSysAlias()
3748 Operands.push_back( in createSysAlias()
3864 Operands.push_back( in parseSyspAlias()
4034 Operands.push_back( in tryParseBarriernXSOperand()
4070 Operands.push_back( in tryParseSysReg()
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp2958 Operands.push_back( in ParseMemOperand()
3061 Operands.push_back( in ParseMemOperand()
3535 (Operands.size() == 1 || Operands.size() == 3) && in ParseInstruction()
3547 (Operands.size() == 1 || Operands.size() == 3) && in ParseInstruction()
3559 (Operands.size() == 1 || Operands.size() == 2) && in ParseInstruction()
3570 (Operands.size() == 1 || Operands.size() == 2) && in ParseInstruction()
3581 (Operands.size() == 1 || Operands.size() == 2) && in ParseInstruction()
3590 (Operands.size() == 1 || Operands.size() == 3) && in ParseInstruction()
3605 (Operands.size() == 1 || Operands.size() == 3)) { in ParseInstruction()
4105 Operands.pop_back(); in getPrefixes()
[all …]

12345678910>>...40