/external/llvm/lib/IR/ |
H A D | ConstantsContext.h | 45 UnaryConstantExpr(unsigned Opcode, Constant *C, Type *Ty) argument 46 : ConstantExpr(Ty, Opcode, &Op<0>(), 1) { 405 static ConstantClass *create(TypeClass *Ty, const ValType &V) { argument 406 return new(ConstantTraits<ValType>::uses(V)) ConstantClass(Ty, V); 412 static ConstantClass *create(TypeClass *Ty, ArrayRef<Constant*> V) { argument 413 return new(V.size()) ConstantClass(Ty, V); 427 static ConstantExpr *create(Type *Ty, const ExprMapKeyType &V, argument 430 return new UnaryConstantExpr(V.opcode, V.operands[0], Ty); 448 V.indices, Ty); 450 return new ExtractValueConstantExpr(V.operands[0], V.indices, Ty); 488 create(PointerType *Ty, const InlineAsmKeyType &Key) argument 571 Create(TypeClass *Ty, ValRefType V, typename MapTy::iterator I) argument 588 getOrCreate(TypeClass *Ty, ValRefType V) argument 711 Create(TypeClass *Ty, Operands V, typename MapTy::iterator I) argument 724 getOrCreate(TypeClass *Ty, Operands V) argument [all...] |
H A D | DIBuilder.cpp | 362 DIDerivedType DIBuilder::createTypedef(DIType Ty, StringRef Name, DIFile File, argument 375 Ty.getRef() 381 DIDerivedType DIBuilder::createFriend(DIType Ty, DIType FriendTy) { argument 383 assert(Ty.isType() && "Invalid type!"); 388 Ty.getRef(), 402 DIDerivedType DIBuilder::createInheritance(DIType Ty, DIType BaseTy, argument 405 assert(Ty.isType() && "Unable to create inheritance"); 410 Ty.getRef(), 428 DIType Ty) { 440 Ty 423 createMemberType(DIDescriptor Scope, StringRef Name, DIFile File, unsigned LineNumber, uint64_t SizeInBits, uint64_t AlignInBits, uint64_t OffsetInBits, unsigned Flags, DIType Ty) argument 448 createStaticMemberType(DIDescriptor Scope, StringRef Name, DIFile File, unsigned LineNumber, DIType Ty, unsigned Flags, llvm::Value *Val) argument 473 createObjCIVar(StringRef Name, DIFile File, unsigned LineNumber, uint64_t SizeInBits, uint64_t AlignInBits, uint64_t OffsetInBits, unsigned Flags, DIType Ty, StringRef PropertyName, StringRef GetterName, StringRef SetterName, unsigned PropertyAttributes) argument 500 createObjCIVar(StringRef Name, DIFile File, unsigned LineNumber, uint64_t SizeInBits, uint64_t AlignInBits, uint64_t OffsetInBits, unsigned Flags, DIType Ty, MDNode *PropertyNode) argument 526 createObjCProperty(StringRef Name, DIFile File, unsigned LineNumber, StringRef GetterName, StringRef SetterName, unsigned PropertyAttributes, DIType Ty) argument 545 createTemplateTypeParameter(DIDescriptor Context, StringRef Name, DIType Ty, MDNode *File, unsigned LineNo, unsigned ColumnNo) argument 561 createTemplateValueParameter(unsigned Tag, DIDescriptor Context, StringRef Name, DIType Ty, Value *Val, MDNode *File, unsigned LineNo, unsigned ColumnNo) argument 582 createTemplateValueParameter(DIDescriptor Context, StringRef Name, DIType Ty, Value *Val, MDNode *File, unsigned LineNo, unsigned ColumnNo) argument 592 createTemplateTemplateParameter(DIDescriptor Context, StringRef Name, DIType Ty, StringRef Val, MDNode *File, unsigned LineNo, unsigned ColumnNo) argument 602 createTemplateParameterPack(DIDescriptor Context, StringRef Name, DIType Ty, DIArray Val, MDNode *File, unsigned LineNo, unsigned ColumnNo) argument 780 createArrayType(uint64_t Size, uint64_t AlignInBits, DIType Ty, DIArray Subscripts) argument 804 createVectorType(uint64_t Size, uint64_t AlignInBits, DIType Ty, DIArray Subscripts) argument 828 createArtificialType(DIType Ty) argument 850 createObjectPointerType(DIType Ty) argument 972 createGlobalVariable(StringRef Name, StringRef LinkageName, DIFile F, unsigned LineNumber, DITypeRef Ty, bool isLocalToUnit, Value *Val) argument 998 createGlobalVariable(StringRef Name, DIFile F, unsigned LineNumber, DITypeRef Ty, bool isLocalToUnit, Value *Val) argument 1009 createStaticVariable(DIDescriptor Context, StringRef Name, StringRef LinkageName, DIFile F, unsigned LineNumber, DITypeRef Ty, bool isLocalToUnit, Value *Val, MDNode *Decl) argument 1037 createLocalVariable(unsigned Tag, DIDescriptor Scope, StringRef Name, DIFile File, unsigned LineNo, DITypeRef Ty, bool AlwaysPreserve, unsigned Flags, unsigned ArgNo) argument 1072 createComplexVariable(unsigned Tag, DIDescriptor Scope, StringRef Name, DIFile F, unsigned LineNo, DITypeRef Ty, ArrayRef<Value *> Addr, unsigned ArgNo) argument 1097 createFunction(DIScopeRef Context, StringRef Name, StringRef LinkageName, DIFile File, unsigned LineNo, DICompositeType Ty, bool isLocalToUnit, bool isDefinition, unsigned ScopeLine, unsigned Flags, bool isOptimized, Function *Fn, MDNode *TParams, MDNode *Decl) argument 1113 createFunction(DIDescriptor Context, StringRef Name, StringRef LinkageName, DIFile File, unsigned LineNo, DICompositeType Ty, bool isLocalToUnit, bool isDefinition, unsigned ScopeLine, unsigned Flags, bool isOptimized, Function *Fn, MDNode *TParams, MDNode *Decl) argument 1157 createMethod(DIDescriptor Context, StringRef Name, StringRef LinkageName, DIFile F, unsigned LineNo, DICompositeType Ty, bool isLocalToUnit, bool isDefinition, unsigned VK, unsigned VIndex, DIType VTableHolder, unsigned Flags, bool isOptimized, Function *Fn, MDNode *TParam) argument [all...] |
H A D | LLVMContextImpl.h | 51 KeyTy(const APInt& V, Type* Ty) : val(V), type(Ty) {} argument
|
/external/llvm/lib/Target/Mips/ |
H A D | MipsISelLowering.h | 261 SDValue getGlobalReg(SelectionDAG &DAG, EVT Ty) const; 268 SDValue getAddrLocal(NodeTy *N, EVT Ty, SelectionDAG &DAG, argument 272 SDValue GOT = DAG.getNode(MipsISD::Wrapper, DL, Ty, getGlobalReg(DAG, Ty), 273 getTargetNode(N, Ty, DAG, GOTFlag)); 274 SDValue Load = DAG.getLoad(Ty, DL, DAG.getEntryNode(), GOT, 278 SDValue Lo = DAG.getNode(MipsISD::Lo, DL, Ty, 279 getTargetNode(N, Ty, DAG, LoFlag)); 280 return DAG.getNode(ISD::ADD, DL, Ty, Load, Lo); 288 SDValue getAddrGlobal(NodeTy *N, EVT Ty, SelectionDA argument 302 getAddrGlobalLargeGOT(NodeTy *N, EVT Ty, SelectionDAG &DAG, unsigned HiFlag, unsigned LoFlag, SDValue Chain, const MachinePointerInfo &PtrInfo) const argument 321 getAddrNonPIC(NodeTy *N, EVT Ty, SelectionDAG &DAG) const argument [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineMulDivRem.cpp | 785 /// be truncated to Ty without losing bits. 786 static Value *dyn_castZExtVal(Value *V, Type *Ty) { argument 788 if (Z->getSrcTy() == Ty) 791 if (C->getValue().getActiveBits() <= cast<IntegerType>(Ty)->getBitWidth()) 792 return ConstantExpr::getTrunc(C, Ty);
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | LoopIdiomRecognize.cpp | 572 Type *Ty = TripCnt->getType(); local 574 PHINode *TcPhi = PHINode::Create(Ty, 2, "tcphi", Body->begin()); 578 Value *Opnd2 = cast<Value>(ConstantInt::get(Ty, 1)); 589 LbCond->setOperand(1, cast<Value>(ConstantInt::get(Ty, 0)));
|
H A D | Scalarizer.cpp | 184 Type *Ty = V->getType(); local 185 PtrTy = dyn_cast<PointerType>(Ty); 187 Ty = PtrTy->getElementType(); 188 Size = Ty->getVectorNumElements(); 206 Type *Ty = local 209 CV[0] = Builder.CreateBitCast(V, Ty, V->getName() + ".i0"); 334 // Try to fill in Layout from Ty, returning true on success. Alignment is 336 bool Scalarizer::getVectorLayout(Type *Ty, unsigned Alignment, argument 342 Layout.VecTy = dyn_cast<VectorType>(Ty); 641 Type *Ty local [all...] |
/external/llvm/lib/Transforms/Utils/ |
H A D | InlineFunction.cpp | 426 Type *Ty = AI->getType(); local 427 Type *Int8PtrTy = Type::getInt8PtrTy(Ty->getContext(), 428 Ty->getPointerAddressSpace()); 429 if (Ty == Int8PtrTy)
|
/external/llvm/utils/FileCheck/ |
H A D | FileCheck.cpp | 102 Pattern(Check::CheckType Ty) argument 103 : CheckTy(Ty) { } 601 Check::CheckType Ty) 602 : Pat(P), Prefix(S), Loc(L), CheckTy(Ty) {} 666 static size_t CheckTypeSize(Check::CheckType Ty) { argument 667 switch (Ty) { 598 CheckString(const Pattern &P, StringRef S, SMLoc L, Check::CheckType Ty) argument
|
/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...] |
H A D | ExprObjC.h | 64 ObjCBoolLiteralExpr(bool val, QualType Ty, SourceLocation l) : argument 65 Expr(ObjCBoolLiteralExprClass, Ty, VK_RValue, OK_Ordinary, false, false,
|
/external/clang/lib/AST/ |
H A D | ASTDiagnostic.cpp | 33 const Type *Ty = QC.strip(QT); local 36 if (const ElaboratedType *ET = dyn_cast<ElaboratedType>(Ty)) { 41 if (const ParenType *PT = dyn_cast<ParenType>(Ty)) { 47 dyn_cast<SubstTemplateTypeParmType>(Ty)) { 52 if (const AttributedType *AT = dyn_cast<AttributedType>(Ty)) { 57 if (const AdjustedType *AT = dyn_cast<AdjustedType>(Ty)) { 62 if (const AutoType *AT = dyn_cast<AutoType>(Ty)) { 71 = dyn_cast<TemplateSpecializationType>(Ty)) 76 if (QualType(Ty,0) == Context.getObjCIdType() || 77 QualType(Ty, 164 ConvertTypeToDiagnosticString(ASTContext &Context, QualType Ty, ArrayRef<DiagnosticsEngine::ArgumentValue> PrevArgs, ArrayRef<intptr_t> QualTypeVals) argument 834 GetTemplateSpecializationType( ASTContext &Context, QualType Ty) argument [all...] |
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...] |
H A D | ExprCXX.cpp | 61 const Type *Ty = QT.getTypePtr(); local 63 Ty = QT->getPointeeType().getTypePtr(); 65 Ty = Ty->getBaseElementTypeUnsafe(); 68 CXXRecordDecl *RD = Ty->getAsCXXRecordDecl();
|
H A D | MicrosoftMangle.cpp | 422 QualType Ty = VD->getType(); local 423 if (Ty->isPointerType() || Ty->isReferenceType() || 424 Ty->isMemberPointerType()) { 425 mangleType(Ty, SR, QMM_Drop); 427 Ty.getDesugaredType(getASTContext()).getLocalQualifiers(), nullptr); 428 if (const MemberPointerType *MPT = Ty->getAs<MemberPointerType>()) { 434 mangleQualifiers(Ty->getPointeeType().getQualifiers(), false); 435 } else if (const ArrayType *AT = getASTContext().getAsArrayType(Ty)) { 441 mangleQualifiers(Ty [all...] |
/external/clang/lib/CodeGen/ |
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 | 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 | 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...] |
H A D | CGExprConstant.cpp | 73 llvm::Constant *Finalize(QualType Ty); 292 llvm::Type *Ty = CGM.Int8Ty; 294 Ty = llvm::ArrayType::get(Ty, PadSize.getQuantity()); 296 llvm::Constant *C = llvm::UndefValue::get(Ty); 328 llvm::Type *Ty = CGM.Int8Ty; local 330 Ty = llvm::ArrayType::get(Ty, NumChars.getQuantity()); 332 llvm::Constant *Padding = llvm::UndefValue::get(Ty); 474 llvm::Constant *ConstStructBuilder::Finalize(QualType Ty) { argument 623 llvm::Type *Ty = CGM.Int8Ty; local 985 QualType Ty = D.getType(); local [all...] |
H A D | CGStmt.cpp | 967 void CodeGenFunction::EmitReturnOfRValue(RValue RV, QualType Ty) { argument 971 EmitAggregateCopy(ReturnValue, RV.getAggregateAddr(), Ty); 974 MakeNaturalAlignAddrLValue(ReturnValue, Ty), 1690 llvm::Type *Ty = ConvertType(InputType); local 1691 uint64_t Size = CGM.getDataLayout().getTypeSizeInBits(Ty); 1693 Ty = llvm::IntegerType::get(getLLVMContext(), Size); 1694 Ty = llvm::PointerType::getUnqual(Ty); 1697 Ty));
|
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...] |