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()718 else if (TypeInfoLValue TI = Base.dyn_cast<TypeInfoLValue>()) { in printPretty()[all …]
1985 if (B.is<TypeInfoLValue>() || B.is<DynamicAllocLValue>()) in IsGlobalLValue()2139 if (Base.is<TypeInfoLValue>()) in CheckLValueConstantExpression()8303 TypeInfoLValue TypeInfo; in VisitCXXTypeidExpr()8307 TypeInfo = TypeInfoLValue(E->getTypeOperand(Info.Ctx).getTypePtr()); in VisitCXXTypeidExpr()8309 TypeInfo = TypeInfoLValue(E->getExprOperand()->getType().getTypePtr()); in VisitCXXTypeidExpr()8326 TypeInfoLValue(Info.Ctx.getRecordType(DynType->Type).getTypePtr()); in VisitCXXTypeidExpr()11082 } else if (Base.is<TypeInfoLValue>()) { in EvaluateBuiltinConstantPForLValue()11150 } else if (B.is<TypeInfoLValue>()) { in getObjectType()
9232 if (!FromValue.getLValueBase().is<TypeInfoLValue>()) { in ImportAPValue()9257 QualType(FromValue.getLValueBase().get<TypeInfoLValue>().getType(), in ImportAPValue()9264 TypeInfoLValue(ImpTypeInfo.getTypePtr()), ImpType); in ImportAPValue()
5736 } 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 …]
448 bool lvalueBaseIsTypeInfo = lvalueBase.is<TypeInfoLValue>();481 QualType(node.getLValueBase().get<TypeInfoLValue>().getType(), 0)520 TypeInfoLValue(typeInfo.getValue().getTypePtr()), type.getValue());
1916 if (TypeInfoLValue TI = base.dyn_cast<TypeInfoLValue>()) { in tryEmitBase()