HomeSort by relevance Sort by last modified time
    Searched refs:Ty (Results 1 - 25 of 272) sorted by null

1 2 3 4 5 6 7 8 91011

  /external/clang/test/CodeGenCXX/
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 4 template<typename Ty>
noinline-template.cpp 8 template <class Ty> struct Vector {
  /external/llvm/bindings/ocaml/target/
target_ocaml.c 57 CAMLprim value llvm_size_in_bits(LLVMTargetDataRef TD, LLVMTypeRef Ty) {
58 return caml_copy_int64(LLVMSizeOfTypeInBits(TD, Ty));
62 CAMLprim value llvm_store_size(LLVMTargetDataRef TD, LLVMTypeRef Ty) {
63 return caml_copy_int64(LLVMStoreSizeOfType(TD, Ty));
67 CAMLprim value llvm_abi_size(LLVMTargetDataRef TD, LLVMTypeRef Ty) {
68 return caml_copy_int64(LLVMABISizeOfType(TD, Ty));
72 CAMLprim value llvm_abi_align(LLVMTargetDataRef TD, LLVMTypeRef Ty) {
73 return Val_int(LLVMABIAlignmentOfType(TD, Ty));
77 CAMLprim value llvm_stack_align(LLVMTargetDataRef TD, LLVMTypeRef Ty) {
78 return Val_int(LLVMCallFrameAlignmentOfType(TD, Ty));
    [all...]
  /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 103 bool ABIAlign, Type *Ty) const;
105 unsigned getAlignment(Type *Ty, bool abi_or_pref) const;
218 uint64_t getTypeSizeInBits(Type* Ty) const;
223 uint64_t getTypeStoreSize(Type *Ty) const {
224 return (getTypeSizeInBits(Ty)+7)/8;
230 uint64_t getTypeStoreSizeInBits(Type *Ty) const {
231 return 8*getTypeStoreSize(Ty);
238 uint64_t getTypeAllocSize(Type* Ty) const {
240 return RoundUpAlignment(getTypeStoreSize(Ty), getABITypeAlignment(Ty));
    [all...]
  /external/llvm/lib/Target/
Target.cpp 65 unsigned long long LLVMSizeOfTypeInBits(LLVMTargetDataRef TD, LLVMTypeRef Ty) {
66 return unwrap(TD)->getTypeSizeInBits(unwrap(Ty));
69 unsigned long long LLVMStoreSizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) {
70 return unwrap(TD)->getTypeStoreSize(unwrap(Ty));
73 unsigned long long LLVMABISizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) {
74 return unwrap(TD)->getTypeAllocSize(unwrap(Ty));
77 unsigned LLVMABIAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) {
78 return unwrap(TD)->getABITypeAlignment(unwrap(Ty));
81 unsigned LLVMCallFrameAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) {
82 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
270 Type *Ty) const {
306 unsigned Align = getTypeAllocSize(cast<VectorType>(Ty)->getElementType());
307 Align *= cast<VectorType>(Ty)->getNumElements();
352 const StructLayout *TargetData::getStructLayout(StructType *Ty) const {
357 StructLayout *&SL = (*STM)[Ty];
362 int NumElts = Ty->getNumElements();
370 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/include/llvm/Transforms/IPO/
PassManagerBuilder.h 104 static void addGlobalExtension(ExtensionPointTy Ty, ExtensionFn Fn);
105 void addExtension(ExtensionPointTy Ty, ExtensionFn Fn);
127 RegisterStandardPasses(PassManagerBuilder::ExtensionPointTy Ty,
129 PassManagerBuilder::addGlobalExtension(Ty, Fn);
  /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 81 Constant *Constant::getNullValue(Type *Ty) {
82 switch (Ty->getTypeID()) {
84 return ConstantInt::get(Ty, 0);
86 return ConstantFP::get(Ty->getContext(),
89 return ConstantFP::get(Ty->getContext(),
92 return ConstantFP::get(Ty->getContext(),
95 return ConstantFP::get(Ty->getContext(),
98 return ConstantFP::get(Ty->getContext(),
101 return ConstantPointerNull::get(cast<PointerType>(Ty));
105 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/unittests/Analysis/
ScalarEvolutionTest.cpp 46 Type *Ty = Type::getInt1Ty(Context);
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);
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, 2), A[1], B[2]))
    [all...]
  /external/llvm/include/llvm/
Constant.h 46 Constant(Type *ty, ValueTy vty, Use *Ops, unsigned NumOps)
47 : User(ty, vty, Ops, NumOps) {}
135 static Constant *getNullValue(Type* Ty);
140 static Constant *getAllOnesValue(Type* Ty);
144 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 77 llvm::DIType CreateType(const BuiltinType *Ty);
78 llvm::DIType CreateType(const ComplexType *Ty);
79 llvm::DIType CreateQualifiedType(QualType Ty, llvm::DIFile F);
80 llvm::DIType CreateType(const TypedefType *Ty, llvm::DIFile F);
81 llvm::DIType CreateType(const ObjCObjectPointerType *Ty,
83 llvm::DIType CreateType(const PointerType *Ty, llvm::DIFile F);
84 llvm::DIType CreateType(const BlockPointerType *Ty, llvm::DIFile F);
85 llvm::DIType CreateType(const FunctionType *Ty, llvm::DIFile F);
86 llvm::DIType CreateType(const TagType *Ty);
87 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>();
285 const Type *Ty = T.getTypePtr();
288 if (const RecordType *RT = dyn_cast<RecordType>(Ty))
292 llvm::DenseMap<const Type *, llvm::Type *>::iterator TCI = TypeCache.find(Ty);
299 switch (Ty->getTypeClass())
    [all...]
TargetInfo.cpp 65 if (llvm::Type *Ty = getCoerceToType())
66 Ty->print(OS);
258 static bool is32Or64BitBasicType(QualType Ty, ASTContext &Context) {
259 if (!Ty->getAs<BuiltinType>() && !Ty->hasPointerRepresentation() &&
260 !Ty->isAnyComplexType() && !Ty->isEnumeralType() &&
261 !Ty->isBlockPointerType())
264 uint64_t Size = Context.getTypeSize(Ty);
277 static bool canExpandIndirectArgument(QualType Ty, ASTContext &Context)
    [all...]
  /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/include/llvm/Analysis/
DIBuilder.h 133 /// @param Ty Original type.
138 DIType createTypedef(DIType Ty, StringRef Name, DIFile File,
142 DIType createFriend(DIType Ty, DIType FriendTy);
146 /// @param Ty Original type.
147 /// @param BaseTy Base type. Ty is inherits from base.
151 DIType createInheritance(DIType Ty, DIType BaseTy, uint64_t BaseOffset,
163 /// @param Ty Parent type.
167 unsigned Flags, DIType Ty);
178 /// @param Ty Parent type.
187 unsigned Flags, DIType Ty,
    [all...]

Completed in 240 milliseconds

1 2 3 4 5 6 7 8 91011