/external/llvm/lib/VMCore/ |
Type.cpp | 78 // 'Ty' without any reinterpretation of bits. For example, i8* to i32*. 80 bool Type::canLosslesslyBitCastTo(Type *Ty) const { 82 if (this == Ty) 86 if (!this->isFirstClassType() || !Ty->isFirstClassType()) 93 if (const VectorType *thatPTy = dyn_cast<VectorType>(Ty)) 95 if (Ty->getTypeID() == Type::X86_MMXTyID && 101 if (const VectorType *thatPTy = dyn_cast<VectorType>(Ty)) 109 return Ty->isPointerTy();
|
/external/llvm/lib/ExecutionEngine/ |
ExecutionEngine.cpp | 848 GenericValue *Ptr, Type *Ty) { 849 const unsigned StoreBytes = getTargetData()->getTypeStoreSize(Ty); 851 switch (Ty->getTypeID()) { 872 dbgs() << "Cannot store value of type " << *Ty << "!\n"; [all...] |
/external/clang/lib/CodeGen/ |
CGExprCXX.cpp | 241 llvm::Type *Ty 257 Callee = BuildVirtualCall(Dtor, Dtor_Complete, This, Ty); 262 Callee = BuildAppleKextVirtualCall(MD, ME->getQualifier(), Ty); 264 Callee = CGM.GetAddrOfFunction(GlobalDecl(Dtor, Dtor_Complete), Ty); 268 Callee = CGM.GetAddrOfFunction(GlobalDecl(Ctor, Ctor_Complete), Ty); 270 Callee = BuildVirtualCall(MD, This, Ty); 275 Callee = BuildAppleKextVirtualCall(MD, ME->getQualifier(), Ty); 277 Callee = CGM.GetAddrOfFunction(MD, Ty); 341 QualType Ty = E->getType(); 342 EmitAggregateCopy(This, Src, Ty); [all...] |
CGExprScalar.cpp | 46 QualType Ty; // Computation Type. 111 Value *EmitNullValue(QualType Ty); 407 if (Ops.Ty->isSignedIntegerOrEnumerationType()) { 690 Value *ScalarExprEmitter::EmitNullValue(QualType Ty) { 691 if (const MemberPointerType *MPT = Ty->getAs<MemberPointerType>()) 694 return llvm::Constant::getNullValue(ConvertType(Ty)); [all...] |
/external/llvm/lib/Target/PowerPC/ |
PPCISelLowering.h | 326 unsigned getByValTypeAlignment(Type *Ty) const; 337 virtual bool isLegalAddressingMode(const AddrMode &AM, Type *Ty)const; 342 virtual bool isLegalAddressImmediate(int64_t V, Type *Ty) const;
|
/external/clang/include/clang/AST/ |
ExprCXX.h | 163 CXXNamedCastExpr(StmtClass SC, QualType ty, ExprValueKind VK, 167 : ExplicitCastExpr(SC, ty, VK, kind, op, PathSize, writtenTy), Loc(l), 207 CXXStaticCastExpr(QualType ty, ExprValueKind vk, CastKind kind, Expr *op, 210 : CXXNamedCastExpr(CXXStaticCastExprClass, ty, vk, kind, op, pathSize, 238 CXXDynamicCastExpr(QualType ty, ExprValueKind VK, CastKind kind, 241 : CXXNamedCastExpr(CXXDynamicCastExprClass, ty, VK, kind, op, pathSize, 272 CXXReinterpretCastExpr(QualType ty, ExprValueKind vk, CastKind kind, 276 : CXXNamedCastExpr(CXXReinterpretCastExprClass, ty, vk, kind, op, 303 CXXConstCastExpr(QualType ty, ExprValueKind VK, Expr *op, 306 : CXXNamedCastExpr(CXXConstCastExprClass, ty, VK, CK_NoOp, op, [all...] |
/external/clang/lib/Sema/ |
SemaCXXScopeSpec.cpp | 33 const Type *Ty = T->getCanonicalTypeInternal().getTypePtr(); 34 if (const RecordType *RecordTy = dyn_cast<RecordType>(Ty)) { 47 } else if (isa<InjectedClassNameType>(Ty)) 48 return cast<InjectedClassNameType>(Ty)->getDecl(); [all...] |
SemaExprCXX.cpp | 389 const Type *Ty = QT.getTypePtr();; 391 Ty = QT->getPointeeType().getTypePtr(); 393 Ty = cast<ArrayType>(QT)->getElementType().getTypePtr(); 396 CXXRecordDecl *RD = Ty->getAsCXXRecordDecl(); 563 QualType Ty = E->getType(); 565 if (const PointerType* Ptr = Ty->getAs<PointerType>()) { 566 Ty = Ptr->getPointeeType(); 569 if (!isPointer || !Ty->isVoidType()) { 570 if (RequireCompleteType(ThrowLoc, Ty, 611 const RecordType *RecordTy = Ty->getAs<RecordType>() [all...] |
SemaType.cpp | [all...] |
Sema.cpp | 239 ExprResult Sema::ImpCastExprToType(Expr *E, QualType Ty, 244 QualType TypeTy = Context.getCanonicalType(Ty); 250 CheckObjCARCConversion(SourceRange(), Ty, E, CCK); 266 ImpCast->setType(Ty); 272 return Owned(ImplicitCastExpr::Create(Context, Ty, Kind, E, BasePath, VK)); [all...] |
/external/llvm/include/llvm/ |
Attributes.h | 109 Attributes typeIncompatible(Type *Ty);
|
Module.h | 314 FunctionType *Ty, 346 Constant *getOrInsertGlobal(StringRef Name, Type *Ty);
|
/external/llvm/lib/Transforms/Utils/ |
LowerInvoke.cpp | 308 Type *Ty = AI->getType(); 312 if (isa<StructType>(Ty) || isa<ArrayType>(Ty) || isa<VectorType>(Ty)) {
|
/external/llvm/lib/Transforms/InstCombine/ |
InstructionCombining.cpp | 732 Type *InstCombiner::FindElementAtOffset(Type *Ty, int64_t Offset, 735 if (!Ty->isSized()) return 0; 740 Type *IntPtrTy = TD->getIntPtrType(Ty->getContext()); 742 if (int64_t TySize = TD->getTypeAllocSize(Ty)) { 760 if (uint64_t(Offset*8) >= TD->getTypeSizeInBits(Ty)) 763 if (StructType *STy = dyn_cast<StructType>(Ty)) { 769 NewIndices.push_back(ConstantInt::get(Type::getInt32Ty(Ty->getContext()), 773 Ty = STy->getElementType(Elt); 774 } else if (ArrayType *AT = dyn_cast<ArrayType>(Ty)) { 779 Ty = AT->getElementType() [all...] |
InstCombineCompares.cpp | 181 "Ty, KnownZero, KnownOne and Min, Max must have equal bitwidth."); 445 Type *Ty; 447 Ty = Type::getInt32Ty(Init->getContext()); 449 Ty = Type::getInt64Ty(Init->getContext()); 450 Value *V = Builder->CreateIntCast(Idx, Ty, false); 451 V = Builder->CreateLShr(ConstantInt::get(Ty, MagicBitvector), V); 452 V = Builder->CreateAnd(ConstantInt::get(Ty, 1), V); 453 return new ICmpInst(ICmpInst::ICMP_NE, V, ConstantInt::get(Ty, 0)); [all...] |
/external/llvm/include/llvm/Analysis/ |
ScalarEvolutionExpressions.h | 60 Type *Ty; 63 unsigned SCEVTy, const SCEV *op, Type *ty); 67 Type *getType() const { return Ty; } 86 const SCEV *op, Type *ty); 104 const SCEV *op, Type *ty); 122 const SCEV *op, Type *ty);
|
/external/llvm/include/llvm/ExecutionEngine/ |
ExecutionEngine.h | 311 /// StoreValueToMemory - Stores the data in Val of type Ty at address Ptr. 316 Type *Ty); 442 Type *Ty);
|
/external/llvm/lib/Analysis/ |
AliasAnalysis.cpp | 384 uint64_t AliasAnalysis::getTypeStoreSize(Type *Ty) { 385 return TD ? TD->getTypeStoreSize(Ty) : UnknownSize;
|
DebugInfo.cpp | 422 DICompositeType Ty = getType(); 423 if (!Ty.Verify()) 439 DIType Ty = getType(); 440 if (!Ty.Verify()) 457 DIType Ty = getType(); 458 if (!Ty.Verify()) [all...] |
/external/clang/lib/AST/ |
DeclPrinter.cpp | 397 QualType Ty = D->getType(); 398 while (const ParenType *PT = dyn_cast<ParenType>(Ty)) { 400 Ty = PT->getInnerType(); 403 if (isa<FunctionType>(Ty)) { 404 const FunctionType *AFT = Ty->getAs<FunctionType>(); 541 Ty.getAsStringInternal(Proto, Policy);
|
Type.cpp | 46 const Type* ty = getTypePtr(); local 48 if (ty->isPointerType() || ty->isReferenceType()) 49 return ty->getPointeeType().getBaseTypeIdentifier(); 50 else if (ty->isRecordType()) 51 ND = ty->getAs<RecordType>()->getDecl(); 52 else if (ty->isEnumeralType()) 53 ND = ty->getAs<EnumType>()->getDecl(); 54 else if (ty->getTypeClass() == Type::Typedef) 55 ND = ty->getAs<TypedefType>()->getDecl() 1202 const Type *ty = getTypePtr(); local [all...] |
CXXInheritance.cpp | 129 const RecordType *Ty = I->getType()->getAs<RecordType>(); 130 if (!Ty) { 137 cast_or_null<CXXRecordDecl>(Ty->getDecl()->getDefinition());
|
/external/clang/tools/libclang/ |
CXCursor.cpp | 888 QualType Ty = Type->getType(); 892 if (const ElaboratedType *ElabT = Ty->getAs<ElaboratedType>()) { 893 Ty = ElabT->getNamedType(); 898 if (const TypedefType *Typedef = Ty->getAs<TypedefType>()) 900 if (const TagType *Tag = Ty->getAs<TagType>()) 902 if (const TemplateTypeParmType *TemplP = Ty->getAs<TemplateTypeParmType>()) [all...] |
/external/clang/lib/Parse/ |
Parser.cpp | [all...] |
/frameworks/compile/libbcc/lib/CodeGen/ |
CodeEmitter.cpp | 170 llvm::Type *Ty = CPE.getType(); 171 Size += mpTD->getTypeAllocSize(Ty); 595 // Stores the data in @Val of type @Ty at address @Addr. 598 llvm::Type *Ty) { 599 const unsigned int StoreBytes = mpTD->getTypeStoreSize(Ty); 601 switch (Ty->getTypeID()) { 769 llvm::Type *Ty = CPE.Val.ConstVal->getType(); 770 Offset += mpTD->getTypeAllocSize(Ty); [all...] |