Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineOperand.h76 /// OpKind - Specify what kind of operand this is. This discriminates the
78 unsigned OpKind : 8;
208 : OpKind(K), SubReg_TargetFlags(0) { in MachineOperand()
224 MachineOperandType getType() const { return (MachineOperandType)OpKind; } in getType()
329 bool isReg() const { return OpKind == MO_Register; } in isReg()
331 bool isImm() const { return OpKind == MO_Immediate; } in isImm()
333 bool isCImm() const { return OpKind == MO_CImmediate; } in isCImm()
335 bool isFPImm() const { return OpKind == MO_FPImmediate; } in isFPImm()
337 bool isMBB() const { return OpKind == MO_MachineBasicBlock; } in isMBB()
339 bool isFI() const { return OpKind
[all...]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DFastISelEmitter.cpp90 class OpKind { class
95 OpKind() : Repr(OK_Invalid) {} in OpKind() function in __anon3cd78fb00311::OperandsSignature::OpKind
97 bool operator<(OpKind RHS) const { return Repr < RHS.Repr; } in operator <()
98 bool operator==(OpKind RHS) const { return Repr == RHS.Repr; } in operator ==()
100 static OpKind getReg() { in getReg()
101 OpKind K; in getReg()
105 static OpKind getFP() { in getFP()
106 OpKind K; in getFP()
110 static OpKind getImm(unsigned V) { in getImm()
113 OpKind K; in getImm()
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/
H A DPatternParser.cpp413 PatFrag::ParamKind OpKind; in parsePatFragParamList() local
415 OpKind = PatFrag::PK_Imm; in parsePatFragParamList()
417 OpKind = PatFrag::PK_Root; in parsePatFragParamList()
420 OpKind = PatFrag::PK_MachineOperand; in parsePatFragParamList()
429 if (!ParseAction(NameStr, (unsigned)OpKind)) in parsePatFragParamList()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineOperand.cpp167 OpKind = MO_Immediate; in ChangeToImmediate()
178 OpKind = MO_FPImmediate; in ChangeToFPImmediate()
190 OpKind = MO_ExternalSymbol; in ChangeToES()
203 OpKind = MO_GlobalAddress; in ChangeToGA()
216 OpKind = MO_BlockAddress; in ChangeToBA()
228 OpKind = MO_MCSymbol; in ChangeToMCSymbol()
239 OpKind = MO_FrameIndex; in ChangeToFrameIndex()
251 OpKind = MO_TargetIndex; in ChangeToTargetIndex()
264 OpKind = MO_DbgInstrRef; in ChangeToDbgInstrRef()
293 OpKind = MO_Register; in ChangeToRegister()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseExpr.cpp2145 tok::TokenKind OpKind = Tok.getKind(); in ParsePostfixExpressionSuffix() local
2152 if (OpKind == tok::lesslessless) { in ParsePostfixExpressionSuffix()
2201 if (OpKind == tok::l_paren || !LHS.isInvalid()) { in ParsePostfixExpressionSuffix()
2259 tok::TokenKind OpKind = Tok.getKind(); in ParsePostfixExpressionSuffix() local
2276 << OpKind << Base->getSourceRange() in ParsePostfixExpressionSuffix()
2282 OpKind, ObjectType, in ParsePostfixExpressionSuffix()
2303 OpKind == tok::arrow ? tok::period : tok::arrow; in ParsePostfixExpressionSuffix()
2322 getCurScope(), Base, CorrectedBase, OpLoc, OpKind == tok::arrow, in ParsePostfixExpressionSuffix()
2330 LHS = ParseCXXPseudoDestructor(LHS.get(), OpLoc, OpKind, SS, in ParsePostfixExpressionSuffix()
2344 if (getLangOpts().ObjC && OpKind == tok::period && in ParsePostfixExpressionSuffix()
[all …]
H A DParseExprCXX.cpp1857 tok::TokenKind OpKind, in ParseCXXPseudoDestructor() argument
1892 return Actions.ActOnPseudoDestructorExpr(getCurScope(), Base, OpLoc, OpKind, in ParseCXXPseudoDestructor()
1906 return Actions.ActOnPseudoDestructorExpr(getCurScope(), Base, OpLoc, OpKind, in ParseCXXPseudoDestructor()
1931 return Actions.ActOnPseudoDestructorExpr(getCurScope(), Base, OpLoc, OpKind, in ParseCXXPseudoDestructor()
2657 OverloadedOperatorKind OpKind = in ParseUnqualifiedIdTemplateId() local
2663 TemplateKWLoc, Id.StartLocation, TemplateII, OpKind, Template, TNK, in ParseUnqualifiedIdTemplateId()
H A DParseTemplate.cpp1309 OverloadedOperatorKind OpKind = in AnnotateTemplateIdToken() local
1315 TemplateKWLoc, TemplateNameLoc, TemplateII, OpKind, Template, TNK, in AnnotateTemplateIdToken()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp1129 unsigned ParseIntelInlineAsmOperator(unsigned OpKind);
1131 bool ParseMasmOperator(unsigned OpKind, int64_t &Val);
2047 if (unsigned OpKind = IdentifyIntelInlineAsmOperator(Identifier)) { in ParseIntelExpression() local
2048 if (int64_t Val = ParseIntelInlineAsmOperator(OpKind)) { in ParseIntelExpression()
2068 if (unsigned OpKind = IdentifyMasmOperator(Identifier)) { in ParseIntelExpression() local
2070 if (ParseMasmOperator(OpKind, Val)) in ParseIntelExpression()
2459 unsigned X86AsmParser::ParseIntelInlineAsmOperator(unsigned OpKind) { in ParseIntelInlineAsmOperator() argument
2478 switch(OpKind) { in ParseIntelInlineAsmOperator()
2504 bool X86AsmParser::ParseMasmOperator(unsigned OpKind, int64_t &Val) { in ParseMasmOperator() argument
2510 if (OpKind == MOK_SIZEOF || OpKind == MOK_TYPE) { in ParseMasmOperator()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DArrayBoundCheckerV2.cpp328 const BinaryOperatorKind OpKind = CheckEquality ? BO_EQ : BO_LT; in compareValueToThreshold() local
330 SVB.evalBinOpNN(State, OpKind, Value, Threshold, SVB.getConditionType()) in compareValueToThreshold()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprCXX.cpp7840 tok::TokenKind OpKind, in ActOnStartCXXMemberReference() argument
7858 if (OpKind == tok::arrow) in ActOnStartCXXMemberReference()
7870 if (OpKind == tok::arrow) { in ActOnStartCXXMemberReference()
7905 OpKind = tok::period; in ActOnStartCXXMemberReference()
7931 if (OpKind == tok::arrow) { in ActOnStartCXXMemberReference()
7983 tok::TokenKind &OpKind, SourceLocation OpLoc) { in CheckArrow() argument
7997 if (OpKind == tok::arrow) { in CheckArrow()
8020 OpKind = tok::period; in CheckArrow()
8047 tok::TokenKind OpKind, in BuildPseudoDestructorExpr() argument
8056 if (CheckArrow(*this, ObjectType, Base, OpKind, OpLoc)) in BuildPseudoDestructorExpr()
[all …]
H A DSemaChecking.cpp1558 static bool checkPointerAuthValue(Sema &S, Expr *&Arg, PointerAuthOpKind OpKind, in checkPointerAuthValue() argument
1567 auto AllowsPointer = [](PointerAuthOpKind OpKind) { in checkPointerAuthValue() argument
1568 return OpKind != PAO_BlendInteger; in checkPointerAuthValue()
1570 auto AllowsInteger = [](PointerAuthOpKind OpKind) { in checkPointerAuthValue() argument
1571 return OpKind == PAO_Discriminator || OpKind == PAO_BlendInteger || in checkPointerAuthValue()
1572 OpKind == PAO_SignGeneric; in checkPointerAuthValue()
1577 if (AllowsPointer(OpKind) && Arg->getType()->isPointerType()) { in checkPointerAuthValue()
1579 } else if (AllowsPointer(OpKind) && Arg->getType()->isNullPtrType()) { in checkPointerAuthValue()
1581 } else if (AllowsInteger(OpKind) && in checkPointerAuthValue()
1588 << unsigned(OpKind == PAO_Discriminator ? 1 in checkPointerAuthValue()
[all …]
H A DSemaExprMember.cpp1751 tok::TokenKind OpKind, CXXScopeSpec &SS, in ActOnMemberAccessExpr() argument
1768 bool IsArrow = (OpKind == tok::arrow); in ActOnMemberAccessExpr()
H A DSemaCodeComplete.cpp602 tok::TokenKind OpKind, in enterUnary() argument
607 Type = getPreferredTypeOfUnaryArg(S, this->get(OpLoc), OpKind); in enterUnary()
H A DSemaExpr.cpp8582 BinaryOperatorKind OpKind = BinaryOperator::getOverloadedOpcode(OO); in IsArithmeticBinaryExpr() local
8583 if (IsArithmeticOp(OpKind)) { in IsArithmeticBinaryExpr()
8584 *Opcode = OpKind; in IsArithmeticBinaryExpr()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprCXX.cpp591 CXXOperatorCallExpr::CXXOperatorCallExpr(OverloadedOperatorKind OpKind, in CXXOperatorCallExpr() argument
599 CXXOperatorCallExprBits.OperatorKind = OpKind;
601 (CXXOperatorCallExprBits.OperatorKind == static_cast<unsigned>(OpKind)) &&
613 OverloadedOperatorKind OpKind, Expr *Fn, in Create() argument
623 return new (Mem) CXXOperatorCallExpr(OpKind, Fn, Args, Ty, VK, OperatorLoc, in Create()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h335 void enterUnary(Sema &S, SourceLocation Tok, tok::TokenKind OpKind,
8250 tok::TokenKind OpKind,
8255 Expr *Base, SourceLocation OpLoc, tok::TokenKind OpKind,
8260 Scope *S, Expr *Base, SourceLocation OpLoc, tok::TokenKind OpKind,
8266 tok::TokenKind OpKind,
8589 tok::TokenKind OpKind, CXXScopeSpec &SS,
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExprCXX.h92 CXXOperatorCallExpr(OverloadedOperatorKind OpKind, Expr *Fn,
101 Create(const ASTContext &Ctx, OverloadedOperatorKind OpKind, Expr *Fn,
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h2031 tok::TokenKind OpKind,