Searched refs:Ty (Results 1 - 25 of 429) sorted by relevance

1234567891011>>

/external/clang/test/CodeGenCXX/
H A D2006-09-12-OpaqueStructCrash.cpp8 template <typename Ty>
12 Ty* val;
15 template <typename Ty>
21 template <typename Ty>
25 B<C<Ty> > blocks;
H A D2004-06-08-LateTemplateInstantiation.cpp4 template<typename Ty>
H A Dnoinline-template.cpp8 template <class Ty> struct Vector {
/external/clang/test/Parser/
H A Dcxx11-templates.cpp4 template <typename Ty = char>
5 static_assert(sizeof(Ty) != 1, "Not a char"); // expected-error {{a static_assert declaration cannot be a template}}
8 template <typename Ty = char>
9 static_assert(sizeof(Ty) != 1, "Not a char"); // expected-error {{a static_assert declaration cannot be a template}}
/external/clang/test/SemaCXX/
H A Dattr-cleanup-gcc.cpp9 template <typename Ty>
10 void c3(Ty *a) {}
/external/clang/test/Misc/
H A Dinteger-literal-printing.cpp15 template <> struct Type3Helper<boolTy::b> { typedef boolTy Ty; }; typedef in struct:Type3Helper
16 template <boolTy T, typename Type3Helper<T>::Ty U> struct Type3 {};
24 template <> struct Type4Helper<charTy::c> { typedef charTy Ty; }; typedef in struct:Type4Helper
25 template <charTy T, typename Type4Helper<T>::Ty U> struct Type4 {};
32 template <> struct Type5Helper<scharTy::c> { typedef scharTy Ty; }; typedef in struct:Type5Helper
33 template <scharTy T, typename Type5Helper<T>::Ty U> struct Type5 {};
40 template <> struct Type6Helper<ucharTy::c> { typedef ucharTy Ty; }; typedef in struct:Type6Helper
41 template <ucharTy T, typename Type6Helper<T>::Ty U> struct Type6 {};
48 template <> struct Type7Helper<wcharTy::c> { typedef wcharTy Ty; }; typedef in struct:Type7Helper
49 template <wcharTy T, typename Type7Helper<T>::Ty
56 template <> struct Type8Helper<char16Ty::c> { typedef char16Ty Ty; }; typedef in struct:Type8Helper
64 template <> struct Type9Helper<char32Ty::c> { typedef char32Ty Ty; }; typedef in struct:Type9Helper
[all...]
/external/clang/test/Analysis/inlining/
H A Dinline-defensive-checks.cpp40 typedef const int *Ty; typedef
42 Ty notNullArg(Ty cf) __attribute__((nonnull));
44 extern Ty getTyVal();
45 inline void radar13224271_callee(Ty def, Ty& result ) {
52 Ty value;
/external/llvm/include/llvm/IR/
H A DDataLayout.h153 bool ABIAlign, Type *Ty) const;
158 unsigned getAlignment(Type *Ty, bool abi_or_pref) const;
340 unsigned getPointerTypeSize(Type *Ty) const {
341 return getPointerTypeSizeInBits(Ty) / 8;
365 uint64_t getTypeSizeInBits(Type *Ty) const;
371 uint64_t getTypeStoreSize(Type *Ty) const {
372 return (getTypeSizeInBits(Ty) + 7) / 8;
379 uint64_t getTypeStoreSizeInBits(Type *Ty) const {
380 return 8 * getTypeStoreSize(Ty);
388 uint64_t getTypeAllocSize(Type *Ty) cons
[all...]
H A DConstants.h51 ConstantInt(IntegerType *Ty, const APInt& V);
66 static Constant *getTrue(Type *Ty);
67 static Constant *getFalse(Type *Ty);
69 /// If Ty is a vector type, return a Constant with a splat of the given
71 static Constant *get(Type *Ty, uint64_t V, bool isSigned = false);
79 static ConstantInt *get(IntegerType *Ty, uint64_t V,
85 /// signed value for the type Ty.
87 static ConstantInt *getSigned(IntegerType *Ty, int64_t V);
88 static Constant *getSigned(Type *Ty, int64_t V);
96 static ConstantInt *get(IntegerType *Ty, StringRe
1117 getGetElementPtr(Type *Ty, Constant *C, ArrayRef<Constant *> IdxList, bool InBounds = false, Type *OnlyIfReducedTy = nullptr) argument
1125 getGetElementPtr(Type *Ty, Constant *C, Constant *Idx, bool InBounds = false, Type *OnlyIfReducedTy = nullptr) argument
1140 getInBoundsGetElementPtr(Type *Ty, Constant *C, ArrayRef<Constant *> IdxList) argument
1144 getInBoundsGetElementPtr(Type *Ty, Constant *C, Constant *Idx) argument
1151 getInBoundsGetElementPtr(Type *Ty, Constant *C, ArrayRef<Value *> IdxList) argument
[all...]
/external/clang/test/Sema/
H A Datomic-compare.c23 typedef _Atomic(int) Ty; typedef
24 void PR23638(Ty *a) {
/external/llvm/unittests/Analysis/
H A DCallGraphTest.cpp19 template <typename Ty> void canSpecializeGraphTraitsIterators(Ty *G) {
20 typedef typename GraphTraits<Ty *>::NodeType NodeTy;
22 auto I = GraphTraits<Ty *>::nodes_begin(G);
23 auto E = GraphTraits<Ty *>::nodes_end(G);
34 NodeTy *N = GraphTraits<Ty *>::getEntryNode(G);
H A DScalarEvolutionTest.cpp57 Type *Ty = Type::getInt1Ty(Context); local
58 Constant *Init = Constant::getNullValue(Ty);
59 Value *V0 = new GlobalVariable(M, Ty, false, GlobalValue::ExternalLinkage, Init, "V0");
60 Value *V1 = new GlobalVariable(M, Ty, false, GlobalValue::ExternalLinkage, Init, "V1");
61 Value *V2 = new GlobalVariable(M, Ty, false, GlobalValue::ExternalLinkage, Init, "V2");
100 Type *Ty = Type::getInt32Ty(Context); local
102 Types.append(10, Ty);
168 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 2), A[1], B[1]));
170 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 2), A[2], B[1]));
171 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty,
[all...]
/external/clang/lib/CodeGen/
H A DABIInfo.h78 /// \arg Ty from the va_list pointed to by \arg VAListAddr.
86 QualType Ty) const = 0;
89 /// \arg Ty from the \c __builtin_ms_va_list pointed to by \arg VAListAddr.
92 QualType Ty) const;
94 virtual bool isHomogeneousAggregateBaseType(QualType Ty) const;
99 virtual bool shouldSignExtUnsignedType(QualType Ty) const;
101 bool isHomogeneousAggregate(QualType Ty, const Type *&Base,
107 getNaturalAlignIndirect(QualType Ty, bool ByRef = true,
112 getNaturalAlignIndirectInReg(QualType Ty, bool Realign = false) const;
H A DTargetInfo.cpp44 // Ty - The argument / return value type
47 static ABIArgInfo coerceToIntArray(QualType Ty, argument
51 const uint64_t Size = Context.getTypeSize(Ty);
52 const uint64_t Alignment = Context.getTypeAlign(Ty);
77 ABIInfo::getNaturalAlignIndirect(QualType Ty, bool ByRef, bool Realign, argument
79 return ABIArgInfo::getIndirect(getContext().getTypeAlignInChars(Ty),
84 ABIInfo::getNaturalAlignIndirectInReg(QualType Ty, bool Realign) const { argument
85 return ABIArgInfo::getIndirectInReg(getContext().getTypeAlignInChars(Ty),
90 QualType Ty) const {
114 static QualType useFirstFieldIfTransparentUnion(QualType Ty) { argument
484 is32Or64BitBasicType(QualType Ty, ASTContext &Context) argument
509 canExpandIndirectArgument(QualType Ty, ASTContext &Context) argument
773 X86AdjustInlineAsmType(CodeGen::CodeGenFunction &CGF, StringRef Constraint, llvm::Type* Ty) argument
791 isX86VectorTypeForVectorCall(ASTContext &Context, QualType Ty) argument
1027 shouldReturnTypeInRegister(QualType Ty, ASTContext &Context) const argument
1165 isSSEVectorType(ASTContext &Context, QualType Ty) argument
1169 isRecordWithSSEVectorType(ASTContext &Context, QualType Ty) argument
1194 getTypeStackAlignInBytes(QualType Ty, unsigned Align) const argument
1215 getIndirectResult(QualType Ty, bool ByVal, CCState &State) const argument
1251 shouldUseInReg(QualType Ty, CCState &State, bool &NeedsPadding) const argument
1305 classifyArgumentType(QualType Ty, CCState &State) const argument
1470 llvm::Type *Ty = llvm::Type::getInt8Ty(getVMContext()); local
2101 classify(QualType Ty, uint64_t OffsetBase, Class &Lo, Class &Hi, bool isNamedArg) const argument
[all...]
H A DCodeGenABITypes.cpp47 CodeGenABITypes::arrangeFreeFunctionType(CanQual<FunctionProtoType> Ty, argument
49 return CGM->getTypes().arrangeFreeFunctionType(Ty, FD);
53 CodeGenABITypes::arrangeFreeFunctionType(CanQual<FunctionNoProtoType> Ty) { argument
54 return CGM->getTypes().arrangeFreeFunctionType(Ty);
H A DCodeGenTypes.cpp48 llvm::StructType *Ty,
76 Ty->setName(OS.str());
98 bool CodeGenTypes::isRecordLayoutComplete(const Type *Ty) const {
100 RecordDeclTypes.find(Ty);
191 bool CodeGenTypes::isFuncParamTypeConvertible(QualType Ty) { argument
194 if (const auto *MPT = Ty->getAs<MemberPointerType>())
198 const TagType *TT = Ty->getAs<TagType>();
300 const Type *Ty = QFT.getTypePtr(); local
326 if (!RecordsBeingLaidOut.insert(Ty).second) {
356 RecordsBeingLaidOut.erase(Ty);
47 addRecordTypeName(const RecordDecl *RD, llvm::StructType *Ty, StringRef suffix) argument
371 const Type *Ty = T.getTypePtr(); local
660 llvm::StructType *Ty = Entry; local
[all...]
/external/valgrind/memcheck/tests/
H A Dsh-mem.c129 // 'Ty' is the type of the thing we are copying. It can be an integer
131 // will be the same as 'Ty' if 'ITy' is an integer type). 'ITy' is used
134 #define DO(NNN, Ty, ITy, isF4) \
136 NNN, #Ty, #ITy); \
142 size_t nN = n / sizeof(Ty); \
143 Ty* aN = (Ty*)a; \
144 Ty* bN = (Ty*)b; \
145 Ty* aN
[all...]
/external/llvm/lib/IR/
H A DConstants.cpp196 Constant *Constant::getNullValue(Type *Ty) { argument
197 switch (Ty->getTypeID()) {
199 return ConstantInt::get(Ty, 0);
201 return ConstantFP::get(Ty->getContext(),
204 return ConstantFP::get(Ty->getContext(),
207 return ConstantFP::get(Ty->getContext(),
210 return ConstantFP::get(Ty->getContext(),
213 return ConstantFP::get(Ty->getContext(),
216 return ConstantFP::get(Ty->getContext(),
220 return ConstantPointerNull::get(cast<PointerType>(Ty));
233 getIntegerValue(Type *Ty, const APInt &V) argument
250 getAllOnesValue(Type *Ty) argument
524 ConstantInt(IntegerType *Ty, const APInt& V) argument
543 getTrue(Type *Ty) argument
555 getFalse(Type *Ty) argument
581 get(Type *Ty, uint64_t V, bool isSigned) argument
591 get(IntegerType *Ty, uint64_t V, bool isSigned) argument
596 getSigned(IntegerType *Ty, int64_t V) argument
600 getSigned(Type *Ty, int64_t V) argument
604 get(Type *Ty, const APInt& V) argument
616 get(IntegerType* Ty, StringRef Str, uint8_t radix) argument
630 TypeToFloatSemantics(Type *Ty) argument
651 get(Type *Ty, double V) argument
668 get(Type *Ty, StringRef Str) argument
681 getNaN(Type *Ty, bool Negative, unsigned Type) argument
692 getNegativeZero(Type *Ty) argument
704 getZeroValueForNegation(Type *Ty) argument
719 Type *Ty; local
741 getInfinity(Type *Ty, bool Negative) argument
751 ConstantFP(Type *Ty, const APFloat& V) argument
799 Type *Ty = getType(); local
840 Type *Ty = getType(); local
925 get(ArrayType *Ty, ArrayRef<Constant*> V) argument
931 getImpl(ArrayType *Ty, ArrayRef<Constant*> V) argument
1179 getWithOperands(ArrayRef<Constant *> Ops, Type *Ty, bool OnlyIfReduced, Type *SrcTy) const argument
1240 isValueValidForType(Type *Ty, uint64_t Val) argument
1250 isValueValidForType(Type *Ty, int64_t Val) argument
1261 isValueValidForType(Type *Ty, const APFloat& Val) argument
1312 get(Type *Ty) argument
1390 get(PointerType *Ty) argument
1408 get(Type *Ty) argument
1508 getFoldedCast(Instruction::CastOps opc, Constant *C, Type *Ty, bool OnlyIfReduced = false) argument
1526 getCast(unsigned oc, Constant *C, Type *Ty, bool OnlyIfReduced) argument
1565 getZExtOrBitCast(Constant *C, Type *Ty) argument
1571 getSExtOrBitCast(Constant *C, Type *Ty) argument
1577 getTruncOrBitCast(Constant *C, Type *Ty) argument
1583 getPointerCast(Constant *S, Type *Ty) argument
1598 getPointerBitCastOrAddrSpaceCast(Constant *S, Type *Ty) argument
1609 getIntegerCast(Constant *C, Type *Ty, bool isSigned) argument
1622 getFPCast(Constant *C, Type *Ty) argument
1634 getTrunc(Constant *C, Type *Ty, bool OnlyIfReduced) argument
1648 getSExt(Constant *C, Type *Ty, bool OnlyIfReduced) argument
1662 getZExt(Constant *C, Type *Ty, bool OnlyIfReduced) argument
1676 getFPTrunc(Constant *C, Type *Ty, bool OnlyIfReduced) argument
1688 getFPExtend(Constant *C, Type *Ty, bool OnlyIfReduced) argument
1700 getUIToFP(Constant *C, Type *Ty, bool OnlyIfReduced) argument
1711 getSIToFP(Constant *C, Type *Ty, bool OnlyIfReduced) argument
1722 getFPToUI(Constant *C, Type *Ty, bool OnlyIfReduced) argument
1733 getFPToSI(Constant *C, Type *Ty, bool OnlyIfReduced) argument
1883 getSizeOf(Type* Ty) argument
1893 getAlignOf(Type* Ty) argument
1912 getOffsetOf(Type* Ty, Constant *FieldNo) argument
1964 getGetElementPtr(Type *Ty, Constant *C, ArrayRef<Value *> Idxs, bool InBounds, Type *OnlyIfReducedTy) argument
2284 getBinOpIdentity(unsigned Opcode, Type *Ty) argument
2307 getBinOpAbsorber(unsigned Opcode, Type *Ty) argument
2368 isElementTypeCompatible(Type *Ty) argument
2488 Type *Ty = ArrayType::get(Type::getInt8Ty(Context), Elts.size()); local
2493 Type *Ty = ArrayType::get(Type::getInt16Ty(Context), Elts.size()); local
2498 Type *Ty = ArrayType::get(Type::getInt32Ty(Context), Elts.size()); local
2503 Type *Ty = ArrayType::get(Type::getInt64Ty(Context), Elts.size()); local
2508 Type *Ty = ArrayType::get(Type::getFloatTy(Context), Elts.size()); local
2513 Type *Ty = ArrayType::get(Type::getDoubleTy(Context), Elts.size()); local
2525 Type *Ty = ArrayType::get(Type::getHalfTy(Context), Elts.size()); local
2531 Type *Ty = ArrayType::get(Type::getFloatTy(Context), Elts.size()); local
2537 Type *Ty = ArrayType::get(Type::getDoubleTy(Context), Elts.size()); local
2565 Type *Ty = VectorType::get(Type::getInt8Ty(Context), Elts.size()); local
2570 Type *Ty = VectorType::get(Type::getInt16Ty(Context), Elts.size()); local
2575 Type *Ty = VectorType::get(Type::getInt32Ty(Context), Elts.size()); local
2580 Type *Ty = VectorType::get(Type::getInt64Ty(Context), Elts.size()); local
2585 Type *Ty = VectorType::get(Type::getFloatTy(Context), Elts.size()); local
2590 Type *Ty = VectorType::get(Type::getDoubleTy(Context), Elts.size()); local
2602 Type *Ty = VectorType::get(Type::getHalfTy(Context), Elts.size()); local
2608 Type *Ty = VectorType::get(Type::getFloatTy(Context), Elts.size()); local
2614 Type *Ty = VectorType::get(Type::getDoubleTy(Context), Elts.size()); local
[all...]
H A DDataLayout.cpp49 Type *Ty = ST->getElementType(i); local
50 unsigned TyAlign = ST->isPacked() ? 1 : DL.getABITypeAlignment(Ty);
62 StructSize += DL.getTypeAllocSize(Ty); // Consume space for this data item
459 Type *Ty) const {
493 unsigned Align = getTypeAllocSize(cast<VectorType>(Ty)->getElementType());
494 Align *= cast<VectorType>(Ty)->getNumElements();
510 unsigned Align = getTypeStoreSize(Ty);
556 const StructLayout *DataLayout::getStructLayout(StructType *Ty) const {
561 StructLayout *&SL = (*STM)[Ty];
566 int NumElts = Ty
[all...]
/external/llvm/lib/Target/
H A DTarget.cpp90 unsigned long long LLVMSizeOfTypeInBits(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument
91 return unwrap(TD)->getTypeSizeInBits(unwrap(Ty));
94 unsigned long long LLVMStoreSizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument
95 return unwrap(TD)->getTypeStoreSize(unwrap(Ty));
98 unsigned long long LLVMABISizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument
99 return unwrap(TD)->getTypeAllocSize(unwrap(Ty));
102 unsigned LLVMABIAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument
103 return unwrap(TD)->getABITypeAlignment(unwrap(Ty));
106 unsigned LLVMCallFrameAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument
107 return unwrap(TD)->getABITypeAlignment(unwrap(Ty));
110 LLVMPreferredAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) argument
[all...]
/external/valgrind/mpi/
H A Dmpiwrap_type_test.c16 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/CodeGen/
H A DAnalysis.h45 /// \param Ty is the type indexed by \p Indices.
51 /// \returns \p CurIndex plus the linear index in \p Ty the indices list.
52 unsigned ComputeLinearIndex(Type *Ty,
57 inline unsigned ComputeLinearIndex(Type *Ty, argument
60 return ComputeLinearIndex(Ty, Indices.begin(), Indices.end(), CurIndex);
70 void ComputeValueVTs(const TargetLowering &TLI, const DataLayout &DL, Type *Ty,
/external/llvm/include/llvm/Linker/
H A DIRMover.h51 void addNonOpaque(StructType *Ty);
52 void switchToNonOpaque(StructType *Ty);
53 void addOpaque(StructType *Ty);
55 bool hasType(StructType *Ty);
/external/llvm/include/llvm/Transforms/IPO/
H A DPassManagerBuilder.h146 static void addGlobalExtension(ExtensionPointTy Ty, ExtensionFn Fn);
147 void addExtension(ExtensionPointTy Ty, ExtensionFn Fn);
172 RegisterStandardPasses(PassManagerBuilder::ExtensionPointTy Ty, argument
174 PassManagerBuilder::addGlobalExtension(Ty, Fn);
/external/llvm/lib/Target/Mips/
H A DMipsISelLowering.h296 SDValue getGlobalReg(SelectionDAG &DAG, EVT Ty) const;
303 SDValue getAddrLocal(NodeTy *N, SDLoc DL, EVT Ty, SelectionDAG &DAG, argument
306 SDValue GOT = DAG.getNode(MipsISD::Wrapper, DL, Ty, getGlobalReg(DAG, Ty),
307 getTargetNode(N, Ty, DAG, GOTFlag));
309 DAG.getLoad(Ty, DL, DAG.getEntryNode(), GOT,
313 SDValue Lo = DAG.getNode(MipsISD::Lo, DL, Ty,
314 getTargetNode(N, Ty, DAG, LoFlag));
315 return DAG.getNode(ISD::ADD, DL, Ty, Load, Lo);
323 SDValue getAddrGlobal(NodeTy *N, SDLoc DL, EVT Ty, SelectionDA argument
336 getAddrGlobalLargeGOT(NodeTy *N, SDLoc DL, EVT Ty, SelectionDAG &DAG, unsigned HiFlag, unsigned LoFlag, SDValue Chain, const MachinePointerInfo &PtrInfo) const argument
354 getAddrNonPIC(NodeTy *N, SDLoc DL, EVT Ty, SelectionDAG &DAG) const argument
368 getAddrGPRel(NodeTy *N, SDLoc DL, EVT Ty, SelectionDAG &DAG) const argument
[all...]

Completed in 1268 milliseconds

1234567891011>>