/external/clang/lib/AST/ |
H A D | Type.cpp | 221 return Context.getQualifiedType(split.Ty, split.Quals); 227 QualType desugar = split.Ty->getLocallyUnqualifiedSingleStepDesugaredType(); 255 const Class##Type *Ty = cast<Class##Type>(CurTy); \ 256 if (!Ty->isSugared()) \ 257 return SplitQualType(Ty, Qs); \ 258 Cur = Ty->desugar(); \ 273 const Type *lastTypeWithQuals = split.Ty; 280 switch (split.Ty->getTypeClass()) { 284 const Class##Type *ty = cast<Class##Type>(split.Ty); \ 296 lastTypeWithQuals = split.Ty; [all...] |
H A D | TypeLoc.cpp | 56 unsigned TypeLoc::getLocalAlignmentForType(QualType Ty) { argument 57 if (Ty.isNull()) return 1; 58 return TypeAligner().Visit(TypeLoc(Ty, nullptr)); 74 unsigned TypeLoc::getFullDataSizeForType(QualType Ty) { argument 76 TypeLoc TyLoc(Ty, nullptr);
|
H A D | TypePrinter.cpp | 137 print(split.Ty, split.Quals, OS, PlaceHolder); 237 dyn_cast<SubstTemplateTypeParmType>(Split.Ty)) 240 printBefore(Split.Ty, Quals, OS); 293 printAfter(split.Ty, split.Quals, OS);
|
/external/clang/lib/Analysis/ |
H A D | BodyFarm.cpp | 28 static bool isDispatchBlock(QualType Ty) { argument 30 const BlockPointerType *BPT = Ty->getAs<BlockPointerType>(); 50 BinaryOperator *makeAssignment(const Expr *LHS, const Expr *RHS, QualType Ty); 63 UnaryOperator *makeDereference(const Expr *Arg, QualType Ty); 66 Expr *makeIntegralCast(const Expr *Arg, QualType Ty); 72 ImplicitCastExpr *makeLvalueToRvalue(const Expr *Arg, QualType Ty); 89 QualType Ty) { 91 BO_Assign, Ty, VK_RValue, 124 UnaryOperator *ASTMaker::makeDereference(const Expr *Arg, QualType Ty) { argument 125 return new (C) UnaryOperator(const_cast<Expr*>(Arg), UO_Deref, Ty, 88 makeAssignment(const Expr *LHS, const Expr *RHS, QualType Ty) argument 129 makeLvalueToRvalue(const Expr *Arg, QualType Ty) argument 134 makeIntegralCast(const Expr *Arg, QualType Ty) argument 148 QualType Ty = C.getBOOLDecl() ? C.getBOOLType() : C.ObjCBuiltinBoolTy; local 190 QualType Ty = Block->getType(); local 258 QualType Ty = PV->getType(); local [all...] |
H A D | CFG.cpp | 1108 QualType Ty = (*I)->getType(); local 1109 if (Ty->isReferenceType()) { 1110 Ty = getReferenceInitTemporaryType(*Context, (*I)->getInit()); 1112 Ty = Context->getBaseElementType(Ty); 1114 const CXXDestructorDecl *Dtor = Ty->getAsCXXRecordDecl()->getDestructor(); 1697 QualType Ty = E->getType(); local 1698 if (Ty->isFunctionPointerType()) 1699 Ty = Ty [all...] |
H A D | CocoaConventions.cpp | 59 bool cocoa::isCocoaObjectRef(QualType Ty) { argument 60 if (!Ty->isObjCObjectPointerType()) 63 const ObjCObjectPointerType *PT = Ty->getAs<ObjCObjectPointerType>();
|
H A D | LiveVariables.cpp | 218 static const VariableArrayType *FindVA(QualType Ty) { argument 219 const Type *ty = Ty.getTypePtr();
|
H A D | ThreadSafety.cpp | 1469 template <typename Ty> 1481 static const bool value = sizeof(test<Ty>(nullptr)) == sizeof(yes);
|
/external/clang/lib/CodeGen/ |
H A D | ABIInfo.h | 68 /// \arg Ty from the va_list pointed to by \arg VAListAddr. 74 virtual llvm::Value *EmitVAArg(llvm::Value *VAListAddr, QualType Ty,
|
H A D | CGBlocks.cpp | 2011 QualType Ty = D->getType(); 2031 bool HasCopyAndDispose = getContext().BlockRequiresCopying(Ty, D); 2041 if (getContext().getByrefLifetime(Ty, Lifetime, HasByrefExtendedLayout) && 2070 llvm::Type *Ty = Int8Ty; local 2074 Ty = llvm::ArrayType::get(Ty, NumPaddingBytes); 2076 types.push_back(Ty); 2084 types.push_back(ConvertTypeForMem(Ty));
|
H A D | CGBuiltin.cpp | 48 llvm::FunctionType *Ty = local 51 return GetOrCreateLLVMFunction(Name, Ty, D, /*ForVTable=*/false); 410 Value *Ty = EmitScalarExpr(E->getArg(1)); local 411 ConstantInt *CI = dyn_cast<ConstantInt>(Ty); 559 llvm::Type *Ty = ConvertType(E->getArg(5)->getType()); local 571 Value *IsZero = Builder.CreateFCmpOEQ(V, Constant::getNullValue(Ty), 762 llvm::IntegerType *Ty local 767 return RValue::get(llvm::UndefValue::get(Ty)); 769 return RValue::get(llvm::ConstantInt::get(Ty, Column, true)); 1755 Value *CodeGenFunction::EmitNeonShiftVector(Value *V, llvm::Type *Ty, argument 1765 EmitNeonRShiftImm(Value *Vec, Value *Shift, llvm::Type *Ty, bool usgn, const char *name) argument 2446 llvm::Type *Ty = ConvertType(E->getCallReturnType()); local 2551 llvm::Type *Ty = VTy; local 2977 EmitAArch64CompareBuiltinExpr( Value *Op, llvm::Type *Ty, const CmpInst::Predicate Fp, const CmpInst::Predicate Ip, const Twine &Name) argument 3081 llvm::Type *Ty = CGM.getTypes().ConvertType(FD->getType()); local 3125 QualType Ty = E->getType(); local 3172 QualType Ty = E->getArg(0)->getType(); local 3361 llvm::Type *Ty; local 3382 llvm::Type *Ty = VTy; local 3634 llvm::Type *Ty = VTy; local 3824 llvm::Type *Ty = CGM.getTypes().ConvertType(FD->getType()); local 3855 QualType Ty = E->getType(); local 3901 QualType Ty = E->getArg(0)->getType(); local 4026 llvm::Type *Ty = local 4039 llvm::Type *Ty = local 4052 llvm::Type *Ty = local 4101 llvm::Type *Ty = llvm::Type::getInt64Ty(getLLVMContext()); local 4180 llvm::Type *Ty = llvm::Type::getInt64Ty(getLLVMContext()); local 4453 llvm::Type *Ty = VTy; local 4550 llvm::Type *Ty = ConvertType(E->getCallReturnType()); local [all...] |
H A D | CGCXX.cpp | 308 llvm::Type *Ty, 315 Ty = Ty->getPointerTo()->getPointerTo(); 316 VTable = CGF.Builder.CreateBitCast(VTable, Ty); 334 llvm::Type *Ty) { 347 return ::BuildAppleKextVirtualCall(*this, MD, Ty, RD); 365 llvm::Type *Ty = CGM.getTypes().GetFunctionType(FInfo); local 366 return ::BuildAppleKextVirtualCall(*this, GlobalDecl(DD, Type), Ty, RD); 306 BuildAppleKextVirtualCall(CodeGenFunction &CGF, GlobalDecl GD, llvm::Type *Ty, const CXXRecordDecl *RD) argument 332 BuildAppleKextVirtualCall(const CXXMethodDecl *MD, NestedNameSpecifier *Qual, llvm::Type *Ty) argument
|
H A D | CGCXXABI.cpp | 94 llvm::Type *Ty = CGF.ConvertType(MPT->getPointeeType())->getPointerTo(); local 95 return llvm::Constant::getNullValue(Ty);
|
H A D | CGCXXABI.h | 210 virtual llvm::Constant *getAddrOfRTTIDescriptor(QualType Ty) = 0; 368 llvm::Type *Ty) = 0;
|
H A D | CGCall.cpp | 256 ArgTypes.push_back(Context.getCanonicalParamType(i->Ty)); 431 argTypes.push_back(Context.getCanonicalParamType(i->Ty)); 445 argTypes.push_back(Context.getCanonicalParamType(i->Ty)); 598 CodeGenFunction::ExpandTypeFromArgs(QualType Ty, LValue LV, argument 603 if (const ConstantArrayType *AT = getContext().getAsConstantArrayType(Ty)) { 611 } else if (const RecordType *RT = Ty->getAs<RecordType>()) { 642 } else if (const ComplexType *CT = Ty->getAs<ComplexType>()) { 689 /// CoerceIntOrPtrToIntOrPtr - Convert a value Val to the specific Ty where both 697 llvm::Type *Ty, 699 if (Val->getType() == Ty) 696 CoerceIntOrPtrToIntOrPtr(llvm::Value *Val, llvm::Type *Ty, CodeGenFunction &CGF) argument 749 CreateCoercedLoad(llvm::Value *SrcPtr, llvm::Type *Ty, CodeGenFunction &CGF) argument 1403 QualType Ty = info_it->type; local 1950 createPlaceholderSlot(CodeGenFunction &CGF, QualType Ty) argument 2308 DestroyUnpassedArg(llvm::Value *Addr, QualType Ty) argument 2312 QualType Ty; member in struct:__anon17813::DestroyUnpassedArg 2523 ExpandTypeToArgs(QualType Ty, RValue RV, SmallVectorImpl<llvm::Value *> &Args, llvm::FunctionType *IRFuncTy) argument 3065 EmitVAArg(llvm::Value *VAListAddr, QualType Ty) argument [all...] |
H A D | CGCall.h | 47 QualType Ty; member in struct:clang::CodeGen::CallArg 50 : RV(rv), Ty(ty), NeedsCopy(needscopy)
|
H A D | CGClass.cpp | 1664 QualType Ty = E->getType(); local 1666 EmitAggregateCopy(This, Src, Ty); 1798 QualType Ty = getContext().getTagDeclType(Ctor->getParent()); local 1799 CharUnits Alignment = getContext().getTypeAlignInChars(Ty); 1980 llvm::Type *Ty) { 1981 llvm::Value *VTablePtrSrc = Builder.CreateBitCast(This, Ty->getPointerTo()); 1979 GetVTablePtr(llvm::Value *This, llvm::Type *Ty) argument
|
H A D | CGDebugInfo.cpp | 509 llvm::DIType CGDebugInfo::CreateType(const ComplexType *Ty) { argument 512 if (Ty->isComplexIntegerType()) 515 uint64_t Size = CGM.getContext().getTypeSize(Ty); 516 uint64_t Align = CGM.getContext().getTypeAlign(Ty); 525 llvm::DIType CGDebugInfo::CreateQualifiedType(QualType Ty, llvm::DIFile Unit) { argument 527 const Type *T = Qc.strip(Ty); 560 llvm::DIType CGDebugInfo::CreateType(const ObjCObjectPointerType *Ty, argument 566 if (Ty->isObjCQualifiedIdType()) 570 CreatePointerLikeType(llvm::dwarf::DW_TAG_pointer_type, Ty, 571 Ty 575 CreateType(const PointerType *Ty, llvm::DIFile Unit) argument 584 getUniqueTagTypeName(const TagType *Ty, CodeGenModule &CGM, llvm::DICompileUnit TheCU) argument 607 getOrCreateRecordFwdDecl(const RecordType *Ty, llvm::DIDescriptor Ctx) argument 634 CreatePointerLikeType(llvm::dwarf::Tag Tag, const Type *Ty, QualType PointeeTy, llvm::DIFile Unit) argument 664 CreateType(const BlockPointerType *Ty, llvm::DIFile Unit) argument 726 CreateType(const TemplateSpecializationType *Ty, llvm::DIFile Unit) argument 751 CreateType(const TypedefType *Ty, llvm::DIFile Unit) argument 769 CreateType(const FunctionType *Ty, llvm::DIFile Unit) argument 1529 CreateType(const RecordType *Ty) argument 1542 CreateTypeDefinition(const RecordType *Ty) argument 1599 CreateType(const ObjCObjectType *Ty, llvm::DIFile Unit) argument 1631 CreateType(const ObjCInterfaceType *Ty, llvm::DIFile Unit) argument 1657 CreateTypeDefinition(const ObjCInterfaceType *Ty, llvm::DIFile Unit) argument 1805 CreateType(const VectorType *Ty, llvm::DIFile Unit) argument 1822 CreateType(const ArrayType *Ty, llvm::DIFile Unit) argument 1877 CreateType(const LValueReferenceType *Ty, llvm::DIFile Unit) argument 1883 CreateType(const RValueReferenceType *Ty, llvm::DIFile Unit) argument 1889 CreateType(const MemberPointerType *Ty, llvm::DIFile U) argument 1904 CreateType(const AtomicType *Ty, llvm::DIFile U) argument 1912 CreateEnumType(const EnumType *Ty) argument 1941 CreateTypeDefinition(const EnumType *Ty) argument 2034 getTypeOrNull(QualType Ty) argument 2062 getOrCreateType(QualType Ty, llvm::DIFile Unit) argument 2096 getObjCInterfaceDecl(QualType Ty) argument 2109 CreateTypeNode(QualType Ty, llvm::DIFile Unit) argument 2200 getOrCreateLimitedType(const RecordType *Ty, llvm::DIFile Unit) argument 2225 CreateLimitedType(const RecordType *Ty) argument 2312 llvm::DIType Ty = DBuilder.createMemberType(Unit, Name, Unit, 0, local 2723 llvm::DIType Ty; local 2844 CreateSelfType(const QualType &QualTy, llvm::DIType Ty) argument 2865 llvm::DIType Ty; local 3198 llvm::DIType Ty = getOrCreateType(VD->getType(), Unit); local [all...] |
H A D | CGDebugInfo.h | 114 llvm::DIType CreateType(const BuiltinType *Ty); 115 llvm::DIType CreateType(const ComplexType *Ty); 116 llvm::DIType CreateQualifiedType(QualType Ty, llvm::DIFile Fg); 117 llvm::DIType CreateType(const TypedefType *Ty, llvm::DIFile Fg); 118 llvm::DIType CreateType(const TemplateSpecializationType *Ty, llvm::DIFile Fg); 119 llvm::DIType CreateType(const ObjCObjectPointerType *Ty, 121 llvm::DIType CreateType(const PointerType *Ty, llvm::DIFile F); 122 llvm::DIType CreateType(const BlockPointerType *Ty, llvm::DIFile F); 123 llvm::DIType CreateType(const FunctionType *Ty, llvm::DIFile F); 125 llvm::DIType CreateTypeDefinition(const RecordType *Ty); [all...] |
H A D | CGDecl.cpp | 116 QualType Ty = TD.getUnderlyingType(); local 118 if (Ty->isVariablyModifiedType()) 119 EmitVariablyModifiedType(Ty); 179 QualType Ty = D.getType(); local 180 assert(Ty->isConstantSizeType() && "VLAs can't be static"); 189 llvm::Type *LTy = CGM.getTypes().ConvertTypeForMem(Ty); 191 CGM.GetGlobalVarAddressSpace(&D, CGM.getContext().getTargetAddressSpace(Ty)); 194 Ty.isConstant(getContext()), Linkage, 212 unsigned ExpectedAddrSpace = CGM.getContext().getTargetAddressSpace(Ty); 832 QualType Ty local 1617 QualType Ty = D.getType(); local [all...] |
H A D | CGException.cpp | 503 QualType Ty = Proto->getExceptionType(I); local 504 QualType ExceptType = Ty.getNonReferenceType().getUnqualifiedType();
|
H A D | CGExpr.cpp | 54 llvm::AllocaInst *CodeGenFunction::CreateTempAlloca(llvm::Type *Ty, argument 57 return new llvm::AllocaInst(Ty, nullptr, "", AllocaInsertPt); 58 return new llvm::AllocaInst(Ty, nullptr, Name, AllocaInsertPt); 68 llvm::AllocaInst *CodeGenFunction::CreateIRTemp(QualType Ty, argument 70 llvm::AllocaInst *Alloc = CreateTempAlloca(ConvertType(Ty), Name); 72 CharUnits Align = getContext().getTypeAlignInChars(Ty); 77 llvm::AllocaInst *CodeGenFunction::CreateMemTemp(QualType Ty, argument 79 llvm::AllocaInst *Alloc = CreateTempAlloca(ConvertTypeForMem(Ty), Name); 81 CharUnits Align = getContext().getTypeAlignInChars(Ty); 416 QualType Ty local 449 EmitTypeCheck(TypeCheckKind TCK, SourceLocation Loc, llvm::Value *Address, QualType Ty, CharUnits Alignment) argument 712 GetUndefRValue(QualType Ty) argument 747 llvm::Type *Ty = llvm::PointerType::getUnqual(ConvertType(E->getType())); local 1005 hasBooleanRepresentation(QualType Ty) argument 1018 getRangeForType(CodeGenFunction &CGF, QualType Ty, llvm::APInt &Min, llvm::APInt &End, bool StrictEnums) argument 1052 getRangeForLoadFromType(QualType Ty) argument 1062 EmitLoadOfScalar(llvm::Value *Addr, bool Volatile, unsigned Alignment, QualType Ty, SourceLocation Loc, llvm::MDNode *TBAAInfo, QualType TBAABaseType, uint64_t TBAAOffset) argument 1156 EmitToMemory(llvm::Value *Value, QualType Ty) argument 1170 EmitFromMemory(llvm::Value *Value, QualType Ty) argument 1181 EmitStoreOfScalar(llvm::Value *Value, llvm::Value *Addr, bool Volatile, unsigned Alignment, QualType Ty, llvm::MDNode *TBAAInfo, bool isInit, QualType TBAABaseType, uint64_t TBAAOffset) argument 1365 llvm::Type *Ty = OrigTy; local 1626 llvm::Type *Ty = OrigTy; local [all...] |
H A D | CGExprAgg.cpp | 585 QualType Ty = E->getSubExpr()->getType(); local 586 QualType PtrTy = CGF.getContext().getPointerType(Ty); 590 CGF.MakeAddrLValue(CastPtr, Ty)); 1389 llvm::Value *SrcPtr, QualType Ty, 1393 assert(!Ty->isAnyComplexType() && "Shouldn't happen for complex"); 1396 if (const RecordType *RT = Ty->getAs<RecordType>()) { 1425 TypeInfo = getContext().getTypeInfoDataSizeInChars(Ty); 1427 TypeInfo = getContext().getTypeInfoInChars(Ty); 1460 } else if (const RecordType *RecordTy = Ty->getAs<RecordType>()) { 1470 } else if (Ty 1388 EmitAggregateCopy(llvm::Value *DestPtr, llvm::Value *SrcPtr, QualType Ty, bool isVolatile, CharUnits alignment, bool isAssignment) argument [all...] |
H A D | CGExprCXX.cpp | 70 const RecordType *Ty = T->castAs<RecordType>(); local 71 return cast<CXXRecordDecl>(Ty->getDecl()); 171 llvm::FunctionType *Ty = CGM.getTypes().GetFunctionType(*FInfo); local 193 Callee = BuildAppleKextVirtualCall(MD, ME->getQualifier(), Ty); 195 Callee = CGM.GetAddrOfCXXDestructor(Dtor, Dtor_Complete, FInfo, Ty); 199 Callee = CGM.GetAddrOfFunction(GlobalDecl(DDtor, Dtor_Complete), Ty); 208 Callee = CGM.GetAddrOfFunction(GlobalDecl(Ctor, Ctor_Complete), Ty); 210 Callee = CGM.getCXXABI().getVirtualFunctionPointer(*this, MD, This, Ty); 215 Callee = BuildAppleKextVirtualCall(MD, ME->getQualifier(), Ty); 217 Callee = CGM.GetAddrOfFunction(MD, Ty); 295 QualType Ty = E->getType(); local [all...] |
H A D | CGExprComplex.cpp | 216 QualType Ty; // Computation Type. member in struct:__anon17835::ComplexExprEmitter::BinOpInfo 612 if (Op.Ty->castAs<ComplexType>()->getElementType()->isUnsignedIntegerType()) { 631 Ops.Ty = E->getType(); 649 OpInfo.Ty = E->getComputationResultType(); 652 assert(OpInfo.Ty->isAnyComplexType()); 653 assert(CGF.getContext().hasSameUnqualifiedType(OpInfo.Ty, 662 OpInfo.LHS = EmitComplexToComplexCast(LHSVal, LHSTy, OpInfo.Ty); 665 OpInfo.LHS = EmitScalarToComplexCast(LHSVal, LHSTy, OpInfo.Ty); 673 ComplexPairTy ResVal = EmitComplexToComplexCast(Result, OpInfo.Ty, LHSTy); 678 CGF.EmitComplexToScalarConversion(Result, OpInfo.Ty, LHST 809 QualType Ty = E->getType()->castAs<ComplexType>()->getElementType(); local [all...] |