HomeSort by: relevance | last modified time | path
    Searched refs:Operands (Results 1 - 25 of 145) sorted by relevancy

1 2 3 4 5 6

  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
ScalarEvolutionNormalization.cpp 48 SmallVector<const SCEV *, 8> Operands;
50 transform(AR->operands(), std::back_inserter(Operands),
54 return SE.getAddRecExpr(Operands, AR->getLoop(), SCEV::FlagAnyWrap);
65 for (int i = 0, e = Operands.size() - 1; i < e; i++)
66 Operands[i] = SE.getAddExpr(Operands[i], Operands[i + 1]);
89 for (int i = Operands.size() - 2; i >= 0; i--)
90 Operands[i] = SE.getMinusSCEV(Operands[i], Operands[i + 1])
    [all...]
  /src/external/apache2/llvm/dist/llvm/utils/TableGen/GlobalISel/
GIMatchDagOperands.cpp 27 assert(Idx == Operands.size() && "Operands added in wrong order");
28 Operands.emplace_back(Operands.size(), Name, IsDef);
29 OperandsByName.try_emplace(Operands.back().getName(), Operands.size() - 1);
33 for (const auto &I : enumerate(Operands))
39 if (Operands.empty()) {
44 for (const auto &I : Operands) {
56 return Operands[I->second]
    [all...]
GIMatchDagOperands.h 25 /// information is derived from CodeGenInstruction::Operands but is more
32 /// Inst1 operands ($dst:<def>, $src1, $src2)
33 /// Inst2 operands ($dst:<def>, $src1, $src2)
34 /// Inst3 operands ($dst:<def>, $src)
91 vector_type Operands;
100 iterator begin() { return Operands.begin(); }
101 const_iterator begin() const { return Operands.begin(); }
102 iterator end() { return Operands.end(); }
103 const_iterator end() const { return Operands.end(); }
105 const value_type &operator[](unsigned I) const { return Operands[I];
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/CSKY/AsmParser/
CSKYAsmParser.cpp 35 bool generateImmOutOfRangeError(OperandVector &Operands, uint64_t ErrorInfo,
41 OperandVector &Operands, MCStreamer &Out,
48 SMLoc NameLoc, OperandVector &Operands) override;
59 OperandMatchResultTy parseImmediate(OperandVector &Operands);
60 OperandMatchResultTy parseRegister(OperandVector &Operands);
61 OperandMatchResultTy parseBaseRegImm(OperandVector &Operands);
62 OperandMatchResultTy parseCSKYSymbol(OperandVector &Operands);
63 OperandMatchResultTy parseConstpoolSymbol(OperandVector &Operands);
65 bool parseOperand(OperandVector &Operands, StringRef Mnemonic);
261 assert(N == 1 && "Invalid number of operands!");
    [all...]
  /src/external/apache2/llvm/dist/llvm/utils/TableGen/
FastISelEmitter.cpp 84 /// types. It has utility methods for emitting text based on the operands.
128 SmallVector<OpKind, 3> Operands;
131 return Operands < O.Operands;
134 return Operands == O.Operands;
137 bool empty() const { return Operands.empty(); }
140 for (unsigned i = 0, e = Operands.size(); i != e; ++i)
141 if (Operands[i].isImm() && Operands[i].getImmCode() != 0
    [all...]
AsmWriterInst.h 10 // the string into operands, which can be literal strings (the constant bits of
11 // the string), actual operands (i.e., operands from the MachineInstr), and
82 std::vector<AsmWriterOperand> Operands;
98 if (!Operands.empty() &&
99 Operands.back().OperandType == AsmWriterOperand::isLiteralTextOperand)
100 Operands.back().Str.append(Str);
102 Operands.push_back(AsmWriterOperand(Str));
AsmWriterInst.cpp 172 Operands.emplace_back("PrintSpecial", ~0U, Modifier);
175 unsigned OpNo = CGI.Operands.getOperandNamed(VarName);
176 CGIOperandList::OperandInfo OpInfo = CGI.Operands[OpNo];
179 Operands.emplace_back(OpInfo.PrinterMethodName, MIOp, Modifier,
187 Operands.emplace_back("return;", AsmWriterOperand::isLiteralStatementOperand);
195 if (Operands.size() != Other.Operands.size()) return ~1;
198 for (unsigned i = 0, e = Operands.size(); i != e; ++i) {
199 if (Operands[i] != Other.Operands[i])
    [all...]
PseudoLoweringEmitter.cpp 88 // Normal operands should always have the same type, or we have a
93 if (DI->getDef() != Insn.Operands[BaseIdx + i].Rec) {
97 Insn.Operands[BaseIdx + i].Rec->getName() + "'");
104 for (unsigned I = 0, E = Insn.Operands[i].MINumOperands; I != E; ++I)
106 OpsAdded += Insn.Operands[i].MINumOperands;
117 // Just add the operands recursively. This is almost certainly
165 if (Insn.Operands.size() != Dag->getNumArgs()) {
168 "' has the wrong number of operands");
174 for (unsigned i = 0, e = Insn.Operands.size(); i != e; ++i)
175 NumMIOperands += Insn.Operands[i].MINumOperands
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/BPF/AsmParser/
BPFAsmParser.cpp 34 bool PreMatchCheck(OperandVector &Operands);
37 OperandVector &Operands, MCStreamer &Out,
46 SMLoc NameLoc, OperandVector &Operands) override;
60 OperandMatchResultTy parseImmediate(OperandVector &Operands);
61 OperandMatchResultTy parseRegister(OperandVector &Operands);
62 OperandMatchResultTy parseOperandAsOperator(OperandVector &Operands);
189 assert(N == 1 && "Invalid number of operands!");
194 assert(N == 1 && "Invalid number of operands!");
263 bool BPFAsmParser::PreMatchCheck(OperandVector &Operands) {
265 if (Operands.size() == 4)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
VPlanSLP.cpp 47 // Number of levels to look ahead when re-ordering multi node operands.
57 void VPlanSlp::addCombined(ArrayRef<VPValue *> Operands, VPInstruction *New) {
58 if (all_of(Operands, [](VPValue *V) {
62 for (VPValue *V : Operands) {
70 auto Res = BundleToCombined.try_emplace(to_vector<4>(Operands), New);
76 bool VPlanSlp::areVectorizable(ArrayRef<VPValue *> Operands) const {
78 if (!all_of(Operands, [](VPValue *Op) {
82 LLVM_DEBUG(dbgs() << "VPSLP: not all operands are VPInstructions\n");
91 cast<VPInstruction>(Operands[0])->getUnderlyingInstr();
94 if (!all_of(Operands, [Opcode, Width](VPValue *Op)
    [all...]
VPlanValue.h 191 /// This class augments VPValue with operands which provide the inverse def-use
204 SmallVector<VPValue *, 2> Operands;
210 /// Print the operands to \p O.
214 VPUser(ArrayRef<VPValue *> Operands, VPUserID ID) : ID(ID) {
215 for (VPValue *Operand : Operands)
219 VPUser(std::initializer_list<VPValue *> Operands, VPUserID ID)
220 : VPUser(ArrayRef<VPValue *>(Operands), ID) {}
223 VPUser(iterator_range<IterT> Operands, VPUserID ID) : ID(ID) {
224 for (VPValue *Operand : Operands)
233 for (VPValue *Op : operands())
    [all...]
VPRecipeBuilder.h 71 VPRecipeBase *tryToWidenMemory(Instruction *I, ArrayRef<VPValue *> Operands,
77 tryToOptimizeInductionPHI(PHINode *Phi, ArrayRef<VPValue *> Operands) const;
82 tryToOptimizeInductionTruncate(TruncInst *I, ArrayRef<VPValue *> Operands,
89 VPRecipeOrVPValueTy tryToBlend(PHINode *Phi, ArrayRef<VPValue *> Operands,
95 VPWidenCallRecipe *tryToWidenCall(CallInst *CI, ArrayRef<VPValue *> Operands,
101 VPWidenRecipe *tryToWiden(Instruction *I, ArrayRef<VPValue *> Operands) const;
119 ArrayRef<VPValue *> Operands,
  /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/
DWARFExpression.cpp 139 Operands[Operand] = Data.getU8(&Offset);
141 Operands[Operand] = (int8_t)Operands[Operand];
144 Operands[Operand] = Data.getU16(&Offset);
146 Operands[Operand] = (int16_t)Operands[Operand];
149 Operands[Operand] = Data.getU32(&Offset);
151 Operands[Operand] = (int32_t)Operands[Operand];
154 Operands[Operand] = Data.getU64(&Offset)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/AsmParser/
SystemZAsmParser.cpp 113 // length for D(L,B)-style operands, otherwise it is null.
209 // Token operands
218 // Register operands.
230 // Immediate operands.
242 // Immediate operands with optional TLS symbol.
252 // Memory operands.
296 assert(N == 1 && "Invalid number of operands");
300 assert(N == 1 && "Invalid number of operands");
304 assert(N == 2 && "Invalid number of operands");
310 assert(N == 3 && "Invalid number of operands");
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/MC/
MCInst.h 34 /// Instances of this class represent operands of the MCInst class.
192 SmallVector<MCOperand, 8> Operands;
206 const MCOperand &getOperand(unsigned i) const { return Operands[i]; }
207 MCOperand &getOperand(unsigned i) { return Operands[i]; }
208 unsigned getNumOperands() const { return Operands.size(); }
210 void addOperand(const MCOperand Op) { Operands.push_back(Op); }
215 void clear() { Operands.clear(); }
216 void erase(iterator I) { Operands.erase(I); }
217 void erase(iterator First, iterator Last) { Operands.erase(First, Last); }
218 size_t size() const { return Operands.size();
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/Lanai/AsmParser/
LanaiAsmParser.cpp 49 // Parse operands
60 OperandVector *Operands);
67 SMLoc NameLoc, OperandVector &Operands) override;
74 OperandVector &Operands, MCStreamer &Out,
82 OperandMatchResultTy parseOperand(OperandVector *Operands,
85 OperandMatchResultTy parseMemoryOperand(OperandVector &Operands);
403 assert(N == 1 && "Invalid number of operands!");
408 assert(N == 1 && "Invalid number of operands!");
413 assert(N == 1 && "Invalid number of operands!");
418 assert(N == 1 && "Invalid number of operands!");
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/AsmParser/
AMDGPUAsmParser.cpp 200 // When parsing operands, we can't always tell if something was meant to be
1166 // Number of extra operands parsed after the first optional operand.
1167 // This may be necessary to skip hardcoded mandatory operands.
1259 void cvtMubufImpl(MCInst &Inst, const OperandVector &Operands,
1261 void cvtDSImpl(MCInst &Inst, const OperandVector &Operands,
1430 OperandVector &Operands, MCStreamer &Out,
1434 OperandMatchResultTy parseOperand(OperandVector &Operands, StringRef Mnemonic,
1438 SMLoc NameLoc, OperandVector &Operands) override;
1444 parseIntWithPrefix(const char *Prefix, OperandVector &Operands,
1450 OperandVector &Operands,
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/llvm-exegesis/lib/
MCInstrDescView.cpp 29 "No more than two operands can be tied together");
30 // By definition only Use and Def operands can be tied together.
94 SmallVector<Operand, 8> Operands,
100 : Description(*Description), Name(Name), Operands(std::move(Operands)),
111 SmallVector<Operand, 8> Operands;
129 Operands.push_back(Operand);
138 Operands.push_back(Operand);
147 Operands.push_back(Operand);
149 Variables.reserve(Operands.size()); // Variables.size() <= Operands.size(
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
ScalarEvolutionExpressions.h 77 std::array<const SCEV *, 1> Operands;
84 const SCEV *getOperand() const { return Operands[0]; }
87 return Operands[0];
92 op_range operands() const { function in class:llvm::SCEVCastExpr
93 return make_range(Operands.begin(), Operands.end());
188 const SCEV *const *Operands;
193 : SCEV(ID, T, computeExpressionSize(makeArrayRef(O, N))), Operands(O),
201 return Operands[i];
207 op_iterator op_begin() const { return Operands; }
325 op_range operands() const { function in class:llvm::SCEVUDivExpr
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/AsmParser/
RISCVAsmParser.cpp 78 bool generateImmOutOfRangeError(OperandVector &Operands, uint64_t ErrorInfo,
82 OperandVector &Operands, MCStreamer &Out,
91 SMLoc NameLoc, OperandVector &Operands) override;
138 bool checkPseudoAddTPRel(MCInst &Inst, OperandVector &Operands);
141 bool validateInstruction(MCInst &Inst, OperandVector &Operands);
147 bool processInstruction(MCInst &Inst, SMLoc IDLoc, OperandVector &Operands,
154 OperandMatchResultTy parseCSRSystemRegister(OperandVector &Operands);
155 OperandMatchResultTy parseImmediate(OperandVector &Operands);
156 OperandMatchResultTy parseRegister(OperandVector &Operands,
158 OperandMatchResultTy parseMemOpBaseReg(OperandVector &Operands);
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/MSP430/AsmParser/
MSP430AsmParser.cpp 43 OperandVector &Operands, MCStreamer &Out,
52 SMLoc NameLoc, OperandVector &Operands) override;
61 SMLoc NameLoc, OperandVector &Operands);
63 bool ParseOperand(OperandVector &Operands);
128 assert(N == 1 && "Invalid number of operands!");
145 assert(N == 1 && "Invalid number of operands!");
152 assert(N == 2 && "Invalid number of operands");
254 OperandVector &Operands,
260 MatchInstructionImpl(Operands, Inst, ErrorInfo, MatchingInlineAsm);
272 if (ErrorInfo >= Operands.size()
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/AsmParser/
WebAssemblyAsmParser.cpp 44 /// WebAssemblyOperand - Instances of this class represent the operands in a
117 llvm_unreachable("Assembly matcher creates register operands");
121 assert(N == 1 && "Invalid number of operands!");
131 assert(N == 1 && "Invalid number of operands!");
140 assert(N == 1 && "Invalid number of operands!");
363 void parseSingleInteger(bool IsNegative, OperandVector &Operands) {
368 Operands.push_back(std::make_unique<WebAssemblyOperand>(
374 bool parseSingleFloat(bool IsNegative, OperandVector &Operands) {
381 Operands.push_back(std::make_unique<WebAssemblyOperand>(
388 bool parseSpecialFloatMaybe(bool IsNegative, OperandVector &Operands) {
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/VE/AsmParser/
VEAsmParser.cpp 54 OperandVector &Operands, MCStreamer &Out,
62 SMLoc NameLoc, OperandVector &Operands) override;
68 // Custom parse functions for VE specific operands.
69 OperandMatchResultTy parseMEMOperand(OperandVector &Operands);
70 OperandMatchResultTy parseMEMAsOperand(OperandVector &Operands);
71 OperandMatchResultTy parseCCOpOperand(OperandVector &Operands);
72 OperandMatchResultTy parseRDOpOperand(OperandVector &Operands);
73 OperandMatchResultTy parseMImmOperand(OperandVector &Operands);
74 OperandMatchResultTy parseOperand(OperandVector &Operands, StringRef Name);
85 OperandVector *Operands);
    [all...]
  /src/sys/external/bsd/acpica/dist/executer/
excreate.c 59 * PARAMETERS: WalkState - Current state, contains operands
79 /* Get the source/alias operands (both namespace nodes) */
81 AliasNode = (ACPI_NAMESPACE_NODE *) WalkState->Operands[0];
82 TargetNode = (ACPI_NAMESPACE_NODE *) WalkState->Operands[1];
127 /* Since both operands are Nodes, we don't need to delete them */
178 (ACPI_NAMESPACE_NODE *) WalkState->Operands[0],
235 ObjDesc->Mutex.SyncLevel = (UINT8) WalkState->Operands[1]->Integer.Value;
236 ObjDesc->Mutex.Node = (ACPI_NAMESPACE_NODE *) WalkState->Operands[0];
325 * operands since they need to be evaluated at run time.
340 /* Init the region from the operands */
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/AVR/AsmParser/
AVRAsmParser.cpp 50 OperandVector &Operands, MCStreamer &Out,
59 SMLoc NameLoc, OperandVector &Operands) override;
63 OperandMatchResultTy parseMemriOperand(OperandVector &Operands);
65 bool parseOperand(OperandVector &Operands);
69 bool tryParseRegisterOperand(OperandVector &Operands);
70 bool tryParseExpression(OperandVector &Operands);
71 bool tryParseRelocExpression(OperandVector &Operands);
83 bool invalidOperand(SMLoc const &Loc, OperandVector const &Operands,
132 assert(N == 1 && "Invalid number of operands!");
149 assert(N == 1 && "Invalid number of operands!");
    [all...]

Completed in 69 milliseconds

1 2 3 4 5 6