Home
last modified time | relevance | path

Searched refs:OpKind (Results 1 – 11 of 11) sorted by relevance

/external/llvm/include/llvm/CodeGen/
DMachineOperand.h68 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/
DFastISelEmitter.cpp78 class OpKind { class
83 OpKind() : Repr(OK_Invalid) {} in OpKind() function in __anon432e3ab20311::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/clang/lib/Parse/
DParseExpr.cpp1396 tok::TokenKind OpKind = Tok.getKind(); in ParsePostfixExpressionSuffix() local
1403 if (OpKind == tok::lesslessless) { in ParsePostfixExpressionSuffix()
1456 if (OpKind == tok::l_paren || !LHS.isInvalid()) { in ParsePostfixExpressionSuffix()
1492 tok::TokenKind OpKind = Tok.getKind(); in ParsePostfixExpressionSuffix() local
1505 << OpKind << Base->getSourceRange() in ParsePostfixExpressionSuffix()
1511 OpLoc, OpKind, ObjectType, in ParsePostfixExpressionSuffix()
1526 OpLoc, OpKind == tok::arrow); in ParsePostfixExpressionSuffix()
1533 LHS = ParseCXXPseudoDestructor(LHS.get(), OpLoc, OpKind, SS, in ParsePostfixExpressionSuffix()
1547 if (getLangOpts().ObjC2 && OpKind == tok::period && in ParsePostfixExpressionSuffix()
1571 OpKind, SS, TemplateKWLoc, Name, in ParsePostfixExpressionSuffix()
DParseExprCXX.cpp1458 tok::TokenKind OpKind, in ParseCXXPseudoDestructor() argument
1497 return Actions.ActOnPseudoDestructorExpr(getCurScope(), Base, OpLoc, OpKind, in ParseCXXPseudoDestructor()
1521 return Actions.ActOnPseudoDestructorExpr(getCurScope(), Base, OpLoc, OpKind, in ParseCXXPseudoDestructor()
/external/clang/lib/Sema/
DSemaExprCXX.cpp5313 tok::TokenKind OpKind, in ActOnStartCXXMemberReference() argument
5331 if (OpKind == tok::arrow) in ActOnStartCXXMemberReference()
5343 if (OpKind == tok::arrow) { in ActOnStartCXXMemberReference()
5378 OpKind = tok::period; in ActOnStartCXXMemberReference()
5404 if (OpKind == tok::arrow && in ActOnStartCXXMemberReference()
5450 tok::TokenKind& OpKind, SourceLocation OpLoc) { in CheckArrow() argument
5464 if (OpKind == tok::arrow) { in CheckArrow()
5475 OpKind = tok::period; in CheckArrow()
5484 tok::TokenKind OpKind, in BuildPseudoDestructorExpr() argument
5493 if (CheckArrow(*this, ObjectType, Base, OpKind, OpLoc)) in BuildPseudoDestructorExpr()
[all …]
DSemaExprMember.cpp1621 tok::TokenKind OpKind, in ActOnMemberAccessExpr() argument
1644 bool IsArrow = (OpKind == tok::arrow); in ActOnMemberAccessExpr()
DSemaExpr.cpp6385 BinaryOperatorKind OpKind = BinaryOperator::getOverloadedOpcode(OO); in IsArithmeticBinaryExpr() local
6386 if (IsArithmeticOp(OpKind)) { in IsArithmeticBinaryExpr()
6387 *Opcode = OpKind; in IsArithmeticBinaryExpr()
/external/llvm/lib/CodeGen/
DMachineInstr.cpp131 OpKind = MO_Immediate; in ChangeToImmediate()
140 OpKind = MO_FPImmediate; in ChangeToFPImmediate()
162 OpKind = MO_Register; in ChangeToRegister()
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp663 std::unique_ptr<X86Operand> ParseIntelOperator(unsigned OpKind);
1587 std::unique_ptr<X86Operand> X86AsmParser::ParseIntelOperator(unsigned OpKind) { in ParseIntelOperator() argument
1605 switch(OpKind) { in ParseIntelOperator()
/external/clang/include/clang/Sema/
DSema.h3639 tok::TokenKind OpKind,
4497 tok::TokenKind OpKind,
4503 tok::TokenKind OpKind,
4512 tok::TokenKind OpKind,
4521 tok::TokenKind OpKind,
/external/clang/include/clang/Parse/
DParser.h1450 tok::TokenKind OpKind,