/external/llvm/utils/TableGen/ |
CodeEmitterGen.cpp | 84 // operand number. Non-matching operands are assumed to be in 87 if (CGI.Operands.hasOperandNamed(VarName, OpIdx)) { 89 OpIdx = CGI.Operands[OpIdx].MIOperandNo; 90 assert(!CGI.Operands.isFlatOperandNotEmitted(OpIdx) && 93 unsigned NumberOps = CGI.Operands.size(); 97 (CGI.Operands.isFlatOperandNotEmitted(NumberedOp) || 99 CGI.Operands.getSubOperandNumber(NumberedOp).first)))) { 102 if (NumberedOp >= CGI.Operands.back().MIOperandNo + 103 CGI.Operands.back().MINumOperands) { 104 errs() << "Too few operands in record " << R->getName() < [all...] |
AsmWriterEmitter.cpp | 66 // Check to see if any other operands are identical in this list, and if so, 109 for (unsigned i = 0, e = FirstInst.Operands.size(); i != e; ++i) { 112 O << " " << FirstInst.Operands[i].getCode(PassSubtarget); 121 FirstInst.Operands[i])); 126 AWI.Operands[i])); 153 if (Inst.Operands.empty()) 156 std::string Command = " "+Inst.Operands[0].getCode(PassSubtarget)+"\n"; 189 // If this instruction has no more operands, we isn't anything to merge 191 if (FirstInst.Operands.size() == Op) 199 return OtherInst.Operands.size() == Op | [all...] |
FixedLenDecoderEmitter.cpp | 315 const std::map<unsigned, std::vector<OperandInfo> > &Operands; 345 : AllInstructions(Insts), Opcodes(IDs), Operands(Ops), Filters(), 356 : AllInstructions(Insts), Opcodes(IDs), Operands(Ops), 553 Owner->Operands, BitValueArray, *Owner))); 579 Owner->Operands, BitValueArray, *Owner))); [all...] |
/external/llvm/lib/IR/ |
ConstantsContext.h | 54 // allocate space for exactly two operands 75 // allocate space for exactly three operands 96 // allocate space for exactly two operands 117 // allocate space for exactly three operands 139 // allocate space for exactly three operands 260 // allocate space for exactly two operands 361 ArrayRef<Constant *> Operands; 362 ConstantAggrKeyType(ArrayRef<Constant *> Operands) : Operands(Operands) {} [all...] |
/external/llvm/lib/Target/ARM/AsmParser/ |
ARMAsmParser.cpp | 192 bool validatetLDMRegList(const MCInst &Inst, const OperandVector &Operands, 194 bool validatetSTMRegList(const MCInst &Inst, const OperandVector &Operands, 246 OperandVector &Operands); 356 bool shouldOmitCCOutOperand(StringRef Mnemonic, OperandVector &Operands); 357 bool shouldOmitPredicateOperand(StringRef Mnemonic, OperandVector &Operands); 391 SMLoc NameLoc, OperandVector &Operands) override; 399 OperandVector &Operands, MCStreamer &Out, [all...] |
/external/llvm/lib/Target/AArch64/AsmParser/ |
AArch64AsmParser.cpp | 57 bool parseSysAlias(StringRef Name, SMLoc NameLoc, OperandVector &Operands); 59 bool parseCondCode(OperandVector &Operands, bool invertCondCode); 63 bool parseRegister(OperandVector &Operands); 65 bool parseVectorList(OperandVector &Operands); 66 bool parseOperand(OperandVector &Operands, bool isCondCode, 88 OperandVector &Operands, MCStreamer &Out, 99 OperandMatchResultTy tryParseOptionalShiftExtend(OperandVector &Operands); 100 OperandMatchResultTy tryParseBarrierOperand(OperandVector &Operands); 101 OperandMatchResultTy tryParseMRSSystemRegister(OperandVector &Operands); 102 OperandMatchResultTy tryParseSysReg(OperandVector &Operands); [all...] |
/external/llvm/lib/Target/Hexagon/AsmParser/ |
HexagonAsmParser.cpp | 113 OperandVector &Operands, MCStreamer &Out, 118 int processInstruction(MCInst &Inst, OperandVector const &Operands, 154 bool splitIdentifier(OperandVector &Operands); 155 bool parseOperand(OperandVector &Operands); 156 bool parseInstruction(OperandVector &Operands); 157 bool implicitExpressionLocation(OperandVector &Operands); 158 bool parseExpressionOrOperand(OperandVector &Operands); 161 SMLoc NameLoc, OperandVector &Operands) override 166 AsmToken ID, OperandVector &Operands) override; 353 assert(N == 1 && "Invalid number of operands!"); [all...] |
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Transforms/Scalar/ |
GVNExpression.h | 124 Value **Operands; 133 : Expression(ET), Operands(nullptr), MaxOperands(NumOperands), 145 /// \brief Swap two operands. Used during GVN to put commutative operands in 148 std::swap(Operands[First], Operands[Second]); 152 assert(Operands && "Operands not allocated"); 154 return Operands[N]; 158 assert(Operands && "Operands not allocated before setting") [all...] |
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Transforms/Scalar/ |
GVNExpression.h | 124 Value **Operands; 133 : Expression(ET), Operands(nullptr), MaxOperands(NumOperands), 145 /// \brief Swap two operands. Used during GVN to put commutative operands in 148 std::swap(Operands[First], Operands[Second]); 152 assert(Operands && "Operands not allocated"); 154 return Operands[N]; 158 assert(Operands && "Operands not allocated before setting") [all...] |
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Transforms/Scalar/ |
GVNExpression.h | 124 Value **Operands; 133 : Expression(ET), Operands(nullptr), MaxOperands(NumOperands), 145 /// \brief Swap two operands. Used during GVN to put commutative operands in 148 std::swap(Operands[First], Operands[Second]); 152 assert(Operands && "Operands not allocated"); 154 return Operands[N]; 158 assert(Operands && "Operands not allocated before setting") [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Transforms/Scalar/ |
GVNExpression.h | 124 Value **Operands; 133 : Expression(ET), Operands(nullptr), MaxOperands(NumOperands), 145 /// \brief Swap two operands. Used during GVN to put commutative operands in 148 std::swap(Operands[First], Operands[Second]); 152 assert(Operands && "Operands not allocated"); 154 return Operands[N]; 158 assert(Operands && "Operands not allocated before setting") [all...] |
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Transforms/Scalar/ |
GVNExpression.h | 124 Value **Operands; 133 : Expression(ET), Operands(nullptr), MaxOperands(NumOperands), 145 /// \brief Swap two operands. Used during GVN to put commutative operands in 148 std::swap(Operands[First], Operands[Second]); 152 assert(Operands && "Operands not allocated"); 154 return Operands[N]; 158 assert(Operands && "Operands not allocated before setting") [all...] |
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Transforms/Scalar/ |
GVNExpression.h | 124 Value **Operands; 133 : Expression(ET), Operands(nullptr), MaxOperands(NumOperands), 145 /// \brief Swap two operands. Used during GVN to put commutative operands in 148 std::swap(Operands[First], Operands[Second]); 152 assert(Operands && "Operands not allocated"); 154 return Operands[N]; 158 assert(Operands && "Operands not allocated before setting") [all...] |
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Transforms/Scalar/ |
GVNExpression.h | 124 Value **Operands; 133 : Expression(ET), Operands(nullptr), MaxOperands(NumOperands), 145 /// \brief Swap two operands. Used during GVN to put commutative operands in 148 std::swap(Operands[First], Operands[Second]); 152 assert(Operands && "Operands not allocated"); 154 return Operands[N]; 158 assert(Operands && "Operands not allocated before setting") [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Transforms/Scalar/ |
GVNExpression.h | 124 Value **Operands; 133 : Expression(ET), Operands(nullptr), MaxOperands(NumOperands), 145 /// \brief Swap two operands. Used during GVN to put commutative operands in 148 std::swap(Operands[First], Operands[Second]); 152 assert(Operands && "Operands not allocated"); 154 return Operands[N]; 158 assert(Operands && "Operands not allocated before setting") [all...] |
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
MachineInstr.cpp | 87 // Unlink this from the doubly linked list of operands. 465 /// MCID NULL and no operands. 484 /// implicit operands. It reserves space for the number of operands specified by 492 Operands.reserve(NumImplicitOps + MCID->getNumOperands()); 507 Operands.reserve(NumImplicitOps + MCID->getNumOperands()); 523 Operands.reserve(NumImplicitOps + MCID->getNumOperands()); 539 Operands.reserve(NumImplicitOps + MCID->getNumOperands()); 552 Operands.reserve(MI.getNumOperands()); 554 // Add operands [all...] |
/external/llvm/lib/Target/X86/AsmParser/ |
X86AsmParser.cpp | 174 assert (OperandStack.size() > 1 && "Too few operands."); 688 AddDefaultSrcDestOperands(OperandVector &Operands, 729 void EmitInstruction(MCInst &Inst, OperandVector &Operands, MCStreamer &Out); 732 OperandVector &Operands, MCStreamer &Out, 736 void MatchFPUWaitAlias(SMLoc IDLoc, X86Operand &Op, OperandVector &Operands, 743 OperandVector &Operands, MCStreamer &Out, 748 OperandVector &Operands, MCStreamer &Out, 755 /// and memory broadcasting ({1to<NUM>}) primitives, updating Operands vector if required. 757 bool HandleAVX512Operand(OperandVector &Operands, 818 SMLoc NameLoc, OperandVector &Operands) override [all...] |
X86AsmInstrumentation.h | 46 SmallVectorImpl<std::unique_ptr<MCParsedAsmOperand> > &Operands,
|
/external/swiftshader/third_party/LLVM/utils/TableGen/ |
AsmWriterEmitter.cpp | 33 // Check to see if any other operands are identical in this list, and if so, 76 for (unsigned i = 0, e = FirstInst.Operands.size(); i != e; ++i) { 79 O << " " << FirstInst.Operands[i].getCode(); 87 FirstInst.Operands[i])); 93 AWI.Operands[i])); 123 if (Inst->Operands.empty()) 126 Command = " " + Inst->Operands[0].getCode() + "\n"; 161 // If this instruction has no more operands, we isn't anything to merge 165 if (!FirstInst || FirstInst->Operands.size() == Op) 171 // Keep track of the maximum, number of operands or an [all...] |
CodeEmitterGen.cpp | 105 // operand number. Non-matching operands are assumed to be in 108 if (CGI.Operands.hasOperandNamed(VarName, OpIdx)) { 110 OpIdx = CGI.Operands[OpIdx].MIOperandNo; 111 assert(!CGI.Operands.isFlatOperandNotEmitted(OpIdx) && 116 while (CGI.Operands.isFlatOperandNotEmitted(NumberedOp)) 121 std::pair<unsigned, unsigned> SO = CGI.Operands.getSubOperandNumber(OpIdx); 122 std::string &EncoderMethodName = CGI.Operands[SO.first].EncoderMethodName; 128 // sub-operands, if there are more than one, so only 193 // operands to the instruction.
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
ConstantFolding.h | 11 // operands are constants, for example "sub i32 1, 0" -> "1". 35 /// Note that this fails if not all of the operands are constant. Otherwise, 47 /// specified operands. If successful, the constant result is returned, if not, 57 /// instruction (icmp/fcmp) with the specified operands. If it fails, it 58 /// returns a constant expression of the specified operands. 65 /// instruction with the specified operands and indices. The constant result is 87 ConstantFoldCall(Function *F, ArrayRef<Constant *> Operands);
|
ScalarEvolutionExpressions.h | 143 const SCEV *const *Operands; 148 : SCEV(ID, T), Operands(O), NumOperands(N) {} 154 return Operands[i]; 158 op_iterator op_begin() const { return Operands; } 159 op_iterator op_end() const { return Operands + NumOperands; } 290 /// All operands of an AddRec are required to be loop invariant. 302 const SCEV *getStart() const { return Operands[0]; }
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
MachineInstr.h | 74 std::vector<MachineOperand> Operands; // the operands 93 /// MCID NULL and no operands. 101 /// implicit operands. It reserves space for the number of operands specified 111 /// implicit operands. It reserves space for number of operands specified by 197 /// Access to explicit operands of the instruction. 199 unsigned getNumOperands() const { return (unsigned)Operands.size(); } 203 return Operands[i] [all...] |
/external/llvm/lib/Target/PowerPC/ |
PPCBoolRetToInt.cpp | 70 for (auto &Op : CurrUser->operands()) 83 // Temporarily set the operands to 0. We'll fix this later in 108 // 3. All of its operands are Constant or Argument or 111 // 5. All of its PHINode operands are Promotable 133 const auto &Operands = P->operands(); 135 !std::all_of(Operands.begin(), Operands.end(), IsValidOperand)) 152 const auto &Operands = P->operands(); [all...] |
/external/llvm/lib/Target/Sparc/AsmParser/ |
SparcAsmParser.cpp | 50 OperandVector &Operands, MCStreamer &Out, 55 SMLoc NameLoc, OperandVector &Operands) override; 61 // Custom parse functions for Sparc specific operands. 62 OperandMatchResultTy parseMEMOperand(OperandVector &Operands); 64 OperandMatchResultTy parseOperand(OperandVector &Operands, StringRef Name); 70 OperandMatchResultTy parseBranchModifiers(OperandVector &Operands); 303 assert(N == 1 && "Invalid number of operands!"); 308 assert(N == 1 && "Invalid number of operands!"); 324 assert(N == 2 && "Invalid number of operands!"); 333 assert(N == 2 && "Invalid number of operands!"); [all...] |