Lines Matching refs:RecTy
89 void RecTy::dump() const { print(errs()); } in dump()
91 ListRecTy *RecTy::getListTy() { in getListTy()
97 bool RecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo()
102 bool BitRecTy::typeIsConvertibleTo(const RecTy *RHS) const{ in typeIsConvertibleTo()
103 if (RecTy::typeIsConvertibleTo(RHS) || RHS->getRecTyKind() == IntRecTyKind) in typeIsConvertibleTo()
124 bool BitsRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo()
125 if (RecTy::typeIsConvertibleTo(RHS)) //argument and the sender are same type in typeIsConvertibleTo()
131 bool IntRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo()
144 bool ListRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo()
162 bool RecordRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo()
180 RecTy *llvm::resolveTypes(RecTy *T1, RecTy *T2) { in resolveTypes()
191 RecTy *NewType1 = resolveTypes(SuperRecTy1, T2); in resolveTypes()
200 RecTy *NewType2 = resolveTypes(T1, SuperRecTy2); in resolveTypes()
221 Init *UnsetInit::convertInitializerTo(RecTy *Ty) const { in convertInitializerTo()
242 Init *BitInit::convertInitializerTo(RecTy *Ty) const { in convertInitializerTo()
287 Init *BitsInit::convertInitializerTo(RecTy *Ty) const { in convertInitializerTo()
414 Init *IntInit::convertInitializerTo(RecTy *Ty) const { in convertInitializerTo()
461 Init *StringInit::convertInitializerTo(RecTy *Ty) const { in convertInitializerTo()
470 RecTy *EltTy) { in ProfileListInit()
478 ListInit *ListInit::get(ArrayRef<Init *> Range, RecTy *EltTy) { in get()
496 RecTy *EltTy = cast<ListRecTy>(getType())->getElementType(); in Profile()
501 Init *ListInit::convertInitializerTo(RecTy *Ty) const { in convertInitializerTo()
606 UnOpInit *UnOpInit::get(UnaryOp opc, Init *lhs, RecTy *Type) { in get()
607 typedef std::pair<std::pair<unsigned, Init *>, RecTy *> Key; in get()
735 Init *rhs, RecTy *Type) { in get()
738 RecTy * in get()
868 RecTy *Type) { in get()
871 std::pair<std::pair<unsigned, RecTy *>, Init *>, in get()
890 static Init *ForeachHelper(Init *LHS, Init *MHS, Init *RHS, RecTy *Type,
894 RecTy *Type, Record *CurRec, in EvaluateOperation()
922 static Init *ForeachHelper(Init *LHS, Init *MHS, Init *RHS, RecTy *Type, in ForeachHelper()
1094 RecTy *TypedInit::getFieldType(const std::string &FieldName) const { in getFieldType()
1102 TypedInit::convertInitializerTo(RecTy *Ty) const { in convertInitializerTo()
1210 VarInit *VarInit::get(const std::string &VN, RecTy *T) { in get()
1215 VarInit *VarInit::get(Init *VN, RecTy *T) { in get()
1216 typedef std::pair<RecTy *, Init *> Key; in get()
1261 RecTy *VarInit::getFieldType(const std::string &FieldName) const { in getFieldType()
1306 Init *VarBitInit::convertInitializerTo(RecTy *Ty) const { in convertInitializerTo()
1374 Init *DefInit::convertInitializerTo(RecTy *Ty) const { in convertInitializerTo()
1381 RecTy *DefInit::getFieldType(const std::string &FieldName) const { in getFieldType()
1497 Init *DagInit::convertInitializerTo(RecTy *Ty) const { in convertInitializerTo()
1538 RecordVal::RecordVal(Init *N, RecTy *T, bool P) in RecordVal()
1544 RecordVal::RecordVal(const std::string &N, RecTy *T, bool P) in RecordVal()
1918 RecTy *Type = cast<TypedInit>(Name)->getType(); in QualifyName()