| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | MachineOperand.h | 78 unsigned OpKind : 8; 208 : OpKind(K), SubReg_TargetFlags(0) { in MachineOperand() 224 MachineOperandType getType() const { return (MachineOperandType)OpKind; } in getType() 328 bool isReg() const { return OpKind == MO_Register; } in isReg() 330 bool isImm() const { return OpKind == MO_Immediate; } in isImm() 332 bool isCImm() const { return OpKind == MO_CImmediate; } in isCImm() 334 bool isFPImm() const { return OpKind == MO_FPImmediate; } in isFPImm() 336 bool isMBB() const { return OpKind == MO_MachineBasicBlock; } in isMBB() 338 bool isFI() const { return OpKind == MO_FrameIndex; } in isFI() 340 bool isCPI() const { return OpKind == MO_ConstantPoolIndex; } in isCPI() [all …]
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | FastISelEmitter.cpp | 87 class OpKind { class 92 OpKind() {} in OpKind() function in __anon3cd78fb00311::OperandsSignature::OpKind 94 bool operator<(OpKind RHS) const { return Repr < RHS.Repr; } in operator <() 95 bool operator==(OpKind RHS) const { return Repr == RHS.Repr; } in operator ==() 97 static OpKind getReg() { in getReg() 98 OpKind K; in getReg() 102 static OpKind getFP() { in getFP() 103 OpKind K; in getFP() 107 static OpKind getImm(unsigned V) { in getImm() 110 OpKind K; in getImm() [all …]
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/ |
| H A D | PatternParser.cpp | 401 PatFrag::ParamKind OpKind; in parsePatFragParamList() local 403 OpKind = PatFrag::PK_Imm; in parsePatFragParamList() 405 OpKind = PatFrag::PK_Root; in parsePatFragParamList() 408 OpKind = PatFrag::PK_MachineOperand; in parsePatFragParamList() 417 if (!ParseAction(NameStr, (unsigned)OpKind)) in parsePatFragParamList()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MachineOperand.cpp | 166 OpKind = MO_Immediate; in ChangeToImmediate() 177 OpKind = MO_FPImmediate; in ChangeToFPImmediate() 189 OpKind = MO_ExternalSymbol; in ChangeToES() 202 OpKind = MO_GlobalAddress; in ChangeToGA() 215 OpKind = MO_BlockAddress; in ChangeToBA() 228 OpKind = MO_ConstantPoolIndex; in ChangeToCPI() 240 OpKind = MO_MCSymbol; in ChangeToMCSymbol() 251 OpKind = MO_FrameIndex; in ChangeToFrameIndex() 263 OpKind = MO_TargetIndex; in ChangeToTargetIndex() 276 OpKind = MO_DbgInstrRef; in ChangeToDbgInstrRef() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | IR2Vec.cpp | 468 for (unsigned OpKind : seq(0u, Vocabulary::MaxOperandKinds)) { in generateNumMappedVocab() local 469 Vocabulary::OperandKind Kind = static_cast<Vocabulary::OperandKind>(OpKind); in generateNumMappedVocab() 473 NumericArgEmbeddings[OpKind] = It->second; in generateNumMappedVocab()
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseExpr.cpp | 1794 tok::TokenKind OpKind = Tok.getKind(); in ParsePostfixExpressionSuffix() local 1801 if (OpKind == tok::lesslessless) { in ParsePostfixExpressionSuffix() 1850 if (OpKind == tok::l_paren || !LHS.isInvalid()) { in ParsePostfixExpressionSuffix() 1909 tok::TokenKind OpKind = Tok.getKind(); in ParsePostfixExpressionSuffix() local 1926 << OpKind << Base->getSourceRange() in ParsePostfixExpressionSuffix() 1932 OpKind, ObjectType, in ParsePostfixExpressionSuffix() 1953 OpKind == tok::arrow ? tok::period : tok::arrow; in ParsePostfixExpressionSuffix() 1972 getCurScope(), Base, CorrectedBase, OpLoc, OpKind == tok::arrow, in ParsePostfixExpressionSuffix() 1980 LHS = ParseCXXPseudoDestructor(LHS.get(), OpLoc, OpKind, SS, in ParsePostfixExpressionSuffix() 1994 if (getLangOpts().ObjC && OpKind == tok::period && in ParsePostfixExpressionSuffix() [all …]
|
| H A D | ParseExprCXX.cpp | 1663 tok::TokenKind OpKind, in ParseCXXPseudoDestructor() argument 1698 return Actions.ActOnPseudoDestructorExpr(getCurScope(), Base, OpLoc, OpKind, in ParseCXXPseudoDestructor() 1712 return Actions.ActOnPseudoDestructorExpr(getCurScope(), Base, OpLoc, OpKind, in ParseCXXPseudoDestructor() 1737 return Actions.ActOnPseudoDestructorExpr(getCurScope(), Base, OpLoc, OpKind, in ParseCXXPseudoDestructor() 2340 OverloadedOperatorKind OpKind = in ParseUnqualifiedIdTemplateId() local 2346 TemplateKWLoc, Id.StartLocation, TemplateII, OpKind, Template, TNK, in ParseUnqualifiedIdTemplateId()
|
| H A D | ParseTemplate.cpp | 1137 OverloadedOperatorKind OpKind = in AnnotateTemplateIdToken() local 1143 TemplateKWLoc, TemplateNameLoc, TemplateII, OpKind, Template, TNK, in AnnotateTemplateIdToken()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/ |
| H A D | X86AsmParser.cpp | 1151 unsigned ParseIntelInlineAsmOperator(unsigned OpKind); 1153 bool ParseMasmOperator(unsigned OpKind, int64_t &Val); 2068 if (unsigned OpKind = IdentifyIntelInlineAsmOperator(Identifier)) { in ParseIntelExpression() local 2069 if (int64_t Val = ParseIntelInlineAsmOperator(OpKind)) { in ParseIntelExpression() 2089 if (unsigned OpKind = IdentifyMasmOperator(Identifier)) { in ParseIntelExpression() local 2091 if (ParseMasmOperator(OpKind, Val)) in ParseIntelExpression() 2481 unsigned X86AsmParser::ParseIntelInlineAsmOperator(unsigned OpKind) { in ParseIntelInlineAsmOperator() argument 2500 switch(OpKind) { in ParseIntelInlineAsmOperator() 2526 bool X86AsmParser::ParseMasmOperator(unsigned OpKind, int64_t &Val) { in ParseMasmOperator() argument 2532 if (OpKind == MOK_SIZEOF || OpKind == MOK_TYPE) { in ParseMasmOperator() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaExprCXX.cpp | 6861 tok::TokenKind OpKind, in ActOnStartCXXMemberReference() argument 6879 if (OpKind == tok::arrow) in ActOnStartCXXMemberReference() 6891 if (OpKind == tok::arrow) { in ActOnStartCXXMemberReference() 6926 OpKind = tok::period; in ActOnStartCXXMemberReference() 6952 if (OpKind == tok::arrow) { in ActOnStartCXXMemberReference() 7004 tok::TokenKind &OpKind, SourceLocation OpLoc) { in CheckArrow() argument 7018 if (OpKind == tok::arrow) { in CheckArrow() 7041 OpKind = tok::period; in CheckArrow() 7068 tok::TokenKind OpKind, in BuildPseudoDestructorExpr() argument 7077 if (CheckArrow(*this, ObjectType, Base, OpKind, OpLoc)) in BuildPseudoDestructorExpr() [all …]
|
| H A D | SemaChecking.cpp | 1618 static bool checkPointerAuthValue(Sema &S, Expr *&Arg, PointerAuthOpKind OpKind, in checkPointerAuthValue() argument 1627 auto AllowsPointer = [](PointerAuthOpKind OpKind) { in checkPointerAuthValue() argument 1628 return OpKind != PAO_BlendInteger; in checkPointerAuthValue() 1630 auto AllowsInteger = [](PointerAuthOpKind OpKind) { in checkPointerAuthValue() argument 1631 return OpKind == PAO_Discriminator || OpKind == PAO_BlendInteger || in checkPointerAuthValue() 1632 OpKind == PAO_SignGeneric; in checkPointerAuthValue() 1637 if (AllowsPointer(OpKind) && Arg->getType()->isPointerType()) { in checkPointerAuthValue() 1639 } else if (AllowsPointer(OpKind) && Arg->getType()->isNullPtrType()) { in checkPointerAuthValue() 1641 } else if (AllowsInteger(OpKind) && in checkPointerAuthValue() 1648 << unsigned(OpKind == PAO_Discriminator ? 1 in checkPointerAuthValue() [all …]
|
| H A D | SemaExprMember.cpp | 1686 tok::TokenKind OpKind, CXXScopeSpec &SS, in ActOnMemberAccessExpr() argument 1703 bool IsArrow = (OpKind == tok::arrow); in ActOnMemberAccessExpr()
|
| H A D | SemaCodeComplete.cpp | 602 tok::TokenKind OpKind, in enterUnary() argument 607 Type = getPreferredTypeOfUnaryArg(S, this->get(OpLoc), OpKind); in enterUnary()
|
| H A D | SemaExpr.cpp | 8753 BinaryOperatorKind OpKind = BinaryOperator::getOverloadedOpcode(OO); in IsArithmeticBinaryExpr() local 8754 if (IsArithmeticOp(OpKind)) { in IsArithmeticBinaryExpr() 8755 *Opcode = OpKind; in IsArithmeticBinaryExpr()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ArrayBoundChecker.cpp | 344 const BinaryOperatorKind OpKind = CheckEquality ? BO_EQ : BO_LT; in compareValueToThreshold() local 346 SVB.evalBinOpNN(State, OpKind, Value, Threshold, SVB.getConditionType()) in compareValueToThreshold()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | ExprCXX.cpp | 591 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 625 return new (Mem) CXXOperatorCallExpr(OpKind, Fn, Args, Ty, VK, OperatorLoc, in Create()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 311 void enterUnary(Sema &S, SourceLocation Tok, tok::TokenKind OpKind, 8562 tok::TokenKind OpKind, 8567 Expr *Base, SourceLocation OpLoc, tok::TokenKind OpKind, 8572 Scope *S, Expr *Base, SourceLocation OpLoc, tok::TokenKind OpKind, 8578 tok::TokenKind OpKind, 8864 tok::TokenKind OpKind, CXXScopeSpec &SS,
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ExprCXX.h | 94 CXXOperatorCallExpr(OverloadedOperatorKind OpKind, Expr *Fn, 103 Create(const ASTContext &Ctx, OverloadedOperatorKind OpKind, Expr *Fn,
|
| /freebsd/contrib/llvm-project/clang/include/clang/Parse/ |
| H A D | Parser.h | 4749 tok::TokenKind OpKind, CXXScopeSpec &SS,
|