Home
last modified time | relevance | path

Searched refs:PatternType (Results 1 – 5 of 5) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/GlobalISel/
H A DPatterns.h52 class PatternType {
64 PatternType() : Kind(PT_None), Data() {} in PatternType() function
68 static PatternType getTypeOf(StringRef OpName);
80 bool operator==(const PatternType &Other) const;
86 PatternType(PTKind Kind) : Kind(Kind), Data() {} in PatternType() function
248 InstructionOperand(StringRef Name, PatternType Type) in InstructionOperand()
271 void setType(PatternType NewType) { in setType()
275 PatternType getType() const { return Type; } in getType()
285 PatternType Type;
476 PatternType Ty) const;
[all …]
H A DPatterns.cpp25 std::optional<PatternType> PatternType::get(ArrayRef<SMLoc> DiagLoc, in get()
29 PatternType PT(PT_ValueType); in get()
43 PatternType PT(PT_TypeOf); in get()
52 PatternType PatternType::getTypeOf(StringRef OpName) { in getTypeOf()
53 PatternType PT(PT_TypeOf); in getTypeOf()
58 StringRef PatternType::getTypeOfOpName() const { in getTypeOfOpName()
63 const Record *PatternType::getLLTRecord() const { in getLLTRecord()
68 bool PatternType::operator==(const PatternType &Other) const { in operator ==()
84 std::string PatternType::str() const { in str()
519 Def.getLoc(), PatternType::SpecialTyClassName + in checkSemantics()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DGlobalISelCombinerEmitter.cpp136 LLTCodeGen getLLTCodeGen(const PatternType &PT) { in getLLTCodeGen()
140 LLTCodeGenOrTempType getLLTCodeGenOrTempType(const PatternType &PT, in getLLTCodeGenOrTempType()
277 PatternType inferImmediateType(const InstructionPattern &IP,
285 PatternType inferNamedOperandType(const InstructionPattern &IP,
308 return check(P, /*CheckTypeOf*/ [&](const PatternType &Ty) { in processApplyPattern()
350 if (PatternType Ty = in propagateAndInferTypes()
363 if (PatternType Ty = inferImmediateType(*Pat, K, TECs)) { in propagateAndInferTypes()
401 PatternType CombineRuleOperandTypeChecker::inferImmediateType( in inferImmediateType()
457 return PatternType::getTypeOf(*It); in inferNamedOperandType()
465 return PatternType::getTypeOf(GoodOpName); in inferNamedOperandType()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp13725 unsigned PatternType = 0; in CheckStrncatArguments() local
13729 PatternType = 1; in CheckStrncatArguments()
13732 PatternType = 2; in CheckStrncatArguments()
13740 PatternType = 1; in CheckStrncatArguments()
13743 PatternType = 2; in CheckStrncatArguments()
13747 if (PatternType == 0) in CheckStrncatArguments()
13767 if (PatternType == 1) in CheckStrncatArguments()
13774 if (PatternType == 1) in CheckStrncatArguments()
H A DSemaTemplateInstantiateDecl.cpp4614 QualType PatternType = in addInstantiatedParametersToScope() local
4622 SubstType(PatternType, TemplateArgs, FunctionParam->getLocation(), in addInstantiatedParametersToScope()