/external/llvm/test/FrontendC++/ |
2005-02-27-PlacementArrayNewCrash.cpp | 4 typedef double Ty[4]; 6 void foo(Ty *XX) { 7 new(XX) Ty();
|
2006-09-12-OpaqueStructCrash.cpp | 7 template <typename Ty> 11 Ty* val; 14 template <typename Ty> 20 template <typename Ty> 24 B<C<Ty> > blocks;
|
2004-06-08-LateTemplateInstantiation.cpp | 5 template<typename Ty>
|
/external/llvm/bindings/ocaml/target/ |
target_ocaml.c | 42 LLVMTypeRef Ty) { 43 LLVMInvalidateStructLayout(TD, Ty); 64 CAMLprim value llvm_size_in_bits(LLVMTargetDataRef TD, LLVMTypeRef Ty) { 65 return caml_copy_int64(LLVMSizeOfTypeInBits(TD, Ty)); 69 CAMLprim value llvm_store_size(LLVMTargetDataRef TD, LLVMTypeRef Ty) { 70 return caml_copy_int64(LLVMStoreSizeOfType(TD, Ty)); 74 CAMLprim value llvm_abi_size(LLVMTargetDataRef TD, LLVMTypeRef Ty) { 75 return caml_copy_int64(LLVMABISizeOfType(TD, Ty)); 79 CAMLprim value llvm_abi_align(LLVMTargetDataRef TD, LLVMTypeRef Ty) { 80 return Val_int(LLVMABIAlignmentOfType(TD, Ty)); [all...] |
/external/clang/test/CodeGenCXX/ |
noinline-template.cpp | 8 template <class Ty> struct Vector {
|
/external/clang/lib/AST/ |
ASTDiagnostic.cpp | 28 const Type *Ty = QC.strip(QT); 31 if (const ElaboratedType *ET = dyn_cast<ElaboratedType>(Ty)) { 36 if (const ParenType *PT = dyn_cast<ParenType>(Ty)) { 42 dyn_cast<SubstTemplateTypeParmType>(Ty)) { 47 if (const AttributedType *AT = dyn_cast<AttributedType>(Ty)) { 52 if (const AutoType *AT = dyn_cast<AutoType>(Ty)) { 61 = dyn_cast<TemplateSpecializationType>(Ty)) 66 if (QualType(Ty,0) == Context.getObjCIdType() || 67 QualType(Ty,0) == Context.getObjCClassType() || 68 QualType(Ty,0) == Context.getObjCSelType() | [all...] |
/external/llvm/include/llvm/Target/ |
TargetData.h | 95 bool ABIAlign, Type *Ty) const; 97 unsigned getAlignment(Type *Ty, bool abi_or_pref) const; 205 uint64_t getTypeSizeInBits(Type* Ty) const; 210 uint64_t getTypeStoreSize(Type *Ty) const { 211 return (getTypeSizeInBits(Ty)+7)/8; 217 uint64_t getTypeStoreSizeInBits(Type *Ty) const { 218 return 8*getTypeStoreSize(Ty); 225 uint64_t getTypeAllocSize(Type* Ty) const { 227 return RoundUpAlignment(getTypeStoreSize(Ty), getABITypeAlignment(Ty)); [all...] |
/external/llvm/lib/Target/ |
Target.cpp | 59 unsigned long long LLVMSizeOfTypeInBits(LLVMTargetDataRef TD, LLVMTypeRef Ty) { 60 return unwrap(TD)->getTypeSizeInBits(unwrap(Ty)); 63 unsigned long long LLVMStoreSizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { 64 return unwrap(TD)->getTypeStoreSize(unwrap(Ty)); 67 unsigned long long LLVMABISizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { 68 return unwrap(TD)->getTypeAllocSize(unwrap(Ty)); 71 unsigned LLVMABIAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { 72 return unwrap(TD)->getABITypeAlignment(unwrap(Ty)); 75 unsigned LLVMCallFrameAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { 76 return unwrap(TD)->getCallFrameTypeAlignment(unwrap(Ty)); [all...] |
TargetData.cpp | 52 Type *Ty = ST->getElementType(i); 53 unsigned TyAlign = ST->isPacked() ? 1 : TD.getABITypeAlignment(Ty); 63 StructSize += TD.getTypeAllocSize(Ty); // Consume space for this data item 264 Type *Ty) const { 300 unsigned Align = getTypeAllocSize(cast<VectorType>(Ty)->getElementType()); 301 Align *= cast<VectorType>(Ty)->getNumElements(); 346 const StructLayout *TargetData::getStructLayout(StructType *Ty) const { 351 StructLayout *&SL = (*STM)[Ty]; 356 int NumElts = Ty->getNumElements(); 364 new (L) StructLayout(Ty, *this) [all...] |
/external/llvm/include/llvm/CodeGen/ |
Analysis.h | 36 unsigned ComputeLinearIndex(Type *Ty, 41 inline unsigned ComputeLinearIndex(Type *Ty, 44 return ComputeLinearIndex(Ty, Indices.begin(), Indices.end(), CurIndex); 54 void ComputeValueVTs(const TargetLowering &TLI, Type *Ty,
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
Execution.cpp | 48 #define IMPLEMENT_BINARY_OPERATOR(OP, TY) \ 49 case Type::TY##TyID: \ 50 Dest.TY##Val = Src1.TY##Val OP Src2.TY##Val; \ 54 GenericValue Src2, Type *Ty) { 55 switch (Ty->getTypeID()) { 59 dbgs() << "Unhandled type for FAdd instruction: " << *Ty << "\n"; 65 GenericValue Src2, Type *Ty) { 66 switch (Ty->getTypeID()) [all...] |
/external/llvm/lib/VMCore/ |
Constants.cpp | 66 Constant *Constant::getNullValue(Type *Ty) { 67 switch (Ty->getTypeID()) { 69 return ConstantInt::get(Ty, 0); 71 return ConstantFP::get(Ty->getContext(), 74 return ConstantFP::get(Ty->getContext(), 77 return ConstantFP::get(Ty->getContext(), 80 return ConstantFP::get(Ty->getContext(), 83 return ConstantFP::get(Ty->getContext(), 86 return ConstantPointerNull::get(cast<PointerType>(Ty)); 90 return ConstantAggregateZero::get(Ty); [all...] |
/external/valgrind/main/memcheck/tests/ |
sh-mem.c | 128 // 'Ty' is the type of the thing we are copying. It can be an integer 130 // will be the same as 'Ty' if 'ITy' is an integer type). 'ITy' is used 133 #define DO(NNN, Ty, ITy, isF4) \ 134 fprintf(stderr, "-- NNN: %d %s %s ------------------------\n", NNN, #Ty, #ITy); \ 140 size_t nN = n / sizeof(Ty); \ 141 Ty* aN = (Ty*)a; \ 142 Ty* bN = (Ty*)b; \ 143 Ty* aNb = (Ty*)(((U1*)aN) + h); /* set offset from a[] */ [all...] |
/external/llvm/include/llvm/ |
Constant.h | 46 Constant(Type *ty, ValueTy vty, Use *Ops, unsigned NumOps) 47 : User(ty, vty, Ops, NumOps) {} 131 static Constant *getNullValue(Type* Ty); 136 static Constant *getAllOnesValue(Type* Ty); 140 static Constant *getIntegerValue(Type* Ty, const APInt &V);
|
Constants.h | 50 ConstantInt(IntegerType *Ty, const APInt& V); 60 static Constant *getTrue(Type *Ty); 61 static Constant *getFalse(Type *Ty); 63 /// If Ty is a vector type, return a Constant with a splat of the given 65 static Constant *get(Type *Ty, uint64_t V, bool isSigned = false); 73 static ConstantInt *get(IntegerType *Ty, uint64_t V, 79 /// signed value for the type Ty. 81 static ConstantInt *getSigned(IntegerType *Ty, int64_t V); 82 static Constant *getSigned(Type *Ty, int64_t V); 90 static ConstantInt *get(IntegerType *Ty, StringRef Str [all...] |
/external/valgrind/main/mpi/ |
mpiwrap_type_test.c | 16 typedef MPI_Datatype Ty; 24 static Ty tycon_Contiguous ( int count, Ty t ) 26 Ty t2; 32 static Ty tycon_Struct2 ( int d1, int copies1, Ty t1, 33 int d2, int copies2, Ty t2 ) 37 Ty tys[2]; 38 Ty tres; 51 static Ty tycon_Vector ( int count, int blocklen, int stride, Ty t [all...] |
/external/clang/lib/CodeGen/ |
CodeGenTBAA.cpp | 104 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); 106 if (llvm::MDNode *N = MetadataCache[Ty]) 110 if (const BuiltinType *BTy = dyn_cast<BuiltinType>(Ty)) { 139 return MetadataCache[Ty] = 147 if (Ty->isPointerType()) 148 return MetadataCache[Ty] = getTBAAInfoForNamedType("any pointer", 153 if (const EnumType *ETy = dyn_cast<EnumType>(Ty)) { 160 return MetadataCache[Ty] = getChar(); 168 return MetadataCache[Ty] = getChar(); 176 return MetadataCache[Ty] = getTBAAInfoForNamedType(OutName, getChar()) [all...] |
CodeGenTypes.h | 136 bool isFuncTypeArgumentConvertible(QualType Ty); 165 const FunctionType *Ty) { 166 return getFunctionInfo(Ty->getResultType(), Args, 167 Ty->getExtInfo()); 170 const CGFunctionInfo &getFunctionInfo(CanQual<FunctionProtoType> Ty); 171 const CGFunctionInfo &getFunctionInfo(CanQual<FunctionNoProtoType> Ty); 198 llvm::StructType *Ty); 202 void addRecordTypeName(const RecordDecl *RD, llvm::StructType *Ty, 210 /// GetExpandedTypes - Expand the type \arg Ty into the LLVM 224 bool isRecordLayoutComplete(const Type *Ty) const [all...] |
CGDebugInfo.h | 80 llvm::DIType CreateType(const BuiltinType *Ty); 81 llvm::DIType CreateType(const ComplexType *Ty); 82 llvm::DIType CreateQualifiedType(QualType Ty, llvm::DIFile F); 83 llvm::DIType CreateType(const TypedefType *Ty, llvm::DIFile F); 84 llvm::DIType CreateType(const ObjCObjectPointerType *Ty, 86 llvm::DIType CreateType(const PointerType *Ty, llvm::DIFile F); 87 llvm::DIType CreateType(const BlockPointerType *Ty, llvm::DIFile F); 88 llvm::DIType CreateType(const FunctionType *Ty, llvm::DIFile F); 89 llvm::DIType CreateType(const TagType *Ty); 90 llvm::DIType CreateType(const RecordType *Ty); [all...] |
CGRTTI.cpp | 36 GetAddrOfTypeName(QualType Ty, llvm::GlobalVariable::LinkageTypes Linkage); 40 llvm::Constant *GetAddrOfExternalRTTIDescriptor(QualType Ty); 43 void BuildVTablePointer(const Type *Ty); 60 void BuildObjCObjectTypeInfo(const ObjCObjectType *Ty); 64 void BuildPointerToMemberTypeInfo(const MemberPointerType *Ty); 112 llvm::Constant *BuildTypeInfo(QualType Ty, bool Force = false); 117 RTTIBuilder::GetAddrOfTypeName(QualType Ty, 121 CGM.getCXXABI().getMangleContext().mangleCXXRTTIName(Ty, Out); 138 llvm::Constant *RTTIBuilder::GetAddrOfExternalRTTIDescriptor(QualType Ty) { 142 CGM.getCXXABI().getMangleContext().mangleCXXRTTI(Ty, Out) [all...] |
CodeGenTypes.cpp | 49 llvm::StructType *Ty, 77 Ty->setName(OS.str()); 99 bool CodeGenTypes::isRecordLayoutComplete(const Type *Ty) const { 101 RecordDeclTypes.find(Ty); 192 bool CodeGenTypes::isFuncTypeArgumentConvertible(QualType Ty) { 194 const TagType *TT = Ty->getAs<TagType>(); 284 const Type *Ty = T.getTypePtr(); 287 if (const RecordType *RT = dyn_cast<RecordType>(Ty)) 291 llvm::DenseMap<const Type *, llvm::Type *>::iterator TCI = TypeCache.find(Ty); 298 switch (Ty->getTypeClass()) [all...] |
/external/llvm/include/llvm/Analysis/ |
DIBuilder.h | 116 /// @param Ty Original type. 121 DIType createTypedef(DIType Ty, StringRef Name, DIFile File, 125 DIType createFriend(DIType Ty, DIType FriendTy); 129 /// @param Ty Original type. 130 /// @param BaseTy Base type. Ty is inherits from base. 134 DIType createInheritance(DIType Ty, DIType BaseTy, uint64_t BaseOffset, 146 /// @param Ty Parent type. 150 unsigned Flags, DIType Ty); 161 /// @param Ty Parent type. 170 unsigned Flags, DIType Ty, [all...] |
FindUsedTypes.h | 48 void IncorporateType(Type *Ty);
|
/external/llvm/include/llvm/ADT/ |
PointerIntPair.h | 125 typedef PointerIntPair<PointerTy, IntBits, IntType> Ty; 126 static Ty getEmptyKey() { 129 return Ty(reinterpret_cast<PointerTy>(Val), IntType((1 << IntBits)-1)); 131 static Ty getTombstoneKey() { 134 return Ty(reinterpret_cast<PointerTy>(Val), IntType(0)); 136 static unsigned getHashValue(Ty V) { 140 static bool isEqual(const Ty &LHS, const Ty &RHS) { return LHS == RHS; }
|
/external/llvm/lib/Analysis/IPA/ |
FindUsedTypes.cpp | 32 void FindUsedTypes::IncorporateType(Type *Ty) { 33 // If ty doesn't already exist in the used types map, add it now, otherwise 35 if (!UsedTypes.insert(Ty)) return; // Already contain Ty. 39 for (Type::subtype_iterator I = Ty->subtype_begin(), E = Ty->subtype_end();
|