Lines Matching refs:ASTCtx
143 APValue Pointer::toAPValue(const ASTContext &ASTCtx) const { in toAPValue()
180 QualType AllocatedType = getDeclPtr().getFieldDesc()->getDataType(ASTCtx); in toAPValue()
203 const ASTRecordLayout &Layout = ASTCtx.getASTRecordLayout(FD->getParent()); in toAPValue()
205 return ASTCtx.toCharUnitsFromBits(Layout.getFieldOffset(FieldIndex)); in toAPValue()
225 Offset += (Index * ASTCtx.getTypeSizeInChars(ElemType)); in toAPValue()
254 Offset += (Index * ASTCtx.getTypeSizeInChars(ElemType)); in toAPValue()
273 const ASTRecordLayout &Layout = ASTCtx.getASTRecordLayout( in toAPValue()
644 const ASTContext &ASTCtx = Ctx.getASTContext(); in toRValue() local
648 Composite = [&Composite, &Ctx, &ASTCtx](QualType Ty, const Pointer &Ptr, in toRValue()
660 TYPE_SWITCH(*T, R = Ptr.deref<T>().toAPValue(ASTCtx)); in toRValue()
677 TYPE_SWITCH(*T, Value = FP.deref<T>().toAPValue(ASTCtx)); in toRValue()
700 TYPE_SWITCH(*T, Value = FP.deref<T>().toAPValue(ASTCtx)); in toRValue()
738 TYPE_SWITCH(*T, Slot = EP.deref<T>().toAPValue(ASTCtx)); in toRValue()
777 Values.push_back(Ptr.atIndex(I).deref<T>().toAPValue(ASTCtx)); in toRValue()
795 return toAPValue(ASTCtx); in toRValue()
799 TYPE_SWITCH(*T, return this->deref<T>().toAPValue(ASTCtx)); in toRValue()
809 IntPointer IntPointer::atOffset(const ASTContext &ASTCtx, in atOffset() argument
828 const ASTRecordLayout &Layout = ASTCtx.getASTRecordLayout(FD->getParent()); in atOffset()
831 ASTCtx.toCharUnitsFromBits(Layout.getFieldOffset(FieldIndex)) in atOffset()
836 IntPointer IntPointer::baseCast(const ASTContext &ASTCtx, in baseCast() argument
856 const ASTRecordLayout &Layout = ASTCtx.getASTRecordLayout(R->getDecl()); in baseCast()