Home
last modified time | relevance | path

Searched refs:TypeInfoLValue (Results 1 – 7 of 7) sorted by relevance

/openbsd-src/gnu/llvm/clang/lib/AST/
H A DAPValue.cpp27 TypeInfoLValue::TypeInfoLValue(const Type *T) in TypeInfoLValue() function in TypeInfoLValue
30 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 …]
H A DExprConstant.cpp1988 if (B.is<TypeInfoLValue>() || B.is<DynamicAllocLValue>()) in IsGlobalLValue()
2146 if (Base.is<TypeInfoLValue>()) in CheckLValueConstantExpression()
8429 TypeInfoLValue TypeInfo; in VisitCXXTypeidExpr()
8433 TypeInfo = TypeInfoLValue(E->getTypeOperand(Info.Ctx).getTypePtr()); in VisitCXXTypeidExpr()
8435 TypeInfo = TypeInfoLValue(E->getExprOperand()->getType().getTypePtr()); in VisitCXXTypeidExpr()
8452 TypeInfoLValue(Info.Ctx.getRecordType(DynType->Type).getTypePtr()); in VisitCXXTypeidExpr()
11448 } else if (Base.is<TypeInfoLValue>()) { in EvaluateBuiltinConstantPForLValue()
11516 } else if (B.is<TypeInfoLValue>()) { in getObjectType()
H A DASTImporter.cpp9898 if (!FromValue.getLValueBase().is<TypeInfoLValue>()) { in ImportAPValue()
9922 Err, FromValue.getLValueBase().get<TypeInfoLValue>().getType()); in ImportAPValue()
9927 Base = APValue::LValueBase::getTypeInfo(TypeInfoLValue(ImpTypeInfo), in ImportAPValue()
H A DItaniumMangle.cpp5880 } else if (auto TI = B.dyn_cast<TypeInfoLValue>()) { in mangleValueInTemplateArg()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DAPValue.h44 class TypeInfoLValue {
48 TypeInfoLValue() : T() {} in TypeInfoLValue() function
49 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 …]
H A DPropertiesBase.td452 bool lvalueBaseIsTypeInfo = lvalueBase.is<TypeInfoLValue>();
485 QualType(node.getLValueBase().get<TypeInfoLValue>().getType(), 0)
523 TypeInfoLValue(typeInfo->getTypePtr()), *type);
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGExprConstant.cpp1947 if (TypeInfoLValue TI = base.dyn_cast<TypeInfoLValue>()) { in tryEmitBase()