/external/llvm/lib/Target/Mips/ |
H A D | MipsOptimizePICCall.cpp | 147 MVT::SimpleValueType Ty = getRegTy(MI.getOperand(0).getReg(), MF); local 148 unsigned Reg = Ty == MVT::i32 ? Mips::GP : Mips::GP_64;
|
/external/llvm/lib/Target/NVPTX/ |
H A D | NVPTXISelLowering.h | 200 bool isLegalAddressingMode(const AddrMode &AM, Type *Ty) const override; 273 Type *Ty, unsigned Idx) const;
|
/external/llvm/lib/Target/XCore/ |
H A D | XCoreLowerThreadLocal.cpp | 174 static bool isZeroLengthArray(Type *Ty) { argument 175 ArrayType *AT = dyn_cast<ArrayType>(Ty);
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombinePHI.cpp | 579 LoweredPHIRecord(PHINode *pn, unsigned Sh, Type *Ty) argument 580 : PN(pn), Shift(Sh), Width(Ty->getPrimitiveSizeInBits()) {} 704 Type *Ty = PHIUsers[UserI].Inst->getType(); local 710 if ((EltPHI = ExtractedVals[LoweredPHIRecord(PN, Offset, Ty)]) == nullptr) { 713 EltPHI = PHINode::Create(Ty, PN->getNumIncomingValues(), 739 if (Value *Res = ExtractedVals[LoweredPHIRecord(InPHI, Offset, Ty)]) { 752 Res = Builder->CreateTrunc(Res, Ty, "extract.t"); 773 ExtractedVals[LoweredPHIRecord(PN, Offset, Ty)] = EltPHI;
|
/external/llvm/lib/Transforms/ObjCARC/ |
H A D | ObjCARC.h | 320 PointerType *Ty = dyn_cast<PointerType>(Op->getType()); 321 if (!Ty)
|
/external/llvm/include/llvm/Support/ |
H A D | CommandLine.h | 309 template<class Ty> 311 const Ty &Init; 312 initializer(const Ty &Val) : Init(Val) {} 318 template<class Ty> 319 initializer<Ty> init(const Ty &Val) { 320 return initializer<Ty>(Val); 328 template<class Ty> 330 Ty &Loc; 331 LocationClass(Ty [all...] |
/external/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.h | 543 unsigned getByValTypeAlignment(Type *Ty) const override; 663 bool isLegalAddressingMode(const AddrMode &AM, Type *Ty) const override; 682 int getScalingFactorCost(const AddrMode &AM, Type *Ty) const override; 684 bool isVectorShiftByScalarCheap(Type *Ty) const override; 770 Type *Ty) const override;
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
H A D | AMDILPeepholeOptimizer.cpp | 181 containsPointerType(Type *Ty) argument 183 if (!Ty) { 186 switch(Ty->getTypeID()) { 190 const StructType *ST = dyn_cast<StructType>(Ty); 202 return containsPointerType(dyn_cast<SequentialType>(Ty)->getElementType()); 948 Type* Ty = inst->getType(); local 951 Ty = inst->getType(); 954 Ty = sinst->getValueOperand()->getType(); 958 unsigned size = getTypeSize(Ty); 962 if (!Ty [all...] |
/external/clang/lib/AST/ |
H A D | DeclBase.cpp | 710 QualType Ty; local 712 Ty = D->getType(); 714 Ty = D->getUnderlyingType(); 718 if (Ty->isFunctionPointerType()) 719 Ty = Ty->getAs<PointerType>()->getPointeeType(); 720 else if (BlocksToo && Ty->isBlockPointerType()) 721 Ty = Ty->getAs<BlockPointerType>()->getPointeeType(); 723 return Ty [all...] |
/external/mesa3d/src/gallium/drivers/radeon/ |
H A D | AMDILPeepholeOptimizer.cpp | 181 containsPointerType(Type *Ty) argument 183 if (!Ty) { 186 switch(Ty->getTypeID()) { 190 const StructType *ST = dyn_cast<StructType>(Ty); 202 return containsPointerType(dyn_cast<SequentialType>(Ty)->getElementType()); 948 Type* Ty = inst->getType(); local 951 Ty = inst->getType(); 954 Ty = sinst->getValueOperand()->getType(); 958 unsigned size = getTypeSize(Ty); 962 if (!Ty [all...] |
/external/clang/include/clang/AST/ |
H A D | ExprCXX.h | 431 CXXBoolLiteralExpr(bool val, QualType Ty, SourceLocation l) : argument 432 Expr(CXXBoolLiteralExprClass, Ty, VK_RValue, OK_Ordinary, false, false, 462 CXXNullPtrLiteralExpr(QualType Ty, SourceLocation l) : argument 463 Expr(CXXNullPtrLiteralExprClass, Ty, VK_RValue, OK_Ordinary, false, false, 492 CXXStdInitializerListExpr(QualType Ty, Expr *SubExpr) argument 493 : Expr(CXXStdInitializerListExprClass, Ty, VK_RValue, OK_Ordinary, 494 Ty->isDependentType(), SubExpr->isValueDependent(), 533 CXXTypeidExpr(QualType Ty, TypeSourceInfo *Operand, SourceRange R) argument 534 : Expr(CXXTypeidExprClass, Ty, VK_LValue, OK_Ordinary, 543 CXXTypeidExpr(QualType Ty, Exp argument 678 CXXUuidofExpr(QualType Ty, TypeSourceInfo *Operand, SourceRange R) argument 685 CXXUuidofExpr(QualType Ty, Expr *Operand, SourceRange R) argument 813 CXXThrowExpr(Expr *expr, QualType Ty, SourceLocation l, bool IsThrownVariableInScope) argument [all...] |
/external/clang/lib/CodeGen/ |
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 | CodeGenFunction.cpp | 682 QualType Ty; local 684 Ty = PVD->getOriginalType(); 686 Ty = VD->getType(); 688 if (Ty->isVariablyModifiedType()) 689 EmitVariablyModifiedType(Ty); 1186 CodeGenFunction::EmitNullInitialization(llvm::Value *DestPtr, QualType Ty) { argument 1189 if (const RecordType *RT = Ty->getAs<RecordType>()) { 1204 getContext().getTypeInfoInChars(Ty); 1216 getContext().getAsArrayType(Ty))) { 1238 if (!CGM.getTypes().isZeroInitializable(Ty)) { [all...] |
H A D | CGRecordLayoutBuilder.cpp | 611 llvm::Type *Ty = Types.ConvertTypeForMem(FD->getType()); local 613 CharUnits::fromQuantity(Types.getDataLayout().getTypeAllocSize(Ty)); 643 llvm::StructType *Ty) { 651 BaseTy = Ty; 664 Ty->setBody(Builder.FieldTypes, Builder.Packed); 667 new CGRecordLayout(Ty, BaseTy, Builder.IsZeroInitializable, 693 assert(TypeSizeInBits == getDataLayout().getTypeAllocSizeInBits(Ty) && 642 ComputeRecordLayout(const RecordDecl *D, llvm::StructType *Ty) argument
|
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...] |
/external/llvm/lib/ExecutionEngine/ |
H A D | ExecutionEngine.cpp | 1031 GenericValue *Ptr, Type *Ty) { 1032 const unsigned StoreBytes = getDataLayout()->getTypeStoreSize(Ty); 1034 switch (Ty->getTypeID()) { 1036 dbgs() << "Cannot store value of type " << *Ty << "!\n"; 1059 if (cast<VectorType>(Ty)->getElementType()->isDoubleTy()) 1061 if (cast<VectorType>(Ty)->getElementType()->isFloatTy()) 1063 if (cast<VectorType>(Ty)->getElementType()->isIntegerTy()) { 1108 Type *Ty) { 1109 const unsigned LoadBytes = getDataLayout()->getTypeStoreSize(Ty); 1111 switch (Ty 1030 StoreValueToMemory(const GenericValue &Val, GenericValue *Ptr, Type *Ty) argument 1106 LoadValueFromMemory(GenericValue &Result, GenericValue *Ptr, Type *Ty) argument 1162 OS << "Cannot load value of type " << *Ty << "!"; local [all...] |
/external/clang/lib/Sema/ |
H A D | SemaDeclAttr.cpp | 367 static bool checkRecordTypeForCapability(Sema &S, QualType Ty) { argument 368 const RecordType *RT = getRecordType(Ty); 400 static bool checkTypedefTypeForCapability(QualType Ty) { argument 401 const auto *TD = Ty->getAs<TypedefType>(); 412 static bool typeHasCapability(Sema &S, QualType Ty) { argument 413 if (checkTypedefTypeForCapability(Ty)) 416 if (checkRecordTypeForCapability(S, Ty)) 2121 QualType Ty = V->getType(); local 2122 if (Ty->isBlockPointerType() || Ty 2332 QualType Ty = S.Context.getPointerType(VD->getType()); local 2337 << NI.getName() << ParamTy << Ty; local 2542 QualType Ty = getFunctionOrMethodParamType(D, ArgIdx); local 2818 QualType Ty; local [all...] |
H A D | SemaExprObjC.cpp | 92 QualType Ty = Context.getObjCConstantStringInterface(); 93 if (!Ty.isNull()) { 94 Ty = Context.getObjCObjectPointerType(Ty); 108 Ty = Context.getObjCConstantStringInterface(); 109 Ty = Context.getObjCObjectPointerType(Ty); 115 Ty = Context.getObjCIdType(); 123 Ty = Context.getObjCConstantStringInterface(); 124 Ty 737 QualType Ty local 923 QualType Ty local 1093 QualType Ty = Context.getObjCSelType(); local 1109 QualType Ty = Context.getObjCProtoType(); local [all...] |
/external/llvm/lib/Transforms/Vectorize/ |
H A D | SLPVectorizer.cpp | 246 Type *Ty = VL[0]->getType(); local 248 if (VL[i]->getType() != Ty) 251 return Ty; 455 int getGatherCost(Type *Ty); 481 Value *Gather(ArrayRef<Value *> VL, VectorType *Ty); 896 Type *Ty = cast<Instruction>(VL[i])->getOperand(0)->getType(); local 897 if (Ty != SrcTy || Ty->isAggregateType() || Ty->isVectorTy()) { 1406 int BoUpSLP::getGatherCost(Type *Ty) { argument 1462 Type *Ty = cast<PointerType>(PtrA->getType())->getElementType(); local 1546 Gather(ArrayRef<Value *> VL, VectorType *Ty) argument 2013 Type *Ty = Scalar->getType(); local 2389 Type *Ty = SI->getValueOperand()->getType(); local 2429 Type *Ty = VL[i]->getType(); local [all...] |
/external/valgrind/main/mpi/ |
H A D | libmpiwrap.c | 700 typedef struct { int val; int loc; } Ty; typedef in typeref:struct:__anon33089 701 f(base + offsetof(Ty,val), sizeof(int)); 702 f(base + offsetof(Ty,loc), sizeof(int)); 706 typedef struct { long val; int loc; } Ty; typedef in typeref:struct:__anon33090 707 f(base + offsetof(Ty,val), sizeof(long)); 708 f(base + offsetof(Ty,loc), sizeof(int)); 712 typedef struct { double val; int loc; } Ty; typedef in typeref:struct:__anon33091 713 f(base + offsetof(Ty,val), sizeof(double)); 714 f(base + offsetof(Ty,loc), sizeof(int)); 718 typedef struct { short val; int loc; } Ty; typedef in typeref:struct:__anon33092 724 typedef struct { float val; int loc; } Ty; typedef in typeref:struct:__anon33093 730 typedef struct { long double val; int loc; } Ty; typedef in typeref:struct:__anon33094 [all...] |
/external/llvm/lib/IR/ |
H A D | Type.cpp | 63 // 'Ty' without any reinterpretation of bits. For example, i8* to i32*. 65 bool Type::canLosslesslyBitCastTo(Type *Ty) const { 67 if (this == Ty) 71 if (!this->isFirstClassType() || !Ty->isFirstClassType()) 78 if (const VectorType *thatPTy = dyn_cast<VectorType>(Ty)) 80 if (Ty->getTypeID() == Type::X86_MMXTyID && 86 if (const VectorType *thatPTy = dyn_cast<VectorType>(Ty)) 94 return Ty->isPointerTy();
|
/external/llvm/include/llvm/IR/ |
H A D | PatternMatch.h | 1153 typedef match_combine_and<IntrinsicID_match, Argument_match<T0> > Ty; typedef in struct:llvm::PatternMatch::m_Intrinsic_Ty 1157 typedef match_combine_and<typename m_Intrinsic_Ty<T0>::Ty, 1158 Argument_match<T1> > Ty; typedef in struct:llvm::PatternMatch::m_Intrinsic_Ty 1162 typedef match_combine_and<typename m_Intrinsic_Ty<T0, T1>::Ty, 1163 Argument_match<T2> > Ty; typedef in struct:llvm::PatternMatch::m_Intrinsic_Ty 1167 typedef match_combine_and<typename m_Intrinsic_Ty<T0, T1, T2>::Ty, 1168 Argument_match<T3> > Ty; typedef in struct:llvm::PatternMatch::m_Intrinsic_Ty 1178 inline typename m_Intrinsic_Ty<T0>::Ty 1184 inline typename m_Intrinsic_Ty<T0, T1>::Ty 1190 inline typename m_Intrinsic_Ty<T0, T1, T2>::Ty [all...] |
H A D | Value.h | 186 Value(Type *Ty, unsigned scid); 455 void mutateType(Type *Ty) { argument 456 VTy = Ty;
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DIE.h | 220 /// Ty - Type of data stored in the value. 222 Type Ty; member in class:llvm::DIEValue 224 explicit DIEValue(Type T) : Ty(T) {} 229 Type getType() const { return Ty; }
|
/external/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.h | 295 bool isLegalAddressingMode(const AddrMode &AM, Type *Ty) const override; 302 int getScalingFactorCost(const AddrMode &AM, Type *Ty) const override; 318 Type *Ty) const override;
|