Home
last modified time | relevance | path

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

1234567

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/AsmParser/
DSystemZAsmParser.cpp413 OperandMatchResultTy parseRegister(OperandVector &Operands,
417 OperandMatchResultTy parseAnyRegister(OperandVector &Operands);
426 OperandMatchResultTy parseAddress(OperandVector &Operands,
430 OperandMatchResultTy parsePCRel(OperandVector &Operands, int64_t MinVal,
433 bool parseOperand(OperandVector &Operands, StringRef Mnemonic);
453 SMLoc NameLoc, OperandVector &Operands) override;
455 OperandVector &Operands, MCStreamer &Out,
460 OperandMatchResultTy parseGR32(OperandVector &Operands) { in parseGR32() argument
461 return parseRegister(Operands, RegGR, SystemZMC::GR32Regs, GR32Reg); in parseGR32()
463 OperandMatchResultTy parseGRH32(OperandVector &Operands) { in parseGRH32() argument
[all …]
/third_party/spirv-tools/utils/vscode/src/schema/
Dschema.go25 Operands []Operand member
979 Operands: []Operand {
986 Operands: []Operand {
1003 Operands: []Operand {
1015 Operands: []Operand {
1042 Operands: []Operand {
1054 Operands: []Operand {
1071 Operands: []Operand {
1093 Operands: []Operand {
1110 Operands: []Operand {
[all …]
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/schema/
Dschema.go25 Operands []Operand member
956 Operands: []Operand {
963 Operands: []Operand {
980 Operands: []Operand {
992 Operands: []Operand {
1019 Operands: []Operand {
1031 Operands: []Operand {
1048 Operands: []Operand {
1070 Operands: []Operand {
1087 Operands: []Operand {
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/schema/
Dschema.go25 Operands []Operand member
956 Operands: []Operand {
963 Operands: []Operand {
980 Operands: []Operand {
992 Operands: []Operand {
1019 Operands: []Operand {
1031 Operands: []Operand {
1048 Operands: []Operand {
1070 Operands: []Operand {
1087 Operands: []Operand {
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/AsmParser/
DLanaiAsmParser.cpp60 OperandVector *Operands);
67 SMLoc NameLoc, OperandVector &Operands) override;
72 OperandVector &Operands, MCStreamer &Out,
80 OperandMatchResultTy parseOperand(OperandVector *Operands,
83 OperandMatchResultTy parseMemoryOperand(OperandVector &Operands);
651 OperandVector &Operands, in MatchAndEmitInstruction() argument
658 switch (MatchInstructionImpl(Operands, Inst, ErrorInfo, MatchingInlineAsm)) { in MatchAndEmitInstruction()
670 if (ErrorInfo >= Operands.size()) in MatchAndEmitInstruction()
673 ErrorLoc = ((LanaiOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
867 LanaiAsmParser::parseMemoryOperand(OperandVector &Operands) { in parseMemoryOperand() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/AsmParser/
DBPFAsmParser.cpp34 bool PreMatchCheck(OperandVector &Operands);
37 OperandVector &Operands, MCStreamer &Out,
44 SMLoc NameLoc, OperandVector &Operands) override;
58 OperandMatchResultTy parseImmediate(OperandVector &Operands);
59 OperandMatchResultTy parseRegister(OperandVector &Operands);
60 OperandMatchResultTy parseOperandAsOperator(OperandVector &Operands);
261 bool BPFAsmParser::PreMatchCheck(OperandVector &Operands) { in PreMatchCheck() argument
263 if (Operands.size() == 4) { in PreMatchCheck()
266 BPFOperand &Op0 = (BPFOperand &)*Operands[0]; in PreMatchCheck()
267 BPFOperand &Op1 = (BPFOperand &)*Operands[1]; in PreMatchCheck()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DVPlanValue.h133 SmallVector<VPValue *, 2> Operands;
137 VPUser(const unsigned char SC, ArrayRef<VPValue *> Operands) : VPValue(SC) { in VPUser() argument
138 for (VPValue *Operand : Operands) in VPUser()
144 VPUser(ArrayRef<VPValue *> Operands) : VPUser(VPValue::VPUserSC, Operands) {} in VPUser() argument
145 VPUser(std::initializer_list<VPValue *> Operands) in VPUser() argument
146 : VPUser(ArrayRef<VPValue *>(Operands)) {} in VPUser()
157 Operands.push_back(Operand); in addOperand()
161 unsigned getNumOperands() const { return Operands.size(); } in getNumOperands()
163 assert(N < Operands.size() && "Operand index out of bounds"); in getOperand()
164 return Operands[N]; in getOperand()
[all …]
DVPlanSLP.cpp57 void VPlanSlp::addCombined(ArrayRef<VPValue *> Operands, VPInstruction *New) { in addCombined() argument
58 if (all_of(Operands, [](VPValue *V) { in addCombined()
62 for (VPValue *V : Operands) { in addCombined()
70 auto Res = BundleToCombined.try_emplace(to_vector<4>(Operands), New); in addCombined()
76 bool VPlanSlp::areVectorizable(ArrayRef<VPValue *> Operands) const { in areVectorizable()
78 if (!all_of(Operands, [](VPValue *Op) { in areVectorizable()
91 cast<VPInstruction>(Operands[0])->getUnderlyingInstr(); in areVectorizable()
94 if (!all_of(Operands, [Opcode, Width](VPValue *Op) { in areVectorizable()
104 if (any_of(Operands, [this](VPValue *Op) { in areVectorizable()
111 if (any_of(Operands, in areVectorizable()
[all …]
DLoopVectorizationPlanner.h41 ArrayRef<VPValue *> Operands) { in createInstruction() argument
42 VPInstruction *Instr = new VPInstruction(Opcode, Operands); in createInstruction()
49 std::initializer_list<VPValue *> Operands) { in createInstruction() argument
50 return createInstruction(Opcode, ArrayRef<VPValue *>(Operands)); in createInstruction()
117 VPValue *createNaryOp(unsigned Opcode, ArrayRef<VPValue *> Operands,
119 VPInstruction *NewVPInst = createInstruction(Opcode, Operands);
124 std::initializer_list<VPValue *> Operands,
126 return createNaryOp(Opcode, ArrayRef<VPValue *>(Operands), Inst);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolutionNormalization.cpp48 SmallVector<const SCEV *, 8> Operands; in visitAddRecExpr() local
50 transform(AR->operands(), std::back_inserter(Operands), in visitAddRecExpr()
54 return SE.getAddRecExpr(Operands, AR->getLoop(), SCEV::FlagAnyWrap); in visitAddRecExpr()
65 for (int i = 0, e = Operands.size() - 1; i < e; i++) in visitAddRecExpr()
66 Operands[i] = SE.getAddExpr(Operands[i], Operands[i + 1]); in visitAddRecExpr()
89 for (int i = Operands.size() - 2; i >= 0; i--) in visitAddRecExpr()
90 Operands[i] = SE.getMinusSCEV(Operands[i], Operands[i + 1]); in visitAddRecExpr()
93 return SE.getAddRecExpr(Operands, AR->getLoop(), SCEV::FlagAnyWrap); in visitAddRecExpr()
DConstantFolding.cpp1689 ArrayRef<Constant *> Operands, in ConstantFoldScalarCall1() argument
1692 assert(Operands.size() == 1 && "Wrong number of operands."); in ConstantFoldScalarCall1()
1698 if (isManifestConstant(Operands[0])) in ConstantFoldScalarCall1()
1702 if (isa<UndefValue>(Operands[0])) { in ConstantFoldScalarCall1()
1712 return Operands[0]; in ConstantFoldScalarCall1()
1715 if (isa<ConstantPointerNull>(Operands[0])) { in ConstantFoldScalarCall1()
1726 Caller, Operands[0]->getType()->getPointerAddressSpace())) { in ConstantFoldScalarCall1()
1727 return Operands[0]; in ConstantFoldScalarCall1()
1733 if (auto *Op = dyn_cast<ConstantFP>(Operands[0])) { in ConstantFoldScalarCall1()
1966 if (auto *Op = dyn_cast<ConstantInt>(Operands[0])) { in ConstantFoldScalarCall1()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFExpression.cpp142 Operands[Operand] = Data.getU8(&Offset); in extract()
144 Operands[Operand] = (int8_t)Operands[Operand]; in extract()
147 Operands[Operand] = Data.getU16(&Offset); in extract()
149 Operands[Operand] = (int16_t)Operands[Operand]; in extract()
152 Operands[Operand] = Data.getU32(&Offset); in extract()
154 Operands[Operand] = (int32_t)Operands[Operand]; in extract()
157 Operands[Operand] = Data.getU64(&Offset); in extract()
161 Operands[Operand] = Data.getU64(&Offset); in extract()
163 Operands[Operand] = Data.getU32(&Offset); in extract()
166 Operands[Operand] = Data.getU16(&Offset); in extract()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/AsmParser/
DRISCVAsmParser.cpp68 bool generateImmOutOfRangeError(OperandVector &Operands, uint64_t ErrorInfo,
72 OperandVector &Operands, MCStreamer &Out,
79 SMLoc NameLoc, OperandVector &Operands) override;
119 bool checkPseudoAddTPRel(MCInst &Inst, OperandVector &Operands);
125 bool processInstruction(MCInst &Inst, SMLoc IDLoc, OperandVector &Operands,
132 OperandMatchResultTy parseCSRSystemRegister(OperandVector &Operands);
133 OperandMatchResultTy parseImmediate(OperandVector &Operands);
134 OperandMatchResultTy parseRegister(OperandVector &Operands,
136 OperandMatchResultTy parseMemOpBaseReg(OperandVector &Operands);
137 OperandMatchResultTy parseAtomicMemOp(OperandVector &Operands);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp1087 void cvtMubufImpl(MCInst &Inst, const OperandVector &Operands,
1089 void cvtDSImpl(MCInst &Inst, const OperandVector &Operands,
1235 OperandVector &Operands, MCStreamer &Out,
1239 OperandMatchResultTy parseOperand(OperandVector &Operands, StringRef Mnemonic,
1243 SMLoc NameLoc, OperandVector &Operands) override;
1249 parseIntWithPrefix(const char *Prefix, OperandVector &Operands,
1255 OperandVector &Operands,
1260 parseNamedBit(const char *Name, OperandVector &Operands,
1271 OperandMatchResultTy parseImm(OperandVector &Operands, bool HasSP3AbsModifier = false);
1272 OperandMatchResultTy parseReg(OperandVector &Operands);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCInst.h166 SmallVector<MCOperand, 8> Operands; variable
180 const MCOperand &getOperand(unsigned i) const { return Operands[i]; } in getOperand()
181 MCOperand &getOperand(unsigned i) { return Operands[i]; } in getOperand()
182 unsigned getNumOperands() const { return Operands.size(); } in getNumOperands()
184 void addOperand(const MCOperand &Op) { Operands.push_back(Op); } in addOperand()
189 void clear() { Operands.clear(); } in clear()
190 void erase(iterator I) { Operands.erase(I); } in erase()
191 void erase(iterator First, iterator Last) { Operands.erase(First, Last); } in erase()
192 size_t size() const { return Operands.size(); } in size()
193 iterator begin() { return Operands.begin(); } in begin()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DScalarEvolutionExpressions.h148 const SCEV *const *Operands;
153 : SCEV(ID, T, computeExpressionSize(makeArrayRef(O, N))), Operands(O), in SCEVNAryExpr()
161 return Operands[i]; in getOperand()
167 op_iterator op_begin() const { return Operands; } in op_begin()
168 op_iterator op_end() const { return Operands + NumOperands; } in op_end()
306 const SCEV *getStart() const { return Operands[0]; } in getStart()
698 SmallVector<const SCEV *, 2> Operands; in visitAddExpr() local
701 Operands.push_back(((SC*)this)->visit(Op)); in visitAddExpr()
702 Changed |= Op != Operands.back(); in visitAddExpr()
704 return !Changed ? Expr : SE.getAddExpr(Operands); in visitAddExpr()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/AsmParser/
DMSP430AsmParser.cpp44 OperandVector &Operands, MCStreamer &Out,
51 SMLoc NameLoc, OperandVector &Operands) override;
60 SMLoc NameLoc, OperandVector &Operands);
62 bool ParseOperand(OperandVector &Operands);
253 OperandVector &Operands, in MatchAndEmitInstruction() argument
259 MatchInstructionImpl(Operands, Inst, ErrorInfo, MatchingInlineAsm); in MatchAndEmitInstruction()
271 if (ErrorInfo >= Operands.size()) in MatchAndEmitInstruction()
274 ErrorLoc = ((MSP430Operand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
313 OperandVector &Operands) { in parseJccInstruction() argument
339 Operands.push_back(MSP430Operand::CreateToken("jmp", NameLoc)); in parseJccInstruction()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/AsmParser/
DAVRAsmParser.cpp51 OperandVector &Operands, MCStreamer &Out,
58 SMLoc NameLoc, OperandVector &Operands) override;
62 OperandMatchResultTy parseMemriOperand(OperandVector &Operands);
64 bool parseOperand(OperandVector &Operands);
68 bool tryParseRegisterOperand(OperandVector &Operands);
69 bool tryParseExpression(OperandVector &Operands);
70 bool tryParseRelocExpression(OperandVector &Operands);
82 bool invalidOperand(SMLoc const &Loc, OperandVector const &Operands,
278 OperandVector const &Operands, in invalidOperand() argument
284 if (ErrorInfo >= Operands.size()) { in invalidOperand()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp389 bool validatetLDMRegList(const MCInst &Inst, const OperandVector &Operands,
391 bool validatetSTMRegList(const MCInst &Inst, const OperandVector &Operands,
446 OperandVector &Operands);
585 bool shouldOmitCCOutOperand(StringRef Mnemonic, OperandVector &Operands);
586 bool shouldOmitPredicateOperand(StringRef Mnemonic, OperandVector &Operands);
587 bool shouldOmitVectorPredicateOperand(StringRef Mnemonic, OperandVector &Operands);
589 void fixupGNULDRDAlias(StringRef Mnemonic, OperandVector &Operands);
590 bool validateLDRDSTRD(MCInst &Inst, const OperandVector &Operands,
632 SMLoc NameLoc, OperandVector &Operands) override;
640 OperandVector &Operands, MCStreamer &Out,
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/AsmParser/
DAArch64AsmParser.cpp152 bool parseSysAlias(StringRef Name, SMLoc NameLoc, OperandVector &Operands);
153 void createSysAlias(uint16_t Encoding, OperandVector &Operands, SMLoc S);
155 bool parseCondCode(OperandVector &Operands, bool invertCondCode);
157 bool parseRegister(OperandVector &Operands);
159 bool parseNeonVectorList(OperandVector &Operands);
160 bool parseOptionalMulOperand(OperandVector &Operands);
161 bool parseOperand(OperandVector &Operands, bool isCondCode,
165 OperandVector &Operands);
185 OperandVector &Operands, MCStreamer &Out,
199 OperandMatchResultTy tryParseOptionalShiftExtend(OperandVector &Operands);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp99 unsigned MatchInstruction(const OperandVector &Operands, MCInst &Inst, in MatchInstruction() argument
105 unsigned rv = MatchInstructionImpl(Operands, Inst, ErrorInfo, in MatchInstruction()
866 AddDefaultSrcDestOperands(OperandVector &Operands,
932 void EmitInstruction(MCInst &Inst, OperandVector &Operands, MCStreamer &Out);
935 OperandVector &Operands, MCStreamer &Out,
939 void MatchFPUWaitAlias(SMLoc IDLoc, X86Operand &Op, OperandVector &Operands,
946 OperandVector &Operands, MCStreamer &Out,
951 OperandVector &Operands, MCStreamer &Out,
960 bool HandleAVX512Operand(OperandVector &Operands,
1030 SMLoc NameLoc, OperandVector &Operands) override;
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/AsmParser/
DWebAssemblyAsmParser.cpp342 void parseSingleInteger(bool IsNegative, OperandVector &Operands) { in parseSingleInteger() argument
347 Operands.push_back(std::make_unique<WebAssemblyOperand>( in parseSingleInteger()
353 bool parseSingleFloat(bool IsNegative, OperandVector &Operands) { in parseSingleFloat() argument
360 Operands.push_back(std::make_unique<WebAssemblyOperand>( in parseSingleFloat()
367 bool parseSpecialFloatMaybe(bool IsNegative, OperandVector &Operands) { in parseSpecialFloatMaybe() argument
382 Operands.push_back(std::make_unique<WebAssemblyOperand>( in parseSpecialFloatMaybe()
389 bool checkForP2AlignIfLoadStore(OperandVector &Operands, StringRef InstName) { in checkForP2AlignIfLoadStore() argument
404 parseSingleInteger(false, Operands); in checkForP2AlignIfLoadStore()
411 Operands.push_back(std::make_unique<WebAssemblyOperand>( in checkForP2AlignIfLoadStore()
419 void addBlockTypeOperand(OperandVector &Operands, SMLoc NameLoc, in addBlockTypeOperand() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/AsmParser/
DHexagonAsmParser.cpp132 OperandVector &Operands, MCStreamer &Out,
139 int processInstruction(MCInst &Inst, OperandVector const &Operands,
173 bool splitIdentifier(OperandVector &Operands);
174 bool parseOperand(OperandVector &Operands);
175 bool parseInstruction(OperandVector &Operands);
176 bool implicitExpressionLocation(OperandVector &Operands);
177 bool parseExpressionOrOperand(OperandVector &Operands);
181 SMLoc NameLoc, OperandVector &Operands) override { in ParseInstruction() argument
186 OperandVector &Operands) override;
607 OperandVector &Operands, in MatchAndEmitInstruction() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantsContext.h373 ArrayRef<Constant *> Operands;
375 ConstantAggrKeyType(ArrayRef<Constant *> Operands) : Operands(Operands) {}
377 ConstantAggrKeyType(ArrayRef<Constant *> Operands, const ConstantClass *)
378 : Operands(Operands) {}
385 Operands = Storage;
389 return Operands == X.Operands;
393 if (Operands.size() != C->getNumOperands())
395 for (unsigned I = 0, E = Operands.size(); I != E; ++I)
396 if (Operands[I] != C->getOperand(I))
402 return hash_combine_range(Operands.begin(), Operands.end());
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/
DGVNExpression.h141 Value **Operands = nullptr; variable
164 std::swap(Operands[First], Operands[Second]); in swapOperands()
168 assert(Operands && "Operands not allocated"); in getOperand()
170 return Operands[N]; in getOperand()
174 assert(Operands && "Operands not allocated before setting"); in setOperand()
176 Operands[N] = V; in setOperand()
184 op_iterator op_begin() { return Operands; } in op_begin()
185 op_iterator op_end() { return Operands + NumOperands; } in op_end()
186 const_op_iterator op_begin() const { return Operands; } in op_begin()
187 const_op_iterator op_end() const { return Operands + NumOperands; } in op_end()
[all …]

1234567