• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/clang/lib/AST/

Lines Matching refs:Base

47   LValueBase Base;
48 Base.Ptr = LV;
49 Base.DynamicAllocType = Type.getAsOpaquePtr();
50 return Base;
55 LValueBase Base;
56 Base.Ptr = LV;
57 Base.TypeInfoType = TypeInfo.getAsOpaquePtr();
58 return Base;
94 APValue::LValueBase Base;
127 llvm::hash_code hash_value(const APValue::LValueBase &Base) {
128 if (Base.is<TypeInfoLValue>() || Base.is<DynamicAllocLValue>())
129 return llvm::hash_value(Base.getOpaqueValue());
130 return llvm::hash_combine(Base.getOpaqueValue(), Base.getCallIndex(),
131 Base.getVersion());
136 const clang::APValue::LValueBase &Base) {
137 return hash_value(Base);
151 /// walk from Base to the subobject. When performing GCC-style folding, there
435 LValueBase Base = getLValueBase();
436 if (!Base) {
465 if (const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>())
467 else if (TypeInfoLValue TI = Base.dyn_cast<TypeInfoLValue>()) {
469 } else if (DynamicAllocLValue DA = Base.dyn_cast<DynamicAllocLValue>()) {
471 << Base.getDynamicAllocType().stream(Ctx.getPrintingPolicy()) << "#"
474 assert(Base.get<const Expr *>() != nullptr &&
476 Base.get<const Expr*>()->printPretty(Out, nullptr,
495 if (const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>()) {
498 } else if (TypeInfoLValue TI = Base.dyn_cast<TypeInfoLValue>()) {
500 ElemTy = Base.getTypeInfoType();
501 } else if (DynamicAllocLValue DA = Base.dyn_cast<DynamicAllocLValue>()) {
503 << Base.getDynamicAllocType().stream(Ctx.getPrintingPolicy()) << "#"
505 ElemTy = Base.getDynamicAllocType();
507 const Expr *E = Base.get<const Expr*>();
651 return ((const LV*)(const void*)Data.buffer)->Base;
677 return ((const LV*)(const char*)Data.buffer)->Base.getCallIndex();
682 return ((const LV*)(const char*)Data.buffer)->Base.getVersion();
694 LVal.Base = B;
706 LVal.Base = B;