/external/llvm/include/llvm/CodeGen/ |
D | MachineOperand.h | 68 MachineOperandType OpKind; 184 : OpKind(K), SubReg_TargetFlags(0), ParentMI(nullptr) {} in MachineOperand() 188 MachineOperandType getType() const { return (MachineOperandType)OpKind; } in getType() 227 bool isReg() const { return OpKind == MO_Register; } in isReg() 229 bool isImm() const { return OpKind == MO_Immediate; } in isImm() 231 bool isCImm() const { return OpKind == MO_CImmediate; } in isCImm() 233 bool isFPImm() const { return OpKind == MO_FPImmediate; } in isFPImm() 235 bool isMBB() const { return OpKind == MO_MachineBasicBlock; } in isMBB() 237 bool isFI() const { return OpKind == MO_FrameIndex; } in isFI() 239 bool isCPI() const { return OpKind == MO_ConstantPoolIndex; } in isCPI() [all …]
|
/external/llvm/utils/TableGen/ |
D | FastISelEmitter.cpp | 76 class OpKind { class 81 OpKind() : Repr(OK_Invalid) {} in OpKind() function in __anone8ec1ae90311::OperandsSignature::OpKind 83 bool operator<(OpKind RHS) const { return Repr < RHS.Repr; } in operator <() 84 bool operator==(OpKind RHS) const { return Repr == RHS.Repr; } in operator ==() 86 static OpKind getReg() { OpKind K; K.Repr = OK_Reg; return K; } in getReg() 87 static OpKind getFP() { OpKind K; K.Repr = OK_FP; return K; } in getFP() 88 static OpKind getImm(unsigned V) { in getImm() 91 OpKind K; K.Repr = OK_Imm+V; return K; in getImm() 116 SmallVector<OpKind, 3> Operands; 142 Result.Operands.push_back(OpKind::getImm(0)); in getWithoutImmCodes() [all …]
|
/external/clang/lib/Parse/ |
D | ParseExpr.cpp | 1270 tok::TokenKind OpKind = Tok.getKind(); in ParsePostfixExpressionSuffix() local 1277 if (OpKind == tok::lesslessless) { in ParsePostfixExpressionSuffix() 1329 if (OpKind == tok::l_paren || !LHS.isInvalid()) { in ParsePostfixExpressionSuffix() 1360 tok::TokenKind OpKind = Tok.getKind(); in ParsePostfixExpressionSuffix() local 1373 << OpKind << Base->getSourceRange() in ParsePostfixExpressionSuffix() 1379 OpLoc, OpKind, ObjectType, in ParsePostfixExpressionSuffix() 1394 OpLoc, OpKind == tok::arrow); in ParsePostfixExpressionSuffix() 1401 LHS = ParseCXXPseudoDestructor(LHS.get(), OpLoc, OpKind, SS, in ParsePostfixExpressionSuffix() 1415 if (getLangOpts().ObjC2 && OpKind == tok::period && Tok.is(tok::kw_class)) { in ParsePostfixExpressionSuffix() 1436 OpKind, SS, TemplateKWLoc, Name, in ParsePostfixExpressionSuffix()
|
D | ParseExprCXX.cpp | 1393 tok::TokenKind OpKind, in ParseCXXPseudoDestructor() argument 1433 OpKind, TildeLoc, DS, in ParseCXXPseudoDestructor() 1458 OpLoc, OpKind, in ParseCXXPseudoDestructor()
|
/external/clang/lib/Sema/ |
D | SemaExprCXX.cpp | 5164 tok::TokenKind OpKind, ParsedType &ObjectType, in ActOnStartCXXMemberReference() argument 5181 if (OpKind == tok::arrow) in ActOnStartCXXMemberReference() 5193 if (OpKind == tok::arrow) { in ActOnStartCXXMemberReference() 5228 OpKind = tok::period; in ActOnStartCXXMemberReference() 5254 if (OpKind == tok::arrow && in ActOnStartCXXMemberReference() 5314 tok::TokenKind& OpKind, SourceLocation OpLoc) { in CheckArrow() argument 5328 if (OpKind == tok::arrow) { in CheckArrow() 5339 OpKind = tok::period; in CheckArrow() 5348 tok::TokenKind OpKind, in BuildPseudoDestructorExpr() argument 5358 if (CheckArrow(*this, ObjectType, Base, OpKind, OpLoc)) in BuildPseudoDestructorExpr() [all …]
|
D | SemaExprMember.cpp | 1599 tok::TokenKind OpKind, in ActOnMemberAccessExpr() argument 1614 ActOnMemberAccessExpr(S, Base, OpLoc, OpKind, SS, TemplateKWLoc, Id, in ActOnMemberAccessExpr() 1636 bool IsArrow = (OpKind == tok::arrow); in ActOnMemberAccessExpr()
|
D | SemaExpr.cpp | 6000 BinaryOperatorKind OpKind = BinaryOperator::getOverloadedOpcode(OO); in IsArithmeticBinaryExpr() local 6001 if (IsArithmeticOp(OpKind)) { in IsArithmeticBinaryExpr() 6002 *Opcode = OpKind; in IsArithmeticBinaryExpr()
|
/external/llvm/lib/Target/X86/AsmParser/ |
D | X86AsmParser.cpp | 663 std::unique_ptr<X86Operand> ParseIntelOperator(unsigned OpKind); 1496 std::unique_ptr<X86Operand> X86AsmParser::ParseIntelOperator(unsigned OpKind) { in ParseIntelOperator() argument 1513 switch(OpKind) { in ParseIntelOperator()
|
/external/llvm/lib/CodeGen/ |
D | MachineInstr.cpp | 121 OpKind = MO_Immediate; in ChangeToImmediate() 143 OpKind = MO_Register; in ChangeToRegister()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 3557 tok::TokenKind OpKind, 4386 tok::TokenKind OpKind, 4394 tok::TokenKind OpKind, 4404 tok::TokenKind OpKind, 4414 tok::TokenKind OpKind,
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 1460 tok::TokenKind OpKind,
|