Searched refs:Ty (Results 1 - 25 of 369) sorted by last modified time

1234567891011>>

/external/valgrind/main/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/valgrind/main/mpi/
H A Dlibmpiwrap.c700 typedef struct { int val; int loc; } Ty; typedef in typeref:struct:__anon33089
701 f(base + offsetof(Ty,val), sizeof(int));
702 f(base + offsetof(Ty,loc), sizeof(int));
706 typedef struct { long val; int loc; } Ty; typedef in typeref:struct:__anon33090
707 f(base + offsetof(Ty,val), sizeof(long));
708 f(base + offsetof(Ty,loc), sizeof(int));
712 typedef struct { double val; int loc; } Ty; typedef in typeref:struct:__anon33091
713 f(base + offsetof(Ty,val), sizeof(double));
714 f(base + offsetof(Ty,loc), sizeof(int));
718 typedef struct { short val; int loc; } Ty; typedef in typeref:struct:__anon33092
724 typedef struct { float val; int loc; } Ty; typedef in typeref:struct:__anon33093
730 typedef struct { long double val; int loc; } Ty; typedef in typeref:struct:__anon33094
[all...]
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/mesa3d/src/gallium/drivers/radeon/
H A DAMDILPeepholeOptimizer.cpp181 containsPointerType(Type *Ty) argument
183 if (!Ty) {
186 switch(Ty->getTypeID()) {
190 const StructType *ST = dyn_cast<StructType>(Ty);
202 return containsPointerType(dyn_cast<SequentialType>(Ty)->getElementType());
948 Type* Ty = inst->getType(); local
951 Ty = inst->getType();
954 Ty = sinst->getValueOperand()->getType();
958 unsigned size = getTypeSize(Ty);
962 if (!Ty
[all...]
/external/llvm/utils/FileCheck/
H A DFileCheck.cpp102 Pattern(Check::CheckType Ty) argument
103 : CheckTy(Ty) { }
601 Check::CheckType Ty)
602 : Pat(P), Prefix(S), Loc(L), CheckTy(Ty) {}
666 static size_t CheckTypeSize(Check::CheckType Ty) { argument
667 switch (Ty) {
598 CheckString(const Pattern &P, StringRef S, SMLoc L, Check::CheckType Ty) argument
/external/llvm/utils/TableGen/
H A DAsmMatcherEmitter.cpp1881 std::string Ty = "imm_" + itostr(Val);
1882 Signature += "__" + Ty;
1884 std::string Name = "CVT_" + Ty;
H A DCodeGenTarget.cpp392 Ty = ::getValueType(R->getValueAsDef("Ty"));
H A DCodeGenTarget.h198 MVT::SimpleValueType Ty; member in class:llvm::ComplexPattern
207 MVT::SimpleValueType getValueType() const { return Ty; }
/external/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp225 Type *Ty = pickType(); local
226 return PointerType::get(Ty, 0);
235 Type *Ty; local
239 Ty = pickScalarType();
240 } while (Ty->isX86_MMXTy());
244 return VectorType::get(Ty, width);
365 Type *Ty = pickType(); variable
367 if (Ty->isVectorTy()) {
369 case 0: if (Ty->getScalarType()->isIntegerTy())
370 return PT->push_back(ConstantVector::getAllOnesValue(Ty));
[all...]
/external/llvm/unittests/Analysis/
H A DScalarEvolutionTest.cpp46 Type *Ty = Type::getInt1Ty(Context); local
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); local
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,
[all...]
/external/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp1444 VectorType *Ty = cast<VectorType>(Val->getType()); local
1445 int VLen = Ty->getNumElements();
3440 static Type *convertPointerToIntegerType(const DataLayout &DL, Type *Ty) { argument
3441 if (Ty->isPointerTy())
3442 return DL.getIntPtrType(Ty);
3446 if (Ty->getScalarSizeInBits() < 32)
3447 return Type::getInt32Ty(Ty->getContext());
3449 return Ty;
3698 static Value *getUniqueCastUse(Value *Ptr, Loop *Lp, Type *Ty) { argument
3702 if (CI && CI->getType() == Ty) {
4263 const Type *Ty = Ptr->getType(); local
[all...]
H A DSLPVectorizer.cpp246 Type *Ty = VL[0]->getType(); local
248 if (VL[i]->getType() != Ty)
251 return Ty;
455 int getGatherCost(Type *Ty);
481 Value *Gather(ArrayRef<Value *> VL, VectorType *Ty);
896 Type *Ty = cast<Instruction>(VL[i])->getOperand(0)->getType(); local
897 if (Ty != SrcTy || Ty->isAggregateType() || Ty->isVectorTy()) {
1406 int BoUpSLP::getGatherCost(Type *Ty) { argument
1462 Type *Ty = cast<PointerType>(PtrA->getType())->getElementType(); local
1546 Gather(ArrayRef<Value *> VL, VectorType *Ty) argument
2013 Type *Ty = Scalar->getType(); local
2389 Type *Ty = SI->getValueOperand()->getType(); local
2429 Type *Ty = VL[i]->getType(); local
[all...]
/external/llvm/bindings/ocaml/executionengine/
H A Dexecutionengine_ocaml.c90 CAMLprim value llvm_genericvalue_of_float(LLVMTypeRef Ty, value N) { argument
93 LLVMCreateGenericValueOfFloat(Ty, Double_val(N))));
103 CAMLprim value llvm_genericvalue_of_int(LLVMTypeRef Ty, value Int) { argument
104 return alloc_generic_value(LLVMCreateGenericValueOfInt(Ty, Int_val(Int), 1));
108 CAMLprim value llvm_genericvalue_of_int32(LLVMTypeRef Ty, value Int32) { argument
111 LLVMCreateGenericValueOfInt(Ty, Int32_val(Int32), 1)));
115 CAMLprim value llvm_genericvalue_of_nativeint(LLVMTypeRef Ty, value NatInt) { argument
118 LLVMCreateGenericValueOfInt(Ty, Nativeint_val(NatInt), 1)));
122 CAMLprim value llvm_genericvalue_of_int64(LLVMTypeRef Ty, value Int64) { argument
125 LLVMCreateGenericValueOfInt(Ty, Int64_va
129 llvm_genericvalue_as_float(LLVMTypeRef Ty, value GenVal) argument
[all...]
/external/llvm/bindings/ocaml/llvm/
H A Dllvm_ocaml.c216 CAMLprim value llvm_classify_type(LLVMTypeRef Ty) { argument
217 return Val_int(LLVMGetTypeKind(Ty));
220 CAMLprim value llvm_type_is_sized(LLVMTypeRef Ty) { argument
221 return Val_bool(LLVMTypeIsSized(Ty));
225 CAMLprim LLVMContextRef llvm_type_context(LLVMTypeRef Ty) { argument
226 return LLVMGetTypeContext(Ty);
358 CAMLprim value llvm_struct_set_body(LLVMTypeRef Ty, argument
361 LLVMStructSetBody(Ty, (LLVMTypeRef *) ElementTypes,
367 CAMLprim value llvm_struct_name(LLVMTypeRef Ty) argument
370 const char *C = LLVMGetStructName(Ty);
455 LLVMTypeRef Ty = LLVMGetTypeByName(M, String_val(Name)); local
768 llvm_const_named_struct(LLVMTypeRef Ty, value ElementVals) argument
857 llvm_const_inline_asm(LLVMTypeRef Ty, value Asm, value Constraints, value HasSideEffects, value IsAlignStack) argument
969 llvm_declare_qualified_global(LLVMTypeRef Ty, value Name, value AddressSpace, LLVMModuleRef M) argument
1085 llvm_add_alias(LLVMModuleRef M, LLVMTypeRef Ty, LLVMValueRef Aliasee, value Name) argument
1120 llvm_define_function(value Name, LLVMTypeRef Ty, LLVMModuleRef M) argument
1558 llvm_build_malloc(LLVMTypeRef Ty, value Name, value B) argument
1565 llvm_build_array_malloc(LLVMTypeRef Ty, LLVMValueRef Val, value Name, value B) argument
1619 llvm_build_landingpad(LLVMTypeRef Ty, LLVMValueRef PersFn, value NumClauses, value Name, value B) argument
1837 llvm_build_alloca(LLVMTypeRef Ty, value Name, value B) argument
1843 llvm_build_array_alloca(LLVMTypeRef Ty, LLVMValueRef Size, value Name, value B) argument
1919 llvm_build_trunc(LLVMValueRef X, LLVMTypeRef Ty, value Name, value B) argument
1925 llvm_build_zext(LLVMValueRef X, LLVMTypeRef Ty, value Name, value B) argument
1931 llvm_build_sext(LLVMValueRef X, LLVMTypeRef Ty, value Name, value B) argument
1937 llvm_build_fptoui(LLVMValueRef X, LLVMTypeRef Ty, value Name, value B) argument
1943 llvm_build_fptosi(LLVMValueRef X, LLVMTypeRef Ty, value Name, value B) argument
1949 llvm_build_uitofp(LLVMValueRef X, LLVMTypeRef Ty, value Name, value B) argument
1955 llvm_build_sitofp(LLVMValueRef X, LLVMTypeRef Ty, value Name, value B) argument
1961 llvm_build_fptrunc(LLVMValueRef X, LLVMTypeRef Ty, value Name, value B) argument
1967 llvm_build_fpext(LLVMValueRef X, LLVMTypeRef Ty, value Name, value B) argument
1973 llvm_build_prttoint(LLVMValueRef X, LLVMTypeRef Ty, value Name, value B) argument
1979 llvm_build_inttoptr(LLVMValueRef X, LLVMTypeRef Ty, value Name, value B) argument
1985 llvm_build_bitcast(LLVMValueRef X, LLVMTypeRef Ty, value Name, value B) argument
1991 llvm_build_zext_or_bitcast(LLVMValueRef X, LLVMTypeRef Ty, value Name, value B) argument
1997 llvm_build_sext_or_bitcast(LLVMValueRef X, LLVMTypeRef Ty, value Name, value B) argument
2003 llvm_build_trunc_or_bitcast(LLVMValueRef X, LLVMTypeRef Ty, value Name, value B) argument
2010 llvm_build_pointercast(LLVMValueRef X, LLVMTypeRef Ty, value Name, value B) argument
2016 llvm_build_intcast(LLVMValueRef X, LLVMTypeRef Ty, value Name, value B) argument
2022 llvm_build_fpcast(LLVMValueRef X, LLVMTypeRef Ty, value Name, value B) argument
2083 llvm_build_va_arg(LLVMValueRef List, LLVMTypeRef Ty, value Name, value B) argument
[all...]
/external/llvm/bindings/ocaml/target/
H A Dtarget_ocaml.c131 CAMLprim value llvm_datalayout_size_in_bits(LLVMTypeRef Ty, value DL) { argument
132 return caml_copy_int64(LLVMSizeOfTypeInBits(DataLayout_val(DL), Ty));
136 CAMLprim value llvm_datalayout_store_size(LLVMTypeRef Ty, value DL) { argument
137 return caml_copy_int64(LLVMStoreSizeOfType(DataLayout_val(DL), Ty));
141 CAMLprim value llvm_datalayout_abi_size(LLVMTypeRef Ty, value DL) { argument
142 return caml_copy_int64(LLVMABISizeOfType(DataLayout_val(DL), Ty));
146 CAMLprim value llvm_datalayout_abi_align(LLVMTypeRef Ty, value DL) { argument
147 return Val_int(LLVMABIAlignmentOfType(DataLayout_val(DL), Ty));
151 CAMLprim value llvm_datalayout_stack_align(LLVMTypeRef Ty, value DL) { argument
152 return Val_int(LLVMCallFrameAlignmentOfType(DataLayout_val(DL), Ty));
156 llvm_datalayout_preferred_align(LLVMTypeRef Ty, value DL) argument
167 llvm_datalayout_element_at_offset(LLVMTypeRef Ty, value Offset, value DL) argument
174 llvm_datalayout_offset_of_element(LLVMTypeRef Ty, value Index, value DL) argument
[all...]
/external/llvm/include/llvm/ADT/
H A DPointerIntPair.h162 typedef PointerIntPair<PointerTy, IntBits, IntType> Ty;
163 static Ty getEmptyKey() {
165 Val <<= PointerLikeTypeTraits<Ty>::NumLowBitsAvailable;
166 return Ty::getFromOpaqueValue(reinterpret_cast<void *>(Val));
168 static Ty getTombstoneKey() {
171 return Ty::getFromOpaqueValue(reinterpret_cast<void *>(Val));
173 static unsigned getHashValue(Ty V) {
177 static bool isEqual(const Ty &LHS, const Ty &RHS) { return LHS == RHS; }
H A DPointerUnion.h122 UNION_DOESNT_CONTAIN_TYPE<T> > >::Return Ty;
123 int TyNo = Ty::Num;
283 >::Return Ty; typedef
284 return Ty(Val).template is<T>();
296 >::Return Ty; typedef
297 return Ty(Val).template get<T>();
397 >::Return Ty; typedef
398 return Val.template is<Ty>() &&
399 Val.template get<Ty>().template is<T>();
411 >::Return Ty; typedef
[all...]
H A DSTLExtras.h34 template<class Ty>
35 struct identity : public std::unary_function<Ty, Ty> {
36 Ty &operator()(Ty &self) const {
39 const Ty &operator()(const Ty &self) const {
44 template<class Ty>
45 struct less_ptr : public std::binary_function<Ty, Ty, boo
[all...]
H A Dilist.h138 template<typename Ty>
139 struct ilist_traits<const Ty> : public ilist_traits<Ty> {};
716 template<class Ty>
717 void swap(llvm::iplist<Ty> &Left, llvm::iplist<Ty> &Right) {
/external/llvm/include/llvm/Analysis/
H A DAliasAnalysis.h99 uint64_t getTypeStoreSize(Type *Ty);
H A DFindUsedTypes.h48 void IncorporateType(Type *Ty);
H A DInstructionSimplify.h208 Value *SimplifyTruncInst(Value *Op, Type *Ty, const DataLayout *TD = nullptr,
H A DScalarEvolution.h575 bool isSCEVable(Type *Ty) const;
579 uint64_t getTypeSizeInBits(Type *Ty) const;
585 Type *getEffectiveSCEVType(Type *Ty) const;
593 const SCEV *getConstant(Type *Ty, uint64_t V, bool isSigned = false);
594 const SCEV *getTruncateExpr(const SCEV *Op, Type *Ty);
595 const SCEV *getZeroExtendExpr(const SCEV *Op, Type *Ty);
596 const SCEV *getSignExtendExpr(const SCEV *Op, Type *Ty);
597 const SCEV *getAnyExtendExpr(const SCEV *Op, Type *Ty);
678 const SCEV *getTruncateOrZeroExtend(const SCEV *V, Type *Ty);
683 const SCEV *getTruncateOrSignExtend(const SCEV *V, Type *Ty);
[all...]
H A DScalarEvolutionExpander.h121 PHINode *getOrInsertCanonicalInductionVariable(const Loop *L, Type *Ty);
139 Value *expandCodeFor(const SCEV *SH, Type *Ty, Instruction *I);
197 /// ReuseOrCreateCast - Arange for there to be a cast of V to Ty at IP,
201 Value *ReuseOrCreateCast(Value *V, Type *Ty,
208 Value *InsertNoopCastOfTo(Value *V, Type *Ty);
214 PointerType *PTy, Type *Ty, Value *V);
222 Value *expandCodeFor(const SCEV *SH, Type *Ty = nullptr);
H A DScalarEvolutionExpressions.h61 Type *Ty; member in class:llvm::SCEVCastExpr
68 Type *getType() const { return Ty; }

Completed in 6476 milliseconds

1234567891011>>