/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/llvm/unittests/AsmParser/ |
AsmParserTest.cpp | 178 Type *Ty; 179 Ty = parseType("i32", Error, M, &Mapping); 180 ASSERT_TRUE(Ty); 181 ASSERT_TRUE(Ty->isIntegerTy()); 182 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 32); 185 Ty = parseType("i13", Error, M, &Mapping); 186 ASSERT_TRUE(Ty); 187 ASSERT_TRUE(Ty->isIntegerTy()); 188 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 13); 191 Ty = parseType("float", Error, M, &Mapping) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/AsmParser/ |
AsmParserTest.cpp | 178 Type *Ty; 179 Ty = parseType("i32", Error, M, &Mapping); 180 ASSERT_TRUE(Ty); 181 ASSERT_TRUE(Ty->isIntegerTy()); 182 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 32); 185 Ty = parseType("i13", Error, M, &Mapping); 186 ASSERT_TRUE(Ty); 187 ASSERT_TRUE(Ty->isIntegerTy()); 188 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 13); 191 Ty = parseType("float", Error, M, &Mapping) [all...] |
/external/swiftshader/third_party/subzero/src/ |
IceTypes.h | 79 size_t typeWidthInBytes(Type Ty); 80 int8_t typeWidthInBytesLog2(Type Ty); 81 size_t typeAlignInBytes(Type Ty); 82 size_t typeNumElements(Type Ty); 83 Type typeElementType(Type Ty); 84 const char *typeString(Type Ty); 85 inline std::string typeStdString(Type Ty) { return typeString(Ty); } 90 bool isVectorType(Type Ty); 92 bool isBooleanType(Type Ty); // scalar or vecto [all...] |
IceTypes.cpp | 147 size_t typeWidthInBytes(Type Ty) { 148 int8_t Shift = typeWidthInBytesLog2(Ty); 152 int8_t typeWidthInBytesLog2(Type Ty) { 153 if (Ty < IceType_NUM) 154 return TypeAttributes[Ty].TypeWidthInBytesLog2; 159 size_t typeAlignInBytes(Type Ty) { 160 if (Ty < IceType_NUM) 161 return TypeAttributes[Ty].TypeAlignInBytes; 166 size_t typeNumElements(Type Ty) { 167 if (Ty < IceType_NUM [all...] |
IceAssemblerX86Base.h | 303 void mov(Type Ty, GPRRegister dst, const Immediate &src); 304 void mov(Type Ty, GPRRegister dst, GPRRegister src); 305 void mov(Type Ty, GPRRegister dst, const Address &src); 306 void mov(Type Ty, const Address &dst, GPRRegister src); 307 void mov(Type Ty, const Address &dst, const Immediate &imm); 318 void movzx(Type Ty, GPRRegister dst, GPRRegister src); 319 void movzx(Type Ty, GPRRegister dst, const Address &src); 320 void movsx(Type Ty, GPRRegister dst, GPRRegister src); 321 void movsx(Type Ty, GPRRegister dst, const Address &src); 323 void lea(Type Ty, GPRRegister dst, const Address &src) [all...] |
IceAssemblerX86BaseImpl.h | 230 void AssemblerX86Base<TraitsType>::mov(Type Ty, GPRRegister dst, 232 assert(Ty != IceType_i64 && "i64 not supported yet."); 234 if (Ty == IceType_i16) 236 emitRexB(Ty, dst); 237 if (isByteSizedType(Ty)) { 244 emitImmediate(Ty, imm); 249 void AssemblerX86Base<TraitsType>::mov(Type Ty, GPRRegister dst, 252 if (Ty == IceType_i16) 254 emitRexRB(Ty, src, dst); 255 if (isByteSizedType(Ty)) { [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
LowLevelType.cpp | 21 LLT llvm::getLLTForType(Type &Ty, const DataLayout &DL) { 22 if (auto VTy = dyn_cast<VectorType>(&Ty)) { 28 } else if (auto PTy = dyn_cast<PointerType>(&Ty)) { 29 return LLT::pointer(PTy->getAddressSpace(), DL.getTypeSizeInBits(&Ty)); 30 } else if (Ty.isSized()) { 33 auto SizeInBits = DL.getTypeSizeInBits(&Ty);
|
/external/swiftshader/third_party/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/swiftshader/third_party/llvm-7.0/llvm/unittests/CodeGen/ |
LowLevelTypeTest.cpp | 22 operator<<(std::ostream &OS, const llvm::LLT Ty) { 25 Ty.print(SS); 38 const LLT Ty = LLT::scalar(S); 41 ASSERT_TRUE(Ty.isValid()); 42 ASSERT_TRUE(Ty.isScalar()); 44 ASSERT_FALSE(Ty.isPointer()); 45 ASSERT_FALSE(Ty.isVector()); 48 EXPECT_EQ(S, Ty.getSizeInBits()); 49 EXPECT_EQ(S, Ty.getScalarSizeInBits()); 52 EXPECT_TRUE(Ty == Ty) [all...] |
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
LowLevelType.h | 28 LLT getLLTForType(Type &Ty, const DataLayout &DL);
|
/external/clang/test/SemaCXX/ |
attr-cleanup-gcc.cpp | 9 template <typename Ty> 10 void c3(Ty *a) {}
|
/external/llvm/include/llvm/CodeGen/ |
MachineInstrBundleIterator.h | 24 template <typename Ty> 26 : public std::iterator<std::bidirectional_iterator_tag, Ty, ptrdiff_t> { 27 typedef ilist_iterator<Ty> instr_iterator; 33 MachineInstrBundleIterator(Ty &MI) : MII(MI) { 38 MachineInstrBundleIterator(Ty *MI) : MII(MI) { 50 Ty &operator*() const { return *MII; } 51 Ty *operator->() const { return &operator*(); } 54 operator Ty *() const { return MII.getNodePtrUnchecked(); }
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
DerivedUser.h | 38 DerivedUser(Type *Ty, unsigned VK, Use *U, unsigned NumOps, 40 : User(Ty, VK, U, NumOps), DeleteValue(DeleteValue) {}
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
X86LegalizerInfo.cpp | 98 for (auto Ty : {p0, s1, s8, s16, s32}) 99 setAction({G_IMPLICIT_DEF, Ty}, Legal); 101 for (auto Ty : {s8, s16, s32, p0}) 102 setAction({G_PHI, Ty}, Legal); 105 for (auto Ty : {s8, s16, s32}) 106 setAction({BinOp, Ty}, Legal); 114 for (auto Ty : {s8, s16, s32, p0}) 115 setAction({MemOp, Ty}, Legal); 145 for (auto Ty : {s8, s16, s32, p0}) 146 setAction({TargetOpcode::G_CONSTANT, Ty}, Legal) [all...] |
/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/swiftshader/third_party/subzero/crosstest/ |
test_vector_ops.h | 26 #define TY(TYNAME) FIELD(TYNAME, Ty) 30 static Ty (*insertelement)(Ty, CastTy, int32_t); \ 31 static Ty (*shufflevector)(Ty, Ty, uint32_t); \ 32 static CastTy (*extractelement)(Ty, int32_t); \ 33 static Ty (*Subzero_insertelement)(Ty, CastTy, int32_t); [all...] |
/external/swiftshader/third_party/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/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/spirv-llvm/lib/SPIRV/ |
SPIRVLowerBool.cpp | 70 bool isBoolType(Type *Ty) { 71 if (Ty->isIntegerTy(1)) 73 if (auto VT = dyn_cast<VectorType>(Ty)) 88 auto Ty = I.getType(); 89 auto Zero = getScalarOrVectorConstantInt(Ty, 0, false); 90 auto One = getScalarOrVectorConstantInt(Ty, 1, false); 98 auto Ty = I.getType(); 99 auto Zero = getScalarOrVectorConstantInt(Ty, 0, false); 100 auto One = getScalarOrVectorConstantInt(Ty, ~0, false);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/ |
LanaiTargetTransformInfo.h | 53 int getIntImmCost(const APInt &Imm, Type *Ty) { 54 assert(Ty->isIntegerTy()); 70 int getIntImmCost(unsigned Opc, unsigned Idx, const APInt &Imm, Type *Ty) { 71 return getIntImmCost(Imm, Ty); 75 Type *Ty) { 76 return getIntImmCost(Imm, Ty); 80 unsigned Opcode, Type *Ty, 90 return BaseT::getArithmeticInstrCost(Opcode, Ty, Opd1Info, Opd2Info, 101 return 64 * BaseT::getArithmeticInstrCost(Opcode, Ty, Opd1Info, Opd2Info,
|
/external/llvm/unittests/IR/ |
AsmWriterTest.cpp | 25 auto Ty = Type::getInt32Ty(Ctx); 26 auto Undef = UndefValue::get(Ty); 29 "", MDNode::get(Ctx, {ConstantAsMetadata::get(ConstantInt::get(Ty, 1))}));
|