Searched refs:TypeInfoLValue (Results 1 – 7 of 7) sorted by relevance
27 TypeInfoLValue::TypeInfoLValue(const Type *T) in TypeInfoLValue() function in TypeInfoLValue30 void TypeInfoLValue::print(llvm::raw_ostream &Out, in print()55 APValue::LValueBase APValue::LValueBase::getTypeInfo(TypeInfoLValue LV, in getTypeInfo()82 if (is<TypeInfoLValue>()) in getType()109 return (is<TypeInfoLValue>() || is<DynamicAllocLValue>()) ? 0 in getCallIndex()118 assert(is<TypeInfoLValue>() && "not a type_info lvalue"); in getTypeInfoType()129 if (is<TypeInfoLValue>() || is<DynamicAllocLValue>()) in Profile()140 if (LHS.is<TypeInfoLValue>() || LHS.is<DynamicAllocLValue>()) in operator ==()203 if (Base.is<TypeInfoLValue>() || Base.is<DynamicAllocLValue>()) in hash_value()785 else if (TypeInfoLValue TI = Base.dyn_cast<TypeInfoLValue>()) { in printPretty()[all …]
2064 if (B.is<TypeInfoLValue>() || B.is<DynamicAllocLValue>()) in IsGlobalLValue()2223 if (Base.is<TypeInfoLValue>()) in CheckLValueConstantExpression()8711 TypeInfoLValue TypeInfo; in VisitCXXTypeidExpr()8715 TypeInfo = TypeInfoLValue(E->getTypeOperand(Info.Ctx).getTypePtr()); in VisitCXXTypeidExpr()8717 TypeInfo = TypeInfoLValue(E->getExprOperand()->getType().getTypePtr()); in VisitCXXTypeidExpr()8734 TypeInfoLValue(Info.Ctx.getRecordType(DynType->Type).getTypePtr()); in VisitCXXTypeidExpr()11711 } else if (Base.is<TypeInfoLValue>()) { in EvaluateBuiltinConstantPForLValue()11779 } else if (B.is<TypeInfoLValue>()) { in getObjectType()
10238 if (!FromValue.getLValueBase().is<TypeInfoLValue>()) { in ImportAPValue()10262 Err, FromValue.getLValueBase().get<TypeInfoLValue>().getType()); in ImportAPValue()10267 Base = APValue::LValueBase::getTypeInfo(TypeInfoLValue(ImpTypeInfo), in ImportAPValue()
6556 } else if (auto TI = B.dyn_cast<TypeInfoLValue>()) { in mangleValueInTemplateArg()
44 class TypeInfoLValue {48 TypeInfoLValue() : T() {} in TypeInfoLValue() function49 explicit TypeInfoLValue(const Type *T);55 static TypeInfoLValue getFromOpaqueValue(void *Value) { in getFromOpaqueValue()56 TypeInfoLValue V; in getFromOpaqueValue()94 template<> struct PointerLikeTypeTraits<clang::TypeInfoLValue> {95 static void *getAsVoidPointer(clang::TypeInfoLValue V) {98 static clang::TypeInfoLValue getFromVoidPointer(void *P) {99 return clang::TypeInfoLValue::getFromOpaqueValue(P);147 typedef llvm::PointerUnion<const ValueDecl *, const Expr *, TypeInfoLValue,[all …]
452 bool lvalueBaseIsTypeInfo = lvalueBase.is<TypeInfoLValue>();491 QualType(node.getLValueBase().get<TypeInfoLValue>().getType(), 0)537 TypeInfoLValue(typeInfo->getTypePtr()), *type);
1972 if (TypeInfoLValue TI = base.dyn_cast<TypeInfoLValue>()) in tryEmitBase()