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 | 53 class PatternType { 65 PatternType() : Kind(PT_None), Data() {} in PatternType() function 67 static std::optional<PatternType> get(ArrayRef<SMLoc> DiagLoc, 69 static PatternType getTypeOf(StringRef OpName); 81 bool operator==(const PatternType &Other) const; 82 bool operator!=(const PatternType &Other) const { return !operator==(Other); } 87 PatternType(PTKind Kind) : Kind(Kind), Data() {} in PatternType() function 250 InstructionOperand(IntImmTy Imm, StringRef Name, PatternType Type) in InstructionOperand() 253 InstructionOperand(StringRef Name, PatternType Type) in InstructionOperand() 276 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() 53 PatternType PatternType::getTypeOf(StringRef OpName) { in getTypeOf() 54 PatternType PT(PT_TypeOf); in getTypeOf() 59 StringRef PatternType::getTypeOfOpName() const { in getTypeOfOpName() 64 const Record *PatternType::getLLTRecord() const { in getLLTRecord() 69 bool PatternType::operator==(const PatternType &Other) const { in operator ==() 85 std::string PatternType::str() const { in str() 406 std::function<bool(const PatternType &)> VerifyTypeOfOperand) { in check() [all …]
|
H A D | PatternParser.cpp | 212 IP.addOperand(IntImm->getValue(), insertStrRef(Name), PatternType()); in parseInstructionPatternOperand() 222 auto ImmTy = PatternType::get(DiagLoc, TyDef, in parseInstructionPatternOperand() 251 auto Ty = PatternType::get(DiagLoc, Def, "cannot parse operand type"); in parseInstructionPatternOperand() 261 IP.addOperand(insertStrRef(OpName->getAsUnquotedString()), PatternType()); in parseInstructionPatternOperand()
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | GlobalISelCombinerEmitter.cpp | 127 LLTCodeGen getLLTCodeGen(const PatternType &PT) { in getLLTCodeGen() 131 LLTCodeGenOrTempType getLLTCodeGenOrTempType(const PatternType &PT, in getLLTCodeGenOrTempType() 268 PatternType inferImmediateType(const InstructionPattern &IP, 276 PatternType inferNamedOperandType(const InstructionPattern &IP, 299 return check(P, /*CheckTypeOf*/ [&](const PatternType &Ty) { in processApplyPattern() 341 if (PatternType Ty = in propagateAndInferTypes() 354 if (PatternType Ty = inferImmediateType(*Pat, K, TECs)) { in propagateAndInferTypes() 392 PatternType CombineRuleOperandTypeChecker::inferImmediateType( in inferImmediateType() 422 if (PatternType InferTy = inferNamedOperandType(IP, Op.getOperandName(), in inferImmediateType() 431 PatternType CombineRuleOperandTypeChecker::inferNamedOperandType( in inferNamedOperandType() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaChecking.cpp | 8955 unsigned PatternType = 0; in CheckStrncatArguments() local 8959 PatternType = 1; in CheckStrncatArguments() 8962 PatternType = 2; in CheckStrncatArguments() 8970 PatternType = 1; in CheckStrncatArguments() 8973 PatternType = 2; in CheckStrncatArguments() 8977 if (PatternType == 0) in CheckStrncatArguments() 8997 if (PatternType == 1) in CheckStrncatArguments() 9004 if (PatternType == 1) in CheckStrncatArguments()
|
H A D | SemaTemplateInstantiateDecl.cpp | 4617 QualType PatternType = in addInstantiatedParametersToScope() local 4625 SubstType(PatternType, TemplateArgs, FunctionParam->getLocation(), in addInstantiatedParametersToScope()
|