Searched refs:PatternType (Results 1 – 6 of 6) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/ |
| H A D | Patterns.h | 66 class PatternType { 80 PatternType() : Kind(PT_None), Data() {} in PatternType() function 82 static std::optional<PatternType> get(ArrayRef<SMLoc> DiagLoc, 84 static PatternType getTypeOf(StringRef OpName); 100 bool operator==(const PatternType &Other) const; 101 bool operator!=(const PatternType &Other) const { return !operator==(Other); } 106 PatternType(PTKind Kind) : Kind(Kind), Data() {} in PatternType() function 272 InstructionOperand(IntImmTy Imm, StringRef Name, PatternType Type) in InstructionOperand() 275 InstructionOperand(StringRef Name, PatternType Type) in InstructionOperand() 298 void setType(PatternType NewType) { in setType() [all …]
|
| H A D | Patterns.cpp | 26 std::optional<PatternType> PatternType::get(ArrayRef<SMLoc> DiagLoc, in get() 30 PatternType PT(PT_ValueType); in get() 44 PatternType PT(PT_TypeOf); in get() 71 PatternType PT(PT_VariadicPack); in get() 80 PatternType PatternType::getTypeOf(StringRef OpName) { in getTypeOf() 81 PatternType PT(PT_TypeOf); in getTypeOf() 86 StringRef PatternType::getTypeOfOpName() const { in getTypeOfOpName() 91 const Record *PatternType::getLLTRecord() const { in getLLTRecord() 96 VariadicPackTypeInfo PatternType::getVariadicPackTypeInfo() const { in getVariadicPackTypeInfo() 101 bool PatternType::operator==(const PatternType &Other) const { in operator ==() [all …]
|
| H A D | PatternParser.cpp | 201 IP.addOperand(IntImm->getValue(), insertStrRef(Name), PatternType()); in parseInstructionPatternOperand() 211 auto ImmTy = PatternType::get(DiagLoc, TyDef, in parseInstructionPatternOperand() 240 auto Ty = PatternType::get(DiagLoc, Def, "cannot parse operand type"); in parseInstructionPatternOperand() 250 IP.addOperand(insertStrRef(OpName->getAsUnquotedString()), PatternType()); in parseInstructionPatternOperand()
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | GlobalISelCombinerEmitter.cpp | 132 LLTCodeGen getLLTCodeGen(const PatternType &PT) { in getLLTCodeGen() 261 PatternType inferImmediateType(const InstructionPattern &IP, 269 PatternType inferNamedOperandType(const InstructionPattern &IP, 292 return check(P, /*CheckTypeOf*/ [&](const PatternType &Ty) { in processApplyPattern() 334 if (PatternType Ty = in propagateAndInferTypes() 347 if (PatternType Ty = inferImmediateType(*Pat, K, TECs)) { in propagateAndInferTypes() 385 PatternType CombineRuleOperandTypeChecker::inferImmediateType( in inferImmediateType() 415 if (PatternType InferTy = inferNamedOperandType(IP, Op.getOperandName(), in inferImmediateType() 424 PatternType CombineRuleOperandTypeChecker::inferNamedOperandType( in inferNamedOperandType() 441 return PatternType::getTypeOf(*It); in inferNamedOperandType() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 10124 unsigned PatternType = 0; in CheckStrncatArguments() local 10128 PatternType = 1; in CheckStrncatArguments() 10131 PatternType = 2; in CheckStrncatArguments() 10139 PatternType = 1; in CheckStrncatArguments() 10142 PatternType = 2; in CheckStrncatArguments() 10146 if (PatternType == 0) in CheckStrncatArguments() 10166 if (PatternType == 1) in CheckStrncatArguments() 10173 if (PatternType == 1) in CheckStrncatArguments()
|
| H A D | SemaTemplateInstantiateDecl.cpp | 5166 QualType PatternType = in addInstantiatedParametersToScope() local 5174 SubstType(PatternType, TemplateArgs, FunctionParam->getLocation(), in addInstantiatedParametersToScope()
|