/external/clang/test/CodeGenCXX/ |
H A D | 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;
|
H A D | 2004-06-08-LateTemplateInstantiation.cpp | 4 template<typename Ty>
|
H A D | noinline-template.cpp | 8 template <class Ty> struct Vector {
|
/external/llvm/bindings/ocaml/target/ |
H A D | target_ocaml.c | 57 CAMLprim value llvm_size_in_bits(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument 58 return caml_copy_int64(LLVMSizeOfTypeInBits(TD, Ty)); 62 CAMLprim value llvm_store_size(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument 63 return caml_copy_int64(LLVMStoreSizeOfType(TD, Ty)); 67 CAMLprim value llvm_abi_size(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument 68 return caml_copy_int64(LLVMABISizeOfType(TD, Ty)); 72 CAMLprim value llvm_abi_align(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument 73 return Val_int(LLVMABIAlignmentOfType(TD, Ty)); 77 CAMLprim value llvm_stack_align(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument 78 return Val_int(LLVMCallFrameAlignmentOfType(TD, Ty)); 82 llvm_preferred_align(LLVMTargetDataRef TD, LLVMTypeRef Ty) argument 93 llvm_element_at_offset(LLVMTargetDataRef TD, LLVMTypeRef Ty, value Offset) argument 99 llvm_offset_of_element(LLVMTargetDataRef TD, LLVMTypeRef Ty, value Index) argument [all...] |
/external/llvm/include/llvm/Target/ |
H A D | TargetData.h | 103 bool ABIAlign, Type *Ty) const; 105 unsigned getAlignment(Type *Ty, bool abi_or_pref) const; 226 uint64_t getTypeSizeInBits(Type* Ty) const; 231 uint64_t getTypeStoreSize(Type *Ty) const { 232 return (getTypeSizeInBits(Ty)+7)/8; 238 uint64_t getTypeStoreSizeInBits(Type *Ty) const { 239 return 8*getTypeStoreSize(Ty); 246 uint64_t getTypeAllocSize(Type* Ty) const { 248 return RoundUpAlignment(getTypeStoreSize(Ty), getABITypeAlignment(Ty)); [all...] |
/external/llvm/lib/Target/ |
H A D | Target.cpp | 65 unsigned long long LLVMSizeOfTypeInBits(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument 66 return unwrap(TD)->getTypeSizeInBits(unwrap(Ty)); 69 unsigned long long LLVMStoreSizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument 70 return unwrap(TD)->getTypeStoreSize(unwrap(Ty)); 73 unsigned long long LLVMABISizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument 74 return unwrap(TD)->getTypeAllocSize(unwrap(Ty)); 77 unsigned LLVMABIAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument 78 return unwrap(TD)->getABITypeAlignment(unwrap(Ty)); 81 unsigned LLVMCallFrameAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument 82 return unwrap(TD)->getCallFrameTypeAlignment(unwrap(Ty)); 85 LLVMPreferredAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) argument [all...] |
H A D | TargetData.cpp | 52 Type *Ty = ST->getElementType(i); local 53 unsigned TyAlign = ST->isPacked() ? 1 : TD.getABITypeAlignment(Ty); 63 StructSize += TD.getTypeAllocSize(Ty); // Consume space for this data item 335 Type *Ty) const { 371 unsigned Align = getTypeAllocSize(cast<VectorType>(Ty)->getElementType()); 372 Align *= cast<VectorType>(Ty)->getNumElements(); 417 const StructLayout *TargetData::getStructLayout(StructType *Ty) const { 422 StructLayout *&SL = (*STM)[Ty]; 427 int NumElts = Ty->getNumElements(); 435 new (L) StructLayout(Ty, *thi 511 getAlignment(Type *Ty, bool abi_or_pref) const argument 599 Type *Ty = ptrTy; local [all...] |
/external/clang/lib/CodeGen/ |
H A D | CodeGenTBAA.cpp | 88 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); local 90 if (llvm::MDNode *N = MetadataCache[Ty]) 94 if (const BuiltinType *BTy = dyn_cast<BuiltinType>(Ty)) { 123 return MetadataCache[Ty] = 131 if (Ty->isPointerType()) 132 return MetadataCache[Ty] = MDHelper.createTBAANode("any pointer", 137 if (const EnumType *ETy = dyn_cast<EnumType>(Ty)) { 144 return MetadataCache[Ty] = getChar(); 152 return MetadataCache[Ty] = getChar(); 160 return MetadataCache[Ty] [all...] |
H A D | CGDebugInfo.h | 88 llvm::DIType CreateType(const BuiltinType *Ty); 89 llvm::DIType CreateType(const ComplexType *Ty); 90 llvm::DIType CreateQualifiedType(QualType Ty, llvm::DIFile F); 91 llvm::DIType CreateType(const TypedefType *Ty, llvm::DIFile F); 92 llvm::DIType CreateType(const ObjCObjectPointerType *Ty, 94 llvm::DIType CreateType(const PointerType *Ty, llvm::DIFile F); 95 llvm::DIType CreateType(const BlockPointerType *Ty, llvm::DIFile F); 96 llvm::DIType CreateType(const FunctionType *Ty, llvm::DIFile F); 97 llvm::DIType CreateType(const RecordType *Ty); 98 llvm::DIType CreateLimitedType(const RecordType *Ty); [all...] |
H A D | TargetInfo.cpp | 65 if (llvm::Type *Ty = getCoerceToType()) 66 Ty->print(OS); 268 static bool is32Or64BitBasicType(QualType Ty, ASTContext &Context) { argument 269 if (!Ty->getAs<BuiltinType>() && !Ty->hasPointerRepresentation() && 270 !Ty->isAnyComplexType() && !Ty->isEnumeralType() && 271 !Ty->isBlockPointerType()) 274 uint64_t Size = Context.getTypeSize(Ty); 287 static bool canExpandIndirectArgument(QualType Ty, ASTContex argument 354 EmitVAArg(llvm::Value *VAListAddr, QualType Ty, CodeGenFunction &CGF) const argument 424 EmitVAArg(llvm::Value *VAListAddr, QualType Ty, CodeGenFunction &CGF) const argument 429 classifyArgumentType(QualType Ty, unsigned &FreeRegs) const argument 486 X86AdjustInlineAsmType(CodeGen::CodeGenFunction &CGF, StringRef Constraint, llvm::Type* Ty) argument 578 shouldReturnTypeInRegister(QualType Ty, ASTContext &Context, unsigned callingConvention) argument 717 isSSEVectorType(ASTContext &Context, QualType Ty) argument 721 isRecordWithSSEVectorType(ASTContext &Context, QualType Ty) argument 748 getTypeStackAlignInBytes(QualType Ty, unsigned Align) const argument 769 getIndirectResult(QualType Ty, bool ByVal) const argument 802 classifyArgumentTypeWithReg(QualType Ty, unsigned &FreeRegs) const argument 922 EmitVAArg(llvm::Value *VAListAddr, QualType Ty, CodeGenFunction &CGF) const argument 1305 classify(QualType Ty, uint64_t OffsetBase, Class &Lo, Class &Hi) const argument [all...] |
H A D | CGRTTI.cpp | 34 GetAddrOfTypeName(QualType Ty, llvm::GlobalVariable::LinkageTypes Linkage); 38 llvm::Constant *GetAddrOfExternalRTTIDescriptor(QualType Ty); 41 void BuildVTablePointer(const Type *Ty); 58 void BuildObjCObjectTypeInfo(const ObjCObjectType *Ty); 62 void BuildPointerToMemberTypeInfo(const MemberPointerType *Ty); 108 llvm::Constant *BuildTypeInfo(QualType Ty, bool Force = false); 113 RTTIBuilder::GetAddrOfTypeName(QualType Ty, argument 117 CGM.getCXXABI().getMangleContext().mangleCXXRTTIName(Ty, Out); 135 llvm::Constant *RTTIBuilder::GetAddrOfExternalRTTIDescriptor(QualType Ty) { argument 139 CGM.getCXXABI().getMangleContext().mangleCXXRTTI(Ty, Ou 158 TypeInfoIsInStandardLibrary(const BuiltinType *Ty) argument 230 IsStandardLibraryRTTIDescriptor(QualType Ty) argument 247 ShouldUseExternalRTTIDescriptor(CodeGenModule &CGM, QualType Ty) argument 283 ContainsIncompleteClassType(QualType Ty) argument 308 getTypeInfoLinkage(CodeGenModule &CGM, QualType Ty) argument 377 BuildVTablePointer(const Type *Ty) argument 516 maybeUpdateRTTILinkage(CodeGenModule &CGM, llvm::GlobalVariable *GV, QualType Ty) argument 549 BuildTypeInfo(QualType Ty, bool Force) argument 934 BuildPointerToMemberTypeInfo(const MemberPointerType *Ty) argument 975 GetAddrOfRTTIDescriptor(QualType Ty, bool ForEH) argument [all...] |
H A D | CodeGenTypes.cpp | 51 llvm::StructType *Ty, 79 Ty->setName(OS.str()); 101 bool CodeGenTypes::isRecordLayoutComplete(const Type *Ty) const { 103 RecordDeclTypes.find(Ty); 194 bool CodeGenTypes::isFuncTypeArgumentConvertible(QualType Ty) { argument 196 const TagType *TT = Ty->getAs<TagType>(); 285 const Type *Ty = T.getTypePtr(); local 288 if (const RecordType *RT = dyn_cast<RecordType>(Ty)) 292 llvm::DenseMap<const Type *, llvm::Type *>::iterator TCI = TypeCache.find(Ty); 299 switch (Ty 50 addRecordTypeName(const RecordDecl *RD, llvm::StructType *Ty, StringRef suffix) argument 583 llvm::StructType *Ty = Entry; local [all...] |
/external/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | Execution.cpp | 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()) { 70 dbgs() << "Unhandled type for FSub instruction: " << *Ty << "\n"; 76 GenericValue Src2, Type *Ty) { 77 switch (Ty->getTypeID()) { 81 dbgs() << "Unhandled type for FMul instruction: " << *Ty << "\n"; 87 GenericValue Src2, Type *Ty) { 53 executeFAddInst(GenericValue &Dest, GenericValue Src1, GenericValue Src2, Type *Ty) argument 64 executeFSubInst(GenericValue &Dest, GenericValue Src1, GenericValue Src2, Type *Ty) argument 75 executeFMulInst(GenericValue &Dest, GenericValue Src1, GenericValue Src2, Type *Ty) argument 86 executeFDivInst(GenericValue &Dest, GenericValue Src1, GenericValue Src2, Type *Ty) argument 97 executeFRemInst(GenericValue &Dest, GenericValue Src1, GenericValue Src2, Type *Ty) argument 127 executeICMP_EQ(GenericValue Src1, GenericValue Src2, Type *Ty) argument 140 executeICMP_NE(GenericValue Src1, GenericValue Src2, Type *Ty) argument 153 executeICMP_ULT(GenericValue Src1, GenericValue Src2, Type *Ty) argument [all...] |
/external/valgrind/main/memcheck/tests/ |
H A D | 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* aN [all...] |
/external/llvm/unittests/Analysis/ |
H A D | ScalarEvolutionTest.cpp | 46 Type *Ty = Type::getInt1Ty(Context); local 47 Constant *Init = Constant::getNullValue(Ty); 48 Value *V0 = new GlobalVariable(M, Ty, false, GlobalValue::ExternalLinkage, Init, "V0"); 49 Value *V1 = new GlobalVariable(M, Ty, false, GlobalValue::ExternalLinkage, Init, "V1"); 50 Value *V2 = new GlobalVariable(M, Ty, false, GlobalValue::ExternalLinkage, Init, "V2"); 91 Type *Ty = Type::getInt32Ty(Context); local 93 Types.append(10, Ty); 161 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 2), A[1], B[1])); 163 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 2), A[2], B[1])); 164 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, [all...] |
/external/valgrind/main/mpi/ |
H A D | mpiwrap_type_test.c | 16 typedef MPI_Datatype Ty; typedef 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_Vecto [all...] |
/external/llvm/include/llvm/ADT/ |
H A D | STLExtras.h | 32 template<class Ty> 33 struct identity : public std::unary_function<Ty, Ty> { 34 Ty &operator()(Ty &self) const { 37 const Ty &operator()(const Ty &self) const { 42 template<class Ty> 43 struct less_ptr : public std::binary_function<Ty, Ty, boo [all...] |
H A D | PointerIntPair.h | 136 typedef PointerIntPair<PointerTy, IntBits, IntType> Ty; 137 static Ty getEmptyKey() { 140 return Ty(reinterpret_cast<PointerTy>(Val), IntType((1 << IntBits)-1)); 142 static Ty getTombstoneKey() { 145 return Ty(reinterpret_cast<PointerTy>(Val), IntType(0)); 147 static unsigned getHashValue(Ty V) { 151 static bool isEqual(const Ty &LHS, const Ty &RHS) { return LHS == RHS; }
|
/external/llvm/lib/VMCore/ |
H A D | Constants.cpp | 90 Constant *Constant::getNullValue(Type *Ty) { argument 91 switch (Ty->getTypeID()) { 93 return ConstantInt::get(Ty, 0); 95 return ConstantFP::get(Ty->getContext(), 98 return ConstantFP::get(Ty->getContext(), 101 return ConstantFP::get(Ty->getContext(), 104 return ConstantFP::get(Ty->getContext(), 107 return ConstantFP::get(Ty->getContext(), 110 return ConstantFP::get(Ty->getContext(), 113 return ConstantPointerNull::get(cast<PointerType>(Ty)); 124 getIntegerValue(Type *Ty, const APInt &V) argument 141 getAllOnesValue(Type *Ty) argument 374 ConstantInt(IntegerType *Ty, const APInt& V) argument 393 getTrue(Type *Ty) argument 405 getFalse(Type *Ty) argument 433 get(Type *Ty, uint64_t V, bool isSigned) argument 443 get(IntegerType *Ty, uint64_t V, bool isSigned) argument 448 getSigned(IntegerType *Ty, int64_t V) argument 452 getSigned(Type *Ty, int64_t V) argument 456 get(Type *Ty, const APInt& V) argument 468 get(IntegerType* Ty, StringRef Str, uint8_t radix) argument 477 TypeToFloatSemantics(Type *Ty) argument 498 get(Type *Ty, double V) argument 515 get(Type *Ty, StringRef Str) argument 529 getNegativeZero(Type *Ty) argument 537 getZeroValueForNegation(Type *Ty) argument 559 Type *Ty; local 581 getInfinity(Type *Ty, bool Negative) argument 587 ConstantFP(Type *Ty, const APFloat& V) argument 688 get(ArrayType *Ty, ArrayRef<Constant*> V) argument 1101 isValueValidForType(Type *Ty, uint64_t Val) argument 1111 isValueValidForType(Type *Ty, int64_t Val) argument 1122 isValueValidForType(Type *Ty, const APFloat& Val) argument 1173 get(Type *Ty) argument 1231 get(PointerType *Ty) argument 1251 get(Type *Ty) argument 1346 getFoldedCast( Instruction::CastOps opc, Constant *C, Type *Ty) argument 1362 getCast(unsigned oc, Constant *C, Type *Ty) argument 1386 getZExtOrBitCast(Constant *C, Type *Ty) argument 1392 getSExtOrBitCast(Constant *C, Type *Ty) argument 1398 getTruncOrBitCast(Constant *C, Type *Ty) argument 1404 getPointerCast(Constant *S, Type *Ty) argument 1413 getIntegerCast(Constant *C, Type *Ty, bool isSigned) argument 1426 getFPCast(Constant *C, Type *Ty) argument 1438 getTrunc(Constant *C, Type *Ty) argument 1452 getSExt(Constant *C, Type *Ty) argument 1466 getZExt(Constant *C, Type *Ty) argument 1480 getFPTrunc(Constant *C, Type *Ty) argument 1492 getFPExtend(Constant *C, Type *Ty) argument 1504 getUIToFP(Constant *C, Type *Ty) argument 1515 getSIToFP(Constant *C, Type *Ty) argument 1526 getFPToUI(Constant *C, Type *Ty) argument 1537 getFPToSI(Constant *C, Type *Ty) argument 1661 getSizeOf(Type* Ty) argument 1671 getAlignOf(Type* Ty) argument 1690 getOffsetOf(Type* Ty, Constant *FieldNo) argument 2013 getBinOpIdentity(unsigned Opcode, Type *Ty) argument 2036 getBinOpAbsorber(unsigned Opcode, Type *Ty) argument 2094 isElementTypeCompatible(const Type *Ty) argument 2215 Type *Ty = ArrayType::get(Type::getInt8Ty(Context), Elts.size()); local 2220 Type *Ty = ArrayType::get(Type::getInt16Ty(Context), Elts.size()); local 2225 Type *Ty = ArrayType::get(Type::getInt32Ty(Context), Elts.size()); local 2230 Type *Ty = ArrayType::get(Type::getInt64Ty(Context), Elts.size()); local 2235 Type *Ty = ArrayType::get(Type::getFloatTy(Context), Elts.size()); local 2240 Type *Ty = ArrayType::get(Type::getDoubleTy(Context), Elts.size()); local 2268 Type *Ty = VectorType::get(Type::getInt8Ty(Context), Elts.size()); local 2273 Type *Ty = VectorType::get(Type::getInt16Ty(Context), Elts.size()); local 2278 Type *Ty = VectorType::get(Type::getInt32Ty(Context), Elts.size()); local 2283 Type *Ty = VectorType::get(Type::getInt64Ty(Context), Elts.size()); local 2288 Type *Ty = VectorType::get(Type::getFloatTy(Context), Elts.size()); local 2293 Type *Ty = VectorType::get(Type::getDoubleTy(Context), Elts.size()); local [all...] |
/external/llvm/include/llvm/CodeGen/ |
H A D | Analysis.h | 37 unsigned ComputeLinearIndex(Type *Ty, 42 inline unsigned ComputeLinearIndex(Type *Ty, argument 45 return ComputeLinearIndex(Ty, Indices.begin(), Indices.end(), CurIndex); 55 void ComputeValueVTs(const TargetLowering &TLI, Type *Ty,
|
/external/llvm/include/llvm/Transforms/IPO/ |
H A D | PassManagerBuilder.h | 118 static void addGlobalExtension(ExtensionPointTy Ty, ExtensionFn Fn); 119 void addExtension(ExtensionPointTy Ty, ExtensionFn Fn); 142 RegisterStandardPasses(PassManagerBuilder::ExtensionPointTy Ty, argument 144 PassManagerBuilder::addGlobalExtension(Ty, Fn);
|
/external/llvm/include/llvm/ |
H A D | DIBuilder.h | 134 /// @param Ty Original type. 139 DIType createTypedef(DIType Ty, StringRef Name, DIFile File, 143 DIType createFriend(DIType Ty, DIType FriendTy); 147 /// @param Ty Original type. 148 /// @param BaseTy Base type. Ty is inherits from base. 152 DIType createInheritance(DIType Ty, DIType BaseTy, uint64_t BaseOffset, 164 /// @param Ty Parent type. 168 unsigned Flags, DIType Ty); 179 /// @param Ty Parent type. 190 unsigned Flags, DIType Ty, [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | ConstraintManager.cpp | 37 QualType Ty = Sym->getType(Mgr.getContext()); local 38 DefinedSVal V = Loc::isLocType(Ty) ? getLocFromSymbol(State, Sym)
|
/external/llvm/lib/Analysis/IPA/ |
H A D | FindUsedTypes.cpp | 32 void FindUsedTypes::IncorporateType(Type *Ty) { argument 35 if (!UsedTypes.insert(Ty)) return; // Already contain Ty. 39 for (Type::subtype_iterator I = Ty->subtype_begin(), E = Ty->subtype_end();
|
/external/llvm/lib/Analysis/ |
H A D | ScalarEvolutionExpander.cpp | 27 /// ReuseOrCreateCast - Arrange for there to be a cast of V to Ty at IP, 31 Value *SCEVExpander::ReuseOrCreateCast(Value *V, Type *Ty, argument 51 if (U->getType() == Ty) 61 Ret = CastInst::Create(Op, V, Ty, "", IP); 74 Ret = CastInst::Create(Op, V, Ty, V->getName(), IP); 88 Value *SCEVExpander::InsertNoopCastOfTo(Value *V, Type *Ty) { argument 89 Instruction::CastOps Op = CastInst::getCastOpcode(V, false, Ty, false); 94 assert(SE.getTypeSizeInBits(V->getType()) == SE.getTypeSizeInBits(Ty) && 99 if (V->getType() == Ty) 102 if (CI->getOperand(0)->getType() == Ty) 309 SimplifyAddOperands(SmallVectorImpl<const SCEV *> &Ops, Type *Ty, ScalarEvolution &SE) argument 338 SplitAddRecs(SmallVectorImpl<const SCEV *> &Ops, Type *Ty, ScalarEvolution &SE) argument 396 expandAddToGEP(const SCEV *const *op_begin, const SCEV *const *op_end, PointerType *PTy, Type *Ty, Value *V) argument 711 Type *Ty = SE.getEffectiveSCEVType(S->getType()); local 782 Type *Ty = SE.getEffectiveSCEVType(S->getType()); local 824 Type *Ty = SE.getEffectiveSCEVType(S->getType()); local 1404 Type *Ty = SE.getEffectiveSCEVType(S->getType()); local 1413 Type *Ty = SE.getEffectiveSCEVType(S->getType()); local 1422 Type *Ty = SE.getEffectiveSCEVType(S->getType()); local 1432 Type *Ty = LHS->getType(); local 1456 Type *Ty = LHS->getType(); local 1478 expandCodeFor(const SCEV *SH, Type *Ty, Instruction *IP) argument 1484 expandCodeFor(const SCEV *SH, Type *Ty) argument 1567 getOrInsertCanonicalInductionVariable(const Loop *L, Type *Ty) argument [all...] |