Searched refs:IntRecTy (Results 1 – 10 of 10) sorted by relevance
32 class IntRecTy; variable119 virtual bool baseClassOf(const IntRecTy *RHS) const { return false; } in baseClassOf()165 virtual bool baseClassOf(const IntRecTy *RHS) const { return true; } in baseClassOf()212 virtual bool baseClassOf(const IntRecTy *RHS) const { return true; } in baseClassOf()224 class IntRecTy : public RecTy {225 static IntRecTy Shared;226 IntRecTy() {} in IntRecTy() function228 static IntRecTy *get() { return &Shared; } in get()255 virtual bool baseClassOf(const IntRecTy *RHS) const { return true; } in baseClassOf()298 virtual bool baseClassOf(const IntRecTy *RHS) const { return false; } in baseClassOf()[all …]
86 IntRecTy IntRecTy::Shared;132 bool IntRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo()244 if (isa<IntRecTy>(Ty)) in convertInitializerTo()301 if (isa<IntRecTy>(Ty)) { in convertInitializerTo()414 if (isa<IntRecTy>(Ty)) in convertInitializerTo()711 if (isa<IntRecTy>(getType())) { in Fold()713 if (Init *NewInit = BI->convertInitializerTo(IntRecTy::get())) in Fold()846 dyn_cast_or_null<IntInit>(LHS->convertInitializerTo(IntRecTy::get())); in Fold()848 dyn_cast_or_null<IntInit>(RHS->convertInitializerTo(IntRecTy::get())); in Fold()868 dyn_cast_or_null<IntInit>(LHS->convertInitializerTo(IntRecTy::get())); in Fold()[all …]
665 case tgtok::Int: Lex.Lex(); return IntRecTy::get(); in ParseType()801 Type = IntRecTy::get(); in ParseOperation()890 case tgtok::XADD: Code = BinOpInit::ADD; Type = IntRecTy::get(); break; in ParseOperation()891 case tgtok::XAND: Code = BinOpInit::AND; Type = IntRecTy::get(); break; in ParseOperation()892 case tgtok::XSRA: Code = BinOpInit::SRA; Type = IntRecTy::get(); break; in ParseOperation()893 case tgtok::XSRL: Code = BinOpInit::SRL; Type = IntRecTy::get(); break; in ParseOperation()894 case tgtok::XSHL: Code = BinOpInit::SHL; Type = IntRecTy::get(); break; in ParseOperation()1802 IterType = IntRecTy::get(); in ParseForeachDeclaration()
79 IntRecTy IntRecTy::Shared;234 Init *IntRecTy::convertValue(BitInit *BI) { in convertValue()238 Init *IntRecTy::convertValue(BitsInit *BI) { in convertValue()249 Init *IntRecTy::convertValue(TypedInit *TI) { in convertValue()922 dynamic_cast<IntInit*>(LHS->convertInitializerTo(IntRecTy::get())); in Fold()924 dynamic_cast<IntInit*>(RHS->convertInitializerTo(IntRecTy::get())); in Fold()1198 if (Init *I = LHS->convertInitializerTo(IntRecTy::get())) in Fold()1220 if (Init *I = lhs->convertInitializerTo(IntRecTy::get())) in resolveReferences()
586 case tgtok::Int: Lex.Lex(); return IntRecTy::get(); in ParseType()721 Type = IntRecTy::get(); in ParseOperation()815 case tgtok::XSRA: Code = BinOpInit::SRA; Type = IntRecTy::get(); break; in ParseOperation()816 case tgtok::XSRL: Code = BinOpInit::SRL; Type = IntRecTy::get(); break; in ParseOperation()817 case tgtok::XSHL: Code = BinOpInit::SHL; Type = IntRecTy::get(); break; in ParseOperation()
138 class IntRecTy : public RecTy {139 static IntRecTy Shared;140 IntRecTy() : RecTy(IntRecTyKind) {} in IntRecTy() function147 static IntRecTy *get() { return &Shared; } in get()540 : TypedInit(IK_IntInit, IntRecTy::get()), Value(V) {} in IntInit()962 (isa<IntRecTy>(T->getType()) || in VarBitInit()
44 return cast<IntInit>(B->convertInitializerTo(IntRecTy::get()))->getValue(); in getAsInt()
538 dyn_cast_or_null<IntInit>(BI->convertInitializerTo(IntRecTy::get())); in tryAliasOpMatch()
2129 Init *II = BI->convertInitializerTo(IntRecTy::get()); in ParseTreePattern()
1775 Init *II = BI->convertInitializerTo(IntRecTy::get()); in ParseTreePattern()