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

1 2 3 4 5 6 7 8 91011>>

  /external/clang/test/CodeGenCXX/
2006-09-12-OpaqueStructCrash.cpp 8 template <typename Ty>
12 Ty* val;
15 template <typename Ty>
21 template <typename Ty>
25 B<C<Ty> > blocks;
2004-06-08-LateTemplateInstantiation.cpp 4 template<typename Ty>
noinline-template.cpp 8 template <class Ty> struct Vector {
  /external/clang/test/Parser/
cxx11-templates.cpp 4 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/
attr-cleanup-gcc.cpp 9 template <typename Ty>
10 void c3(Ty *a) {}
  /external/clang/test/Misc/
integer-literal-printing.cpp 15 template <> struct Type3Helper<boolTy::b> { typedef boolTy Ty; };
16 template <boolTy T, typename Type3Helper<T>::Ty U> struct Type3 {};
24 template <> struct Type4Helper<charTy::c> { typedef charTy Ty; };
25 template <charTy T, typename Type4Helper<T>::Ty U> struct Type4 {};
32 template <> struct Type5Helper<scharTy::c> { typedef scharTy Ty; };
33 template <scharTy T, typename Type5Helper<T>::Ty U> struct Type5 {};
40 template <> struct Type6Helper<ucharTy::c> { typedef ucharTy Ty; };
41 template <ucharTy T, typename Type6Helper<T>::Ty U> struct Type6 {};
48 template <> struct Type7Helper<wcharTy::c> { typedef wcharTy Ty; };
49 template <wcharTy T, typename Type7Helper<T>::Ty U> struct Type7 {}
    [all...]
  /external/clang/lib/CodeGen/
ABIInfo.h 78 /// \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;
TargetInfo.cpp 44 // Ty - The argument / return value type
47 static ABIArgInfo coerceToIntArray(QualType Ty,
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,
79 return ABIArgInfo::getIndirect(getContext().getTypeAlignInChars(Ty),
84 ABIInfo::getNaturalAlignIndirectInReg(QualType Ty, bool Realign) const {
85 return ABIArgInfo::getIndirectInReg(getContext().getTypeAlignInChars(Ty),
90 QualType Ty) const {
114 static QualType useFirstFieldIfTransparentUnion(QualType Ty) {
1789 llvm::Type *ty = info.getCoerceToType(); local
    [all...]
CodeGenABITypes.cpp 47 CodeGenABITypes::arrangeFreeFunctionType(CanQual<FunctionProtoType> Ty,
49 return CGM->getTypes().arrangeFreeFunctionType(Ty, FD);
53 CodeGenABITypes::arrangeFreeFunctionType(CanQual<FunctionNoProtoType> Ty) {
54 return CGM->getTypes().arrangeFreeFunctionType(Ty);
CodeGenTypes.cpp 48 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) {
194 if (const auto *MPT = Ty->getAs<MemberPointerType>())
198 const TagType *TT = Ty->getAs<TagType>();
300 const Type *Ty = QFT.getTypePtr();
326 if (!RecordsBeingLaidOut.insert(Ty).second) {
356 RecordsBeingLaidOut.erase(Ty);
    [all...]
  /external/clang/test/Analysis/inlining/
inline-defensive-checks.cpp 40 typedef const int *Ty;
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/
DataLayout.h 153 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) const
    [all...]
  /external/clang/test/Sema/
atomic-compare.c 23 typedef _Atomic(int) Ty;
24 void PR23638(Ty *a) {
  /external/llvm/unittests/Analysis/
CallGraphTest.cpp 19 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);
ScalarEvolutionTest.cpp 57 Type *Ty = Type::getInt1Ty(Context);
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);
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, 2), A[1], B[2]))
    [all...]
  /external/valgrind/memcheck/tests/
sh-mem.c 129 // '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* aNb = (Ty*)(((U1*)aN) + h); /* set offset from a[] */
    [all...]
  /external/llvm/lib/IR/
Constants.cpp 196 Constant *Constant::getNullValue(Type *Ty) {
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));
    [all...]
DataLayout.cpp 49 Type *Ty = ST->getElementType(i);
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->getNumElements()
    [all...]
  /external/llvm/include/llvm/Analysis/
TargetTransformInfo.h 136 int getOperationCost(unsigned Opcode, Type *Ty, Type *OpTy = nullptr) const;
311 bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset,
333 int getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset,
347 bool isTypeLegal(Type *Ty) const;
369 bool haveFastSqrt(Type *Ty) const;
373 int getFPOpCost(Type *Ty) const;
377 int getIntImmCost(const APInt &Imm, Type *Ty) const;
383 Type *Ty) const;
385 Type *Ty) const;
426 unsigned Opcode, Type *Ty, OperandValueKind Opd1Info = OK_AnyValue
    [all...]
  /external/llvm/lib/Target/
Target.cpp 90 unsigned long long LLVMSizeOfTypeInBits(LLVMTargetDataRef TD, LLVMTypeRef Ty) {
91 return unwrap(TD)->getTypeSizeInBits(unwrap(Ty));
94 unsigned long long LLVMStoreSizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) {
95 return unwrap(TD)->getTypeStoreSize(unwrap(Ty));
98 unsigned long long LLVMABISizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) {
99 return unwrap(TD)->getTypeAllocSize(unwrap(Ty));
102 unsigned LLVMABIAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) {
103 return unwrap(TD)->getABITypeAlignment(unwrap(Ty));
106 unsigned LLVMCallFrameAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) {
107 return unwrap(TD)->getABITypeAlignment(unwrap(Ty));
    [all...]
  /external/valgrind/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/llvm/include/llvm/CodeGen/
Analysis.h 45 /// \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,
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/
IRMover.h 51 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/
PassManagerBuilder.h 146 static void addGlobalExtension(ExtensionPointTy Ty, ExtensionFn Fn);
147 void addExtension(ExtensionPointTy Ty, ExtensionFn Fn);
172 RegisterStandardPasses(PassManagerBuilder::ExtensionPointTy Ty,
174 PassManagerBuilder::addGlobalExtension(Ty, Fn);
  /external/llvm/lib/Target/Mips/
MipsISelLowering.h 296 SDValue getGlobalReg(SelectionDAG &DAG, EVT Ty) const;
303 SDValue getAddrLocal(NodeTy *N, SDLoc DL, EVT Ty, SelectionDAG &DAG,
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, SelectionDAG &DAG
    [all...]

Completed in 2255 milliseconds

1 2 3 4 5 6 7 8 91011>>