Searched refs:TypeInfoLValue (Results 1 – 10 of 10) sorted by relevance
27 TypeInfoLValue::TypeInfoLValue(const Type *T) in TypeInfoLValue() function in TypeInfoLValue30 void TypeInfoLValue::print(llvm::raw_ostream &Out, in print()38 1 << llvm::PointerLikeTypeTraits<TypeInfoLValue>::NumLowBitsAvailable <=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()114 return (is<TypeInfoLValue>() || is<DynamicAllocLValue>()) ? 0 : Local.Version; in getVersion()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 ==()[all …]
2114 if (B.is<TypeInfoLValue>() || B.is<DynamicAllocLValue>()) in IsGlobalLValue()2358 if (Base.is<TypeInfoLValue>()) in CheckLValueConstantExpression()9167 TypeInfoLValue TypeInfo; in VisitCXXTypeidExpr()9171 TypeInfo = TypeInfoLValue(E->getTypeOperand(Info.Ctx).getTypePtr()); in VisitCXXTypeidExpr()9173 TypeInfo = TypeInfoLValue(E->getExprOperand()->getType().getTypePtr()); in VisitCXXTypeidExpr()9190 TypeInfoLValue(Info.Ctx.getRecordType(DynType->Type).getTypePtr()); in VisitCXXTypeidExpr()12522 } else if (Base.is<TypeInfoLValue>()) { in EvaluateBuiltinConstantPForLValue()12590 } else if (B.is<TypeInfoLValue>()) { in getObjectType()
743 } else if (const auto BTI = B.dyn_cast<TypeInfoLValue>()) { in Visit()
10701 if (!FromValue.getLValueBase().is<TypeInfoLValue>()) { in ImportAPValue()10725 Err, FromValue.getLValueBase().get<TypeInfoLValue>().getType()); in ImportAPValue()10730 Base = APValue::LValueBase::getTypeInfo(TypeInfoLValue(ImpTypeInfo), in ImportAPValue()
6860 } 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 …]
459 bool lvalueBaseIsTypeInfo = lvalueBase.is<TypeInfoLValue>();498 QualType(node.getLValueBase().get<TypeInfoLValue>().getType(), 0)544 TypeInfoLValue(typeInfo->getTypePtr()), *type);
468 if (base.dyn_cast<TypeInfoLValue>()) { in tryEmitBase()
165 TypeInfoLValue TypeInfo(PointeeStorage.Typeid.TypePtr); in toAPValue()
2271 if (TypeInfoLValue TI = base.dyn_cast<TypeInfoLValue>()) in tryEmitBase()