/external/llvm/include/llvm/CodeGen/ |
D | MachineOperand.h | 69 MachineOperandType OpKind : 8; 185 : OpKind(K), SubReg_TargetFlags(0), ParentMI(nullptr) {} in MachineOperand() 189 MachineOperandType getType() const { return (MachineOperandType)OpKind; } in getType() 230 bool isReg() const { return OpKind == MO_Register; } in isReg() 232 bool isImm() const { return OpKind == MO_Immediate; } in isImm() 234 bool isCImm() const { return OpKind == MO_CImmediate; } in isCImm() 236 bool isFPImm() const { return OpKind == MO_FPImmediate; } in isFPImm() 238 bool isMBB() const { return OpKind == MO_MachineBasicBlock; } in isMBB() 240 bool isFI() const { return OpKind == MO_FrameIndex; } in isFI() 242 bool isCPI() const { return OpKind == MO_ConstantPoolIndex; } in isCPI() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | MachineOperand.h | 58 unsigned char OpKind; // MachineOperandType 156 explicit MachineOperand(MachineOperandType K) : OpKind(K), ParentMI(0) { in MachineOperand() 162 MachineOperandType getType() const { return (MachineOperandType)OpKind; } in getType() 191 bool isReg() const { return OpKind == MO_Register; } in isReg() 193 bool isImm() const { return OpKind == MO_Immediate; } in isImm() 195 bool isCImm() const { return OpKind == MO_CImmediate; } in isCImm() 197 bool isFPImm() const { return OpKind == MO_FPImmediate; } in isFPImm() 199 bool isMBB() const { return OpKind == MO_MachineBasicBlock; } in isMBB() 201 bool isFI() const { return OpKind == MO_FrameIndex; } in isFI() 203 bool isCPI() const { return OpKind == MO_ConstantPoolIndex; } in isCPI() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | MachineOperand.h | 77 unsigned OpKind : 8; 197 : OpKind(K), SubReg_TargetFlags(0), ParentMI(nullptr) { in MachineOperand() 213 MachineOperandType getType() const { return (MachineOperandType)OpKind; } in getType() 311 bool isReg() const { return OpKind == MO_Register; } in isReg() 313 bool isImm() const { return OpKind == MO_Immediate; } in isImm() 315 bool isCImm() const { return OpKind == MO_CImmediate; } in isCImm() 317 bool isFPImm() const { return OpKind == MO_FPImmediate; } in isFPImm() 319 bool isMBB() const { return OpKind == MO_MachineBasicBlock; } in isMBB() 321 bool isFI() const { return OpKind == MO_FrameIndex; } in isFI() 323 bool isCPI() const { return OpKind == MO_ConstantPoolIndex; } in isCPI() [all …]
|
/external/swiftshader/third_party/LLVM/utils/TableGen/ |
D | FastISelEmitter.cpp | 72 class OpKind { class 77 OpKind() : Repr(OK_Invalid) {} in OpKind() function in __anonc8589b870111::OperandsSignature::OpKind 79 bool operator<(OpKind RHS) const { return Repr < RHS.Repr; } in operator <() 80 bool operator==(OpKind RHS) const { return Repr == RHS.Repr; } in operator ==() 82 static OpKind getReg() { OpKind K; K.Repr = OK_Reg; return K; } in getReg() 83 static OpKind getFP() { OpKind K; K.Repr = OK_FP; return K; } in getFP() 84 static OpKind getImm(unsigned V) { in getImm() 87 OpKind K; K.Repr = OK_Imm+V; return K; in getImm() 112 SmallVector<OpKind, 3> Operands; 138 Result.Operands.push_back(OpKind::getImm(0)); in getWithoutImmCodes() [all …]
|
/external/llvm/utils/TableGen/ |
D | FastISelEmitter.cpp | 78 class OpKind { class 83 OpKind() : Repr(OK_Invalid) {} in OpKind() function in __anon817e0e5b0311::OperandsSignature::OpKind 85 bool operator<(OpKind RHS) const { return Repr < RHS.Repr; } in operator <() 86 bool operator==(OpKind RHS) const { return Repr == RHS.Repr; } in operator ==() 88 static OpKind getReg() { OpKind K; K.Repr = OK_Reg; return K; } in getReg() 89 static OpKind getFP() { OpKind K; K.Repr = OK_FP; return K; } in getFP() 90 static OpKind getImm(unsigned V) { in getImm() 93 OpKind K; K.Repr = OK_Imm+V; return K; in getImm() 118 SmallVector<OpKind, 3> Operands; 144 Result.Operands.push_back(OpKind::getImm(0)); in getWithoutImmCodes() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/ |
D | FastISelEmitter.cpp | 88 class OpKind { class 93 OpKind() : Repr(OK_Invalid) {} in OpKind() function in __anone2c787b30311::OperandsSignature::OpKind 95 bool operator<(OpKind RHS) const { return Repr < RHS.Repr; } in operator <() 96 bool operator==(OpKind RHS) const { return Repr == RHS.Repr; } in operator ==() 98 static OpKind getReg() { OpKind K; K.Repr = OK_Reg; return K; } in getReg() 99 static OpKind getFP() { OpKind K; K.Repr = OK_FP; return K; } in getFP() 100 static OpKind getImm(unsigned V) { in getImm() 103 OpKind K; K.Repr = OK_Imm+V; return K; in getImm() 128 SmallVector<OpKind, 3> Operands; 154 Result.Operands.push_back(OpKind::getImm(0)); in getWithoutImmCodes() [all …]
|
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/Mips/ |
D | MipsGenAsmMatcher.inc | 4100 MatchClassKind OpKind; 4102 default: OpKind = InvalidMatchClass; break; 4103 case Mips::ZERO: OpKind = MCK_GPR32ZERO; break; 4104 case Mips::AT: OpKind = MCK_GPR32NONZERO; break; 4105 case Mips::V0: OpKind = MCK_Reg11; break; 4106 case Mips::V1: OpKind = MCK_Reg11; break; 4107 case Mips::A0: OpKind = MCK_Reg8; break; 4108 case Mips::A1: OpKind = MCK_Reg8; break; 4109 case Mips::A2: OpKind = MCK_Reg8; break; 4110 case Mips::A3: OpKind = MCK_Reg8; break; [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86GenAsmMatcher.inc | 2620 MatchClassKind OpKind; 2622 default: OpKind = InvalidMatchClass; break; 2623 case X86::AL: OpKind = MCK_AL; break; 2624 case X86::DL: OpKind = MCK_GR8_ABCD_L; break; 2625 case X86::CL: OpKind = MCK_CL; break; 2626 case X86::BL: OpKind = MCK_GR8_ABCD_L; break; 2627 case X86::SIL: OpKind = MCK_GR8; break; 2628 case X86::DIL: OpKind = MCK_GR8; break; 2629 case X86::BPL: OpKind = MCK_GR8; break; 2630 case X86::SPL: OpKind = MCK_GR8; break; [all …]
|
/external/swiftshader/third_party/subzero/src/ |
D | IceInst.h | 318 enum OpKind { enum 325 static InstArithmetic *create(Cfg *Func, OpKind Op, Variable *Dest, in create() 330 OpKind getOp() const { return Op; } in getOp() 334 static const char *getOpName(OpKind Op); 343 InstArithmetic(Cfg *Func, OpKind Op, Variable *Dest, Operand *Source1, 346 const OpKind Op; 472 enum OpKind { enum 479 static const char *getCastName(OpKind Kind); 481 static InstCast *create(Cfg *Func, OpKind CastKind, Variable *Dest, in create() 486 OpKind getCastKind() const { return CastKind; } in getCastKind() [all …]
|
D | IceInst.cpp | 281 InstArithmetic::InstArithmetic(Cfg *Func, OpKind Op, Variable *Dest, in InstArithmetic() 295 const char *InstArithmetic::getOpName(OpKind Op) { in getOpName() 357 InstCast::InstCast(Cfg *Func, OpKind CastKind, Variable *Dest, Operand *Source) in InstCast() 795 const char *InstCast::getCastName(InstCast::OpKind Kind) { in getCastName() 796 if (Kind < InstCast::OpKind::_num) in getCastName()
|
D | PNaClTranslator.cpp | 1614 void reportInvalidBinaryOp(Ice::InstArithmetic::OpKind Op, Ice::Type OpTy); 1618 bool isValidIntegerLogicalOp(Ice::InstArithmetic::OpKind Op, Ice::Type OpTy) { in isValidIntegerLogicalOp() 1628 bool isValidIntegerArithOp(Ice::InstArithmetic::OpKind Op, Ice::Type OpTy) { in isValidIntegerArithOp() 1637 bool isValidFloatingArithOp(Ice::InstArithmetic::OpKind Op, Ice::Type OpTy) { in isValidFloatingArithOp() 1749 Ice::InstArithmetic::OpKind &Op) { in convertBinopOpcode() 1916 Ice::InstCast::OpKind &CastKind) { in convertCastOpToIceOp() 2154 void FunctionParser::reportInvalidBinaryOp(Ice::InstArithmetic::OpKind Op, in reportInvalidBinaryOp() 2232 Ice::InstArithmetic::OpKind Opcode; in ProcessRecord() 2247 Ice::InstCast::OpKind CastKind; in ProcessRecord()
|
D | IceConverter.cpp | 344 Ice::InstArithmetic::OpKind Opcode) { in convertArithInstruction() 399 Ice::InstCast::OpKind CastKind) { in convertCastInstruction()
|
D | IceTargetLowering.h | 503 void scalarizeArithmetic(InstArithmetic::OpKind K, Variable *Dest,
|
D | IceCfgNode.cpp | 1525 FoundOr = (Arith->getOp() == InstArithmetic::OpKind::Or); in shortCircuit() 1526 FoundAnd = (Arith->getOp() == InstArithmetic::OpKind::And); in shortCircuit()
|
D | IceTargetLoweringARM32.cpp | 457 const InstArithmetic::OpKind Op = in genTargetHelperCallFor() 512 InstCast::OpKind CastKind; in genTargetHelperCallFor() 606 const InstCast::OpKind CastKind = CastInstr->getCastKind(); in genTargetHelperCallFor() 2587 void TargetARM32::lowerInt64Arithmetic(InstArithmetic::OpKind Op, in lowerInt64Arithmetic() 3895 InstCast::OpKind CastKind = Instr->getCastKind(); in lowerCast() 4866 InstArithmetic::OpKind Oper; in createArithInst() 5551 bool isAddOrSub(const Inst *Instr, InstArithmetic::OpKind *Kind) { in isAddOrSub() 5592 InstArithmetic::OpKind _; in matchCombinedBaseIndex() 5707 InstArithmetic::OpKind Kind; in matchOffsetBase() 5860 const InstArithmetic::OpKind Op = in formAddressingMode()
|
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/ARM/ |
D | ARMGenAsmMatcher.inc | 7037 MatchClassKind OpKind; 7039 default: OpKind = InvalidMatchClass; break; 7040 case ARM::R0: OpKind = MCK_Reg0; break; 7041 case ARM::R1: OpKind = MCK_Reg0; break; 7042 case ARM::R2: OpKind = MCK_Reg0; break; 7043 case ARM::R3: OpKind = MCK_Reg0; break; 7044 case ARM::R4: OpKind = MCK_tGPR; break; 7045 case ARM::R5: OpKind = MCK_tGPR; break; 7046 case ARM::R6: OpKind = MCK_tGPR; break; 7047 case ARM::R7: OpKind = MCK_tGPR; break; [all …]
|
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/AArch64/ |
D | AArch64GenAsmMatcher.inc | 10635 MatchClassKind OpKind; 10637 default: OpKind = InvalidMatchClass; break; 10638 case AArch64::W0: OpKind = MCK_GPR32common; break; 10639 case AArch64::W1: OpKind = MCK_GPR32common; break; 10640 case AArch64::W2: OpKind = MCK_GPR32common; break; 10641 case AArch64::W3: OpKind = MCK_GPR32common; break; 10642 case AArch64::W4: OpKind = MCK_GPR32common; break; 10643 case AArch64::W5: OpKind = MCK_GPR32common; break; 10644 case AArch64::W6: OpKind = MCK_GPR32common; break; 10645 case AArch64::W7: OpKind = MCK_GPR32common; break; [all …]
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | PointerArithChecker.cpp | 319 BinaryOperatorKind OpKind = BOp->getOpcode(); in checkPreStmt() local 320 if (!BOp->isAdditiveOp() && OpKind != BO_AddAssign && OpKind != BO_SubAssign) in checkPreStmt()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | MachineOperand.cpp | 157 OpKind = MO_Immediate; in ChangeToImmediate() 166 OpKind = MO_FPImmediate; in ChangeToFPImmediate() 177 OpKind = MO_ExternalSymbol; in ChangeToES() 189 OpKind = MO_MCSymbol; in ChangeToMCSymbol() 199 OpKind = MO_FrameIndex; in ChangeToFrameIndex() 210 OpKind = MO_TargetIndex; in ChangeToTargetIndex() 234 OpKind = MO_Register; in ChangeToRegister()
|
/external/clang/lib/Parse/ |
D | ParseExpr.cpp | 1506 tok::TokenKind OpKind = Tok.getKind(); in ParsePostfixExpressionSuffix() local 1513 if (OpKind == tok::lesslessless) { in ParsePostfixExpressionSuffix() 1566 if (OpKind == tok::l_paren || !LHS.isInvalid()) { in ParsePostfixExpressionSuffix() 1614 tok::TokenKind OpKind = Tok.getKind(); in ParsePostfixExpressionSuffix() local 1627 << OpKind << Base->getSourceRange() in ParsePostfixExpressionSuffix() 1633 OpLoc, OpKind, ObjectType, in ParsePostfixExpressionSuffix() 1648 OpLoc, OpKind == tok::arrow); in ParsePostfixExpressionSuffix() 1655 LHS = ParseCXXPseudoDestructor(LHS.get(), OpLoc, OpKind, SS, in ParsePostfixExpressionSuffix() 1669 if (getLangOpts().ObjC2 && OpKind == tok::period && in ParsePostfixExpressionSuffix() 1693 OpKind, SS, TemplateKWLoc, Name, in ParsePostfixExpressionSuffix()
|
/external/clang/lib/Sema/ |
D | SemaExprCXX.cpp | 5915 tok::TokenKind OpKind, in ActOnStartCXXMemberReference() argument 5933 if (OpKind == tok::arrow) in ActOnStartCXXMemberReference() 5945 if (OpKind == tok::arrow) { in ActOnStartCXXMemberReference() 5980 OpKind = tok::period; in ActOnStartCXXMemberReference() 6006 if (OpKind == tok::arrow && in ActOnStartCXXMemberReference() 6057 tok::TokenKind& OpKind, SourceLocation OpLoc) { in CheckArrow() argument 6071 if (OpKind == tok::arrow) { in CheckArrow() 6082 OpKind = tok::period; in CheckArrow() 6091 tok::TokenKind OpKind, in BuildPseudoDestructorExpr() argument 6100 if (CheckArrow(*this, ObjectType, Base, OpKind, OpLoc)) in BuildPseudoDestructorExpr() [all …]
|
/external/llvm/lib/CodeGen/ |
D | MachineInstr.cpp | 139 OpKind = MO_Immediate; in ChangeToImmediate() 148 OpKind = MO_FPImmediate; in ChangeToFPImmediate() 158 OpKind = MO_ExternalSymbol; in ChangeToES() 170 OpKind = MO_MCSymbol; in ChangeToMCSymbol() 192 OpKind = MO_Register; in ChangeToRegister()
|
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/X86/ |
D | X86GenAsmMatcher.inc | 6016 MatchClassKind OpKind; 6018 default: OpKind = InvalidMatchClass; break; 6019 case X86::AL: OpKind = MCK_AL; break; 6020 case X86::DL: OpKind = MCK_GR8_ABCD_L; break; 6021 case X86::CL: OpKind = MCK_CL; break; 6022 case X86::BL: OpKind = MCK_GR8_ABCD_L; break; 6023 case X86::AH: OpKind = MCK_GR8_ABCD_H; break; 6024 case X86::DH: OpKind = MCK_GR8_ABCD_H; break; 6025 case X86::CH: OpKind = MCK_GR8_ABCD_H; break; 6026 case X86::BH: OpKind = MCK_GR8_ABCD_H; break; [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/AsmParser/ |
D | X86AsmParser.cpp | 828 unsigned ParseIntelInlineAsmOperator(unsigned OpKind); 1465 if (unsigned OpKind = IdentifyIntelInlineAsmOperator(Identifier)) { in ParseIntelExpression() local 1466 if (OpKind == IOK_OFFSET) in ParseIntelExpression() 1469 if (int64_t Val = ParseIntelInlineAsmOperator(OpKind)) { in ParseIntelExpression() 1769 unsigned X86AsmParser::ParseIntelInlineAsmOperator(unsigned OpKind) { in ParseIntelInlineAsmOperator() argument 1788 switch(OpKind) { in ParseIntelInlineAsmOperator()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | MachineInstr.cpp | 148 OpKind = MO_Immediate; in ChangeToImmediate() 165 OpKind = MO_Register; in ChangeToRegister()
|