/external/llvm/lib/IR/ |
H A D | AsmWriter.cpp | 191 void TypePrinting::print(Type *Ty, raw_ostream &OS) { argument 192 switch (Ty->getTypeID()) { 204 OS << 'i' << cast<IntegerType>(Ty)->getBitWidth(); 208 FunctionType *FTy = cast<FunctionType>(Ty); 225 StructType *STy = cast<StructType>(Ty); 241 PointerType *PTy = cast<PointerType>(Ty); 249 ArrayType *ATy = cast<ArrayType>(Ty); 256 VectorType *PTy = cast<VectorType>(Ty);
|
H A D | Attributes.cpp | 1154 AttributeSet AttributeFuncs::typeIncompatible(Type *Ty, uint64_t Index) { argument 1157 if (!Ty->isIntegerTy()) 1162 if (!Ty->isPointerTy()) 1172 return AttributeSet::get(Ty->getContext(), Index, Incompatible);
|
/external/llvm/lib/Target/PowerPC/ |
H A D | PPCISelLowering.h | 427 unsigned getByValTypeAlignment(Type *Ty) const; 438 virtual bool isLegalAddressingMode(const AddrMode &AM, Type *Ty)const;
|
/external/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.h | 530 virtual unsigned getByValTypeAlignment(Type *Ty) const; 647 virtual bool isLegalAddressingMode(const AddrMode &AM, Type *Ty)const;
|
H A D | X86SelectionDAGInfo.cpp | 61 Entry.Ty = IntPtrTy;
|
/external/clang/lib/Sema/ |
H A D | Sema.cpp | 262 ExprResult Sema::ImpCastExprToType(Expr *E, QualType Ty, argument 282 QualType TypeTy = Context.getCanonicalType(Ty); 301 ImpCast->setType(Ty); 307 return Owned(ImplicitCastExpr::Create(Context, Ty, Kind, E, BasePath, VK));
|
H A D | SemaInit.cpp | 133 static void updateStringLiteralType(Expr *E, QualType Ty) { argument 135 E->setType(Ty); 2754 void InitializationSequence::AddQualificationConversionStep(QualType Ty, argument 2769 S.Type = Ty; 2773 void InitializationSequence::AddLValueToRValueStep(QualType Ty) { argument 2774 assert(!Ty.hasQualifiers() && "rvalues may not have qualifiers"); 2778 S.Type = Ty; 5869 QualType Ty = Step->Type; local 5870 bool IsTemporary = !S.Context.hasSameType(Entity.getType(), Ty); 5871 InitializedEntity TempEntity = InitializedEntity::InitializeTemporary(Ty); 6019 QualType Ty = Step->Type; local [all...] |
H A D | SemaDecl.cpp | 235 ParsedType Ty = getTypeName(*NewII, NameLoc, S, NewSSPtr, local 239 if (Ty) { 254 return Ty; 389 const Type *Ty = SS->getScopeRep()->getAsType(); local 394 if (Context.hasSameUnqualifiedType(QualType(Ty, 1), Base->getType())) 1307 QualType Ty = VD->getType(); local 1310 if (const TypedefType *TT = Ty->getAs<TypedefType>()) { 1317 if (Ty->isIncompleteType() || Ty->isDependentType()) 1320 if (const TagType *TT = Ty 1925 QualType Ty; local 3763 QualType Ty = GetTypeFromParser(Name.ConversionFunctionId, &TInfo); local 3775 QualType Ty = GetTypeFromParser(Name.ConstructorName, &TInfo); local 3810 QualType Ty = GetTypeFromParser(Name.DestructorName, &TInfo); local 3831 getCoreType(QualType Ty) argument 4297 const Type *Ty = Qs.strip(T); local 8296 QualType Ty = VD->getType(); local [all...] |
/external/llvm/include/llvm/IR/ |
H A D | Module.h | 379 Constant *getOrInsertGlobal(StringRef Name, Type *Ty);
|
/external/llvm/lib/Analysis/IPA/ |
H A D | InlineCost.cpp | 286 Type *Ty = I.getAllocatedType(); local 287 AllocatedSize += (TD ? TD->getTypeAllocSize(Ty) : 288 Ty->getPrimitiveSizeInBits());
|
/external/llvm/lib/Transforms/IPO/ |
H A D | MergeFunctions.cpp | 78 static Type::TypeID getTypeIDForHash(Type *Ty) { argument 79 if (Ty->isPointerTy()) 81 return Ty->getTypeID();
|
H A D | GlobalOpt.cpp | 323 Type *Ty = Types.pop_back_val(); local 324 switch (Ty->getTypeID()) { 329 SequentialType *STy = cast<SequentialType>(Ty); 334 StructType *STy = cast<StructType>(Ty); 671 Type *Ty = Init->getType(); local 681 if (StructType *STy = dyn_cast<StructType>(Ty)) { 703 } else if (SequentialType *STy = dyn_cast<SequentialType>(Ty)) { 2727 Type *Ty = AI->getType()->getElementType(); local 2728 AllocaTmps.push_back(new GlobalVariable(Ty, false, 2730 UndefValue::get(Ty), [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSelect.cpp | 527 if (IntegerType *Ty = dyn_cast<IntegerType>(CmpLHS->getType())) { 528 if (TrueVal->getType() == Ty) { 540 Value *AShr = Builder->CreateAShr(CmpLHS, Ty->getBitWidth()-1);
|
H A D | InstCombineAddSub.cpp | 332 Value *FAddendCoef::getValue(Type *Ty) const { 334 ConstantFP::get(Ty, float(IntVal)) : 335 ConstantFP::get(Ty->getContext(), getFpVal()); 1286 Type *Ty) { 1348 return Builder->CreateIntCast(Result, Ty, true); 1285 OptimizePointerDifference(Value *LHS, Value *RHS, Type *Ty) argument
|
H A D | InstCombineSimplifyDemanded.cpp | 859 Type *Ty = VarX->getType(); local 861 APInt BitMask1(APInt::getAllOnesValue(Ty->getIntegerBitWidth())); 862 APInt BitMask2(APInt::getAllOnesValue(Ty->getIntegerBitWidth()));
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | BugReporterVisitors.cpp | 1426 QualType Ty = CondVarExpr->getType(); local 1428 if (Ty->isPointerType()) 1430 else if (Ty->isObjCObjectPointerType()) 1432 else if (Ty->isBooleanType()) 1434 else if (Ty->isIntegralOrEnumerationType())
|
/external/clang/lib/CodeGen/ |
H A D | CGObjCGNU.cpp | 194 llvm::GlobalVariable *MakeGlobal(llvm::StructType *Ty, argument 199 llvm::Constant *C = llvm::ConstantStruct::get(Ty, V); 200 return new llvm::GlobalVariable(TheModule, Ty, false, 206 llvm::GlobalVariable *MakeGlobal(llvm::ArrayType *Ty, argument 211 llvm::Constant *C = llvm::ConstantArray::get(Ty, V); 212 return new llvm::GlobalVariable(TheModule, Ty, false, 217 llvm::GlobalVariable *MakeGlobalArray(llvm::Type *Ty, argument 222 llvm::ArrayType *ArrayTy = llvm::ArrayType::get(Ty, V.size()); 276 llvm::Value* EnforceType(CGBuilderTy &B, llvm::Value *V, llvm::Type *Ty) { argument 277 if (V->getType() == Ty) retur [all...] |
H A D | CGClass.cpp | 1652 QualType Ty = E->getType(); local 1654 EmitAggregateCopy(This, Src, Ty); 1778 QualType Ty = getContext().getTagDeclType(Ctor->getParent()); local 1779 CharUnits Alignment = getContext().getTypeAlignInChars(Ty); 1995 llvm::Type *Ty) { 1996 llvm::Value *VTablePtrSrc = Builder.CreateBitCast(This, Ty->getPointerTo()); 1994 GetVTablePtr(llvm::Value *This, llvm::Type *Ty) argument
|
/external/clang/lib/Parse/ |
H A D | ParseObjc.cpp | 906 ParsedType Ty; local 920 Ty = type.get(); 933 Ty = Actions.ActOnObjCInstanceType(Tok.getLocation()); 949 return Ty; 2810 TypeResult Ty = ParseTypeName(); local 2814 if (Ty.isInvalid()) 2818 Ty.get(), T.getCloseLocation());
|
/external/llvm/lib/Bitcode/Writer/ |
H A D | BitcodeWriter.cpp | 980 Type *Ty = CFP->getType(); local 981 if (Ty->isHalfTy() || Ty->isFloatTy() || Ty->isDoubleTy()) { 983 } else if (Ty->isX86_FP80Ty()) { 990 } else if (Ty->isFP128Ty() || Ty->isPPC_FP128Ty()) {
|
/external/clang/lib/AST/ |
H A D | ItaniumMangle.cpp | 1865 const Type *ty = split.Ty; 3769 void ItaniumMangleContext::mangleCXXRTTI(QualType Ty, 3772 assert(!Ty.hasQualifiers() && "RTTI info cannot have top-level qualifiers"); 3775 Mangler.mangleType(Ty); 3778 void ItaniumMangleContext::mangleCXXRTTIName(QualType Ty, 3783 Mangler.mangleType(Ty);
|
H A D | ExprCXX.cpp | 58 const Type *Ty = QT.getTypePtr(); local 60 Ty = QT->getPointeeType().getTypePtr(); 62 Ty = cast<ArrayType>(QT)->getElementType().getTypePtr(); 65 CXXRecordDecl *RD = Ty->getAsCXXRecordDecl();
|
/external/llvm/lib/Transforms/ObjCARC/ |
H A D | ObjCARCOpts.cpp | 1449 Type *Ty = CI->getArgOperand(0)->getType(); local 1450 new StoreInst(UndefValue::get(cast<PointerType>(Ty)->getElementType()), 1451 Constant::getNullValue(Ty), 1468 Type *Ty = CI->getArgOperand(0)->getType(); local 1469 new StoreInst(UndefValue::get(cast<PointerType>(Ty)->getElementType()), 1470 Constant::getNullValue(Ty),
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | ScalarReplAggregates.cpp | 2534 static bool HasPadding(Type *Ty, const DataLayout &TD) { argument 2535 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { 2536 Ty = ATy->getElementType(); 2537 return TD.getTypeSizeInBits(Ty) != TD.getTypeAllocSizeInBits(Ty); 2541 StructType *STy = cast<StructType>(Ty);
|
/external/clang/include/clang/Sema/ |
H A D | DeclSpec.h | 941 /// \param Ty the type to which this conversion function is converting. 945 ParsedType Ty, 950 ConversionFunctionId = Ty; 1118 ParsedType Ty; member in struct:clang::DeclaratorChunk::TypeAndRange 944 setConversionFunctionId(SourceLocation OperatorLoc, ParsedType Ty, SourceLocation EndLoc) argument
|