/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | AssertSideEffectCheck.cpp | 42 OverloadedOperatorKind OpKind = OpCallExpr->getOperator(); in AST_MATCHER_P() local 43 return OpKind == OO_Equal || OpKind == OO_PlusEqual || in AST_MATCHER_P() 44 OpKind == OO_MinusEqual || OpKind == OO_StarEqual || in AST_MATCHER_P() 45 OpKind == OO_SlashEqual || OpKind == OO_AmpEqual || in AST_MATCHER_P() 46 OpKind == OO_PipeEqual || OpKind == OO_CaretEqual || in AST_MATCHER_P() 47 OpKind == OO_LessLessEqual || OpKind == OO_GreaterGreaterEqual || in AST_MATCHER_P() 48 OpKind == OO_PlusPlus || OpKind == OO_MinusMinus || in AST_MATCHER_P() 49 OpKind == OO_PercentEqual || OpKind == OO_New || in AST_MATCHER_P() 50 OpKind == OO_Delete || OpKind == OO_Array_New || in AST_MATCHER_P() 51 OpKind == OO_Array_Delete; in AST_MATCHER_P()
|
/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-10.0/llvm/include/llvm/CodeGen/ |
D | MachineOperand.h | 79 unsigned OpKind : 8; 201 : OpKind(K), SubReg_TargetFlags(0), ParentMI(nullptr) { in MachineOperand() 217 MachineOperandType getType() const { return (MachineOperandType)OpKind; } in getType() 319 bool isReg() const { return OpKind == MO_Register; } in isReg() 321 bool isImm() const { return OpKind == MO_Immediate; } in isImm() 323 bool isCImm() const { return OpKind == MO_CImmediate; } in isCImm() 325 bool isFPImm() const { return OpKind == MO_FPImmediate; } in isFPImm() 327 bool isMBB() const { return OpKind == MO_MachineBasicBlock; } in isMBB() 329 bool isFI() const { return OpKind == MO_FrameIndex; } in isFI() 331 bool isCPI() const { return OpKind == MO_ConstantPoolIndex; } in isCPI() [all …]
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | MachineOperand.h | 79 unsigned OpKind : 8; 201 : OpKind(K), SubReg_TargetFlags(0), ParentMI(nullptr) { in MachineOperand() 217 MachineOperandType getType() const { return (MachineOperandType)OpKind; } in getType() 319 bool isReg() const { return OpKind == MO_Register; } in isReg() 321 bool isImm() const { return OpKind == MO_Immediate; } in isImm() 323 bool isCImm() const { return OpKind == MO_CImmediate; } in isCImm() 325 bool isFPImm() const { return OpKind == MO_FPImmediate; } in isFPImm() 327 bool isMBB() const { return OpKind == MO_MachineBasicBlock; } in isMBB() 329 bool isFI() const { return OpKind == MO_FrameIndex; } in isFI() 331 bool isCPI() const { return OpKind == MO_ConstantPoolIndex; } in isCPI() [all …]
|
/external/llvm/utils/TableGen/ |
D | FastISelEmitter.cpp | 78 class OpKind { class 83 OpKind() : Repr(OK_Invalid) {} in OpKind() function in __anone694a1120311::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-10.0/configs/common/lib/Target/PowerPC/ |
D | PPCGenAsmMatcher.inc | 3691 MatchClassKind OpKind; 3693 default: OpKind = InvalidMatchClass; break; 3694 case PPC::R0: OpKind = MCK_GPRC; break; 3695 case PPC::R1: OpKind = MCK_Reg2; break; 3696 case PPC::R2: OpKind = MCK_Reg2; break; 3697 case PPC::R3: OpKind = MCK_Reg2; break; 3698 case PPC::R4: OpKind = MCK_Reg2; break; 3699 case PPC::R5: OpKind = MCK_Reg2; break; 3700 case PPC::R6: OpKind = MCK_Reg2; break; 3701 case PPC::R7: OpKind = MCK_Reg2; break; [all …]
|
/external/llvm-project/llvm/utils/TableGen/ |
D | FastISelEmitter.cpp | 88 class OpKind { class 93 OpKind() : Repr(OK_Invalid) {} in OpKind() function in __anon5387c6a00311::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-10.0/configs/common/lib/Target/Mips/ |
D | MipsGenAsmMatcher.inc | 4196 MatchClassKind OpKind; 4198 default: OpKind = InvalidMatchClass; break; 4199 case Mips::ZERO: OpKind = MCK_GPR32ZERO; break; 4200 case Mips::AT: OpKind = MCK_GPR32NONZERO; break; 4201 case Mips::V0: OpKind = MCK_Reg11; break; 4202 case Mips::V1: OpKind = MCK_Reg11; break; 4203 case Mips::A0: OpKind = MCK_GPRMM16MovePPairFirst; break; 4204 case Mips::A1: OpKind = MCK_Reg13; break; 4205 case Mips::A2: OpKind = MCK_Reg13; break; 4206 case Mips::A3: OpKind = MCK_Reg14; break; [all …]
|
/external/llvm-project/clang-tools-extra/clang-tidy/misc/ |
D | RedundantExpressionCheck.cpp | 337 OverloadedOperatorKind OpKind) { in checkOpKind() argument 339 if (AsTExpr && getOp(AsTExpr) == OpKind) in checkOpKind() 350 OverloadedOperatorKind OpKind) { in collectOperands() argument 351 if (const auto *BinOp = checkOpKind<TExpr>(Part, OpKind)) { in collectOperands() 355 return collectOperands<TExpr>(Operands.first, AllOperands, OpKind) || in collectOperands() 356 collectOperands<TExpr>(Operands.second, AllOperands, OpKind); in collectOperands() 365 OverloadedOperatorKind OpKind, in hasSameOperatorParent() argument 374 if (Skip && hasSameOperatorParent<TExpr>(Parent, OpKind, Context)) in hasSameOperatorParent() 376 if (checkOpKind<TExpr>(Parent, OpKind)) in hasSameOperatorParent() 389 const OverloadedOperatorKind OpKind = getOp(TheExpr); in markDuplicateOperands() local [all …]
|
/external/swiftshader/third_party/subzero/src/ |
D | IceInst.h | 323 enum OpKind { enum 330 static InstArithmetic *create(Cfg *Func, OpKind Op, Variable *Dest, in create() 335 OpKind getOp() const { return Op; } in getOp() 339 static const char *getOpName(OpKind Op); 348 InstArithmetic(Cfg *Func, OpKind Op, Variable *Dest, Operand *Source1, 351 const OpKind Op; 479 enum OpKind { enum 486 static const char *getCastName(OpKind Kind); 488 static InstCast *create(Cfg *Func, OpKind CastKind, Variable *Dest, in create() 493 OpKind getCastKind() const { return CastKind; } in getCastKind() [all …]
|
D | IceInst.cpp | 273 InstArithmetic::InstArithmetic(Cfg *Func, OpKind Op, Variable *Dest, in InstArithmetic() 287 const char *InstArithmetic::getOpName(OpKind Op) { in getOpName() 349 InstCast::InstCast(Cfg *Func, OpKind CastKind, Variable *Dest, Operand *Source) in InstCast() 787 const char *InstCast::getCastName(InstCast::OpKind Kind) { in getCastName() 788 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()
|
/external/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/ARM/ |
D | ARMGenAsmMatcher.inc | 9072 MatchClassKind OpKind; 9074 default: OpKind = InvalidMatchClass; break; 9075 case ARM::R0: OpKind = MCK_Reg11; break; 9076 case ARM::R1: OpKind = MCK_Reg15; break; 9077 case ARM::R2: OpKind = MCK_Reg11; break; 9078 case ARM::R3: OpKind = MCK_Reg15; break; 9079 case ARM::R4: OpKind = MCK_Reg12; break; 9080 case ARM::R5: OpKind = MCK_Reg16; break; 9081 case ARM::R6: OpKind = MCK_Reg12; break; 9082 case ARM::R7: OpKind = MCK_Reg16; break; [all …]
|
/external/llvm-project/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/google-java-format/core/src/test/resources/com/google/googlejavaformat/java/testdata/ |
D | B27078833.input | 1 enum OpKind {
|
D | B27078833.output | 1 enum OpKind {
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | MachineOperand.cpp | 159 OpKind = MO_Immediate; in ChangeToImmediate() 168 OpKind = MO_FPImmediate; in ChangeToFPImmediate() 179 OpKind = MO_ExternalSymbol; in ChangeToES() 192 OpKind = MO_GlobalAddress; in ChangeToGA() 204 OpKind = MO_MCSymbol; in ChangeToMCSymbol() 214 OpKind = MO_FrameIndex; in ChangeToFrameIndex() 225 OpKind = MO_TargetIndex; in ChangeToTargetIndex() 249 OpKind = MO_Register; in ChangeToRegister()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | MachineOperand.cpp | 161 OpKind = MO_Immediate; in ChangeToImmediate() 172 OpKind = MO_FPImmediate; in ChangeToFPImmediate() 184 OpKind = MO_ExternalSymbol; in ChangeToES() 197 OpKind = MO_GlobalAddress; in ChangeToGA() 209 OpKind = MO_MCSymbol; in ChangeToMCSymbol() 220 OpKind = MO_FrameIndex; in ChangeToFrameIndex() 232 OpKind = MO_TargetIndex; in ChangeToTargetIndex() 256 OpKind = MO_Register; in ChangeToRegister()
|
/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-10.0/configs/common/lib/Target/AArch64/ |
D | AArch64GenAsmMatcher.inc | 11227 MatchClassKind OpKind; 11229 default: OpKind = InvalidMatchClass; break; 11230 case AArch64::W0: OpKind = MCK_GPR32arg; break; 11231 case AArch64::W1: OpKind = MCK_GPR32arg; break; 11232 case AArch64::W2: OpKind = MCK_GPR32arg; break; 11233 case AArch64::W3: OpKind = MCK_GPR32arg; break; 11234 case AArch64::W4: OpKind = MCK_GPR32arg; break; 11235 case AArch64::W5: OpKind = MCK_GPR32arg; break; 11236 case AArch64::W6: OpKind = MCK_GPR32arg; break; 11237 case AArch64::W7: OpKind = MCK_GPR32arg; break; [all …]
|
/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/llvm-project/clang/lib/Parse/ |
D | ParseExpr.cpp | 1960 tok::TokenKind OpKind = Tok.getKind(); in ParsePostfixExpressionSuffix() local 1967 if (OpKind == tok::lesslessless) { in ParsePostfixExpressionSuffix() 2019 if (OpKind == tok::l_paren || !LHS.isInvalid()) { in ParsePostfixExpressionSuffix() 2080 tok::TokenKind OpKind = Tok.getKind(); in ParsePostfixExpressionSuffix() local 2097 << OpKind << Base->getSourceRange() in ParsePostfixExpressionSuffix() 2103 OpKind, ObjectType, in ParsePostfixExpressionSuffix() 2124 OpKind == tok::arrow ? tok::period : tok::arrow; in ParsePostfixExpressionSuffix() 2142 getCurScope(), Base, CorrectedBase, OpLoc, OpKind == tok::arrow, in ParsePostfixExpressionSuffix() 2151 LHS = ParseCXXPseudoDestructor(LHS.get(), OpLoc, OpKind, SS, in ParsePostfixExpressionSuffix() 2165 if (getLangOpts().ObjC && OpKind == tok::period && in ParsePostfixExpressionSuffix() [all …]
|
/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-project/llvm/lib/Target/X86/AsmParser/ |
D | X86AsmParser.cpp | 1099 unsigned ParseIntelInlineAsmOperator(unsigned OpKind); 1101 bool ParseMasmOperator(unsigned OpKind, int64_t &Val); 2005 if (unsigned OpKind = IdentifyIntelInlineAsmOperator(Identifier)) { in ParseIntelExpression() local 2006 if (int64_t Val = ParseIntelInlineAsmOperator(OpKind)) { in ParseIntelExpression() 2026 if (unsigned OpKind = IdentifyMasmOperator(Identifier)) { in ParseIntelExpression() local 2028 if (ParseMasmOperator(OpKind, Val)) in ParseIntelExpression() 2354 unsigned X86AsmParser::ParseIntelInlineAsmOperator(unsigned OpKind) { in ParseIntelInlineAsmOperator() argument 2373 switch(OpKind) { in ParseIntelInlineAsmOperator() 2399 bool X86AsmParser::ParseMasmOperator(unsigned OpKind, int64_t &Val) { in ParseMasmOperator() argument 2405 if (OpKind == MOK_SIZEOF || OpKind == MOK_TYPE) { in ParseMasmOperator() [all …]
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaExprCXX.cpp | 7122 tok::TokenKind OpKind, in ActOnStartCXXMemberReference() argument 7140 if (OpKind == tok::arrow) in ActOnStartCXXMemberReference() 7152 if (OpKind == tok::arrow) { in ActOnStartCXXMemberReference() 7187 OpKind = tok::period; in ActOnStartCXXMemberReference() 7213 if (OpKind == tok::arrow) { in ActOnStartCXXMemberReference() 7263 tok::TokenKind &OpKind, SourceLocation OpLoc) { in CheckArrow() argument 7277 if (OpKind == tok::arrow) { in CheckArrow() 7300 OpKind = tok::period; in CheckArrow() 7327 tok::TokenKind OpKind, in BuildPseudoDestructorExpr() argument 7336 if (CheckArrow(*this, ObjectType, Base, OpKind, OpLoc)) in BuildPseudoDestructorExpr() [all …]
|