HomeSort by relevance Sort by last modified time
    Searched refs:Ty (Results 1 - 25 of 381) 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/lib/AST/
MangleNumberingContext.cpp 36 const Type *Ty = nullptr;
37 return ++ManglingNumbers[Ty];
43 const Type *Ty = nullptr;
44 return ++ManglingNumbers[Ty];
  /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/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/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/IR/
DataLayout.h 146 bool ABIAlign, Type *Ty) const;
153 unsigned getAlignment(Type *Ty, bool abi_or_pref) const;
324 unsigned getPointerTypeSize(Type *Ty) const {
325 return getPointerTypeSizeInBits(Ty) / 8;
348 uint64_t getTypeSizeInBits(Type *Ty) const;
353 uint64_t getTypeStoreSize(Type *Ty) const {
354 return (getTypeSizeInBits(Ty)+7)/8;
360 uint64_t getTypeStoreSizeInBits(Type *Ty) const {
361 return 8*getTypeStoreSize(Ty);
368 uint64_t getTypeAllocSize(Type *Ty) const
    [all...]
  /external/valgrind/main/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/Target/
Target.cpp 93 unsigned long long LLVMSizeOfTypeInBits(LLVMTargetDataRef TD, LLVMTypeRef Ty) {
94 return unwrap(TD)->getTypeSizeInBits(unwrap(Ty));
97 unsigned long long LLVMStoreSizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) {
98 return unwrap(TD)->getTypeStoreSize(unwrap(Ty));
101 unsigned long long LLVMABISizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) {
102 return unwrap(TD)->getTypeAllocSize(unwrap(Ty));
105 unsigned LLVMABIAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) {
106 return unwrap(TD)->getABITypeAlignment(unwrap(Ty));
109 unsigned LLVMCallFrameAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) {
110 return unwrap(TD)->getABITypeAlignment(unwrap(Ty));
    [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/llvm/lib/IR/
Constants.cpp 133 Constant *Constant::getNullValue(Type *Ty) {
134 switch (Ty->getTypeID()) {
136 return ConstantInt::get(Ty, 0);
138 return ConstantFP::get(Ty->getContext(),
141 return ConstantFP::get(Ty->getContext(),
144 return ConstantFP::get(Ty->getContext(),
147 return ConstantFP::get(Ty->getContext(),
150 return ConstantFP::get(Ty->getContext(),
153 return ConstantFP::get(Ty->getContext(),
157 return ConstantPointerNull::get(cast<PointerType>(Ty));
    [all...]
DataLayout.cpp 53 Type *Ty = ST->getElementType(i);
54 unsigned TyAlign = ST->isPacked() ? 1 : DL.getABITypeAlignment(Ty);
64 StructSize += DL.getTypeAllocSize(Ty); // Consume space for this data item
412 Type *Ty) const {
448 unsigned Align = getTypeAllocSize(cast<VectorType>(Ty)->getElementType());
449 Align *= cast<VectorType>(Ty)->getNumElements();
498 const StructLayout *DataLayout::getStructLayout(StructType *Ty) const {
503 StructLayout *&SL = (*STM)[Ty];
508 int NumElts = Ty->getNumElements();
516 new (L) StructLayout(Ty, *this)
    [all...]
  /external/llvm/include/llvm/Analysis/
TargetTransformInfo.h 107 virtual unsigned getOperationCost(unsigned Opcode, Type *Ty,
267 virtual bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV,
277 virtual int getScalingFactorCost(Type *Ty, GlobalValue *BaseGV,
287 virtual bool isTypeLegal(Type *Ty) const;
303 virtual bool haveFastSqrt(Type *Ty) const;
307 virtual unsigned getIntImmCost(const APInt &Imm, Type *Ty) const;
313 Type *Ty) const;
315 const APInt &Imm, Type *Ty) const;
352 virtual unsigned getArithmeticInstrCost(unsigned Opcode, Type *Ty,
387 /// This is the cost of reducing the vector value of type \p Ty to a scala
    [all...]
  /external/llvm/lib/CodeGen/
BasicTargetTransformInfo.cpp 40 unsigned getScalarizationOverhead(Type *Ty, bool Insert, bool Extract) const;
43 unsigned getAltShuffleOverhead(Type *Ty) const;
81 bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV,
84 int getScalingFactorCost(Type *Ty, GlobalValue *BaseGV,
88 bool isTypeLegal(Type *Ty) const override;
92 bool haveFastSqrt(Type *Ty) const override;
104 unsigned getArithmeticInstrCost(unsigned Opcode, Type *Ty, OperandValueKind,
120 unsigned getAddressComputationCost( Type *Ty, bool IsComplex) const override;
121 unsigned getReductionCost(unsigned Opcode, Type *Ty,
148 bool BasicTTI::isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV
    [all...]
  /external/clang/lib/CodeGen/
CodeGenABITypes.cpp 47 CodeGenABITypes::arrangeFreeFunctionType(CanQual<FunctionProtoType> Ty) {
48 return CGM->getTypes().arrangeFreeFunctionType(Ty);
52 CodeGenABITypes::arrangeFreeFunctionType(CanQual<FunctionNoProtoType> Ty) {
53 return CGM->getTypes().arrangeFreeFunctionType(Ty);
TargetInfo.cpp 93 if (llvm::Type *Ty = getCoerceToType())
94 Ty->print(OS);
284 static bool is32Or64BitBasicType(QualType Ty, ASTContext &Context) {
286 if (const ComplexType *CTy = Ty->getAs<ComplexType>())
287 Ty = CTy->getElementType();
292 if (!Ty->getAs<BuiltinType>() && !Ty->hasPointerRepresentation() &&
293 !Ty->isEnumeralType() && !Ty->isBlockPointerType())
296 uint64_t Size = Context.getTypeSize(Ty);
1312 llvm::Type *ty = info.getCoerceToType(); local
    [all...]
CodeGenTBAA.cpp 98 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr();
100 if (llvm::MDNode *N = MetadataCache[Ty])
104 if (const BuiltinType *BTy = dyn_cast<BuiltinType>(Ty)) {
133 return MetadataCache[Ty] =
141 if (Ty->isPointerType())
142 return MetadataCache[Ty] = createTBAAScalarType("any pointer",
147 if (const EnumType *ETy = dyn_cast<EnumType>(Ty)) {
153 return MetadataCache[Ty] = getChar();
159 return MetadataCache[Ty] = createTBAAScalarType(OutName, getChar());
163 return MetadataCache[Ty] = getChar()
    [all...]
CodeGenTypes.cpp 49 llvm::StructType *Ty,
77 Ty->setName(OS.str());
99 bool CodeGenTypes::isRecordLayoutComplete(const Type *Ty) const {
101 RecordDeclTypes.find(Ty);
189 bool CodeGenTypes::isFuncParamTypeConvertible(QualType Ty) {
191 const TagType *TT = Ty->getAs<TagType>();
294 const Type *Ty = T.getTypePtr();
297 if (const RecordType *RT = dyn_cast<RecordType>(Ty))
301 llvm::DenseMap<const Type *, llvm::Type *>::iterator TCI = TypeCache.find(Ty);
308 switch (Ty->getTypeClass())
    [all...]
  /external/llvm/include/llvm/CodeGen/
Analysis.h 37 unsigned ComputeLinearIndex(Type *Ty,
42 inline unsigned ComputeLinearIndex(Type *Ty,
45 return ComputeLinearIndex(Ty, Indices.begin(), Indices.end(), CurIndex);
55 void ComputeValueVTs(const TargetLowering &TLI, Type *Ty,
  /external/llvm/include/llvm/Target/
CostTable.h 31 CompareTy Ty) {
33 if (ISD == Tbl[i].ISD && Ty == Tbl[i].Type)
43 CompareTy Ty) {
44 return CostTableLookup(Tbl, N, ISD, Ty);
  /external/llvm/include/llvm/Transforms/IPO/
PassManagerBuilder.h 132 static void addGlobalExtension(ExtensionPointTy Ty, ExtensionFn Fn);
133 void addExtension(ExtensionPointTy Ty, ExtensionFn Fn);
156 RegisterStandardPasses(PassManagerBuilder::ExtensionPointTy Ty,
158 PassManagerBuilder::addGlobalExtension(Ty, Fn);
  /external/llvm/lib/Target/PowerPC/
PPCTargetTransformInfo.cpp 75 unsigned getIntImmCost(const APInt &Imm, Type *Ty) const override;
78 Type *Ty) const override;
80 Type *Ty) const override;
95 virtual unsigned getArithmeticInstrCost(unsigned Opcode, Type *Ty,
132 assert(isPowerOf2_32(TyWidth) && "Ty width must be power of 2");
138 unsigned PPCTTI::getIntImmCost(const APInt &Imm, Type *Ty) const {
140 return TargetTransformInfo::getIntImmCost(Imm, Ty);
142 assert(Ty->isIntegerTy());
144 unsigned BitSize = Ty->getPrimitiveSizeInBits();
168 const APInt &Imm, Type *Ty) const
    [all...]
  /external/llvm/lib/Analysis/
ConstantFolding.cpp 554 Type *Ty = cast<PointerType>(CE->getType())->getElementType();
555 unsigned NumBits = Ty->getPrimitiveSizeInBits();
559 (isa<IntegerType>(Ty) || Ty->isFloatingPointTy())) {
578 if (Ty->isFloatingPointTy())
579 Res = ConstantExpr::getBitCast(Res, Ty);
810 Type *Ty = Ptr->getType();
811 assert(Ty->isPointerTy() && "Forming regular GEP of non-pointer type");
815 if (SequentialType *ATy = dyn_cast<SequentialType>(Ty)) {
829 // The element size is 0. This may be [0 x Ty]*, so just use a zer
    [all...]

Completed in 709 milliseconds

1 2 3 4 5 6 7 8 91011>>