Searched defs:Ty (Results 1 - 25 of 237) sorted by relevance

12345678910

/external/llvm/include/llvm/CodeGen/
H A DAnalysis.h37 unsigned ComputeLinearIndex(Type *Ty,
42 inline unsigned ComputeLinearIndex(Type *Ty, argument
45 return ComputeLinearIndex(Ty, Indices.begin(), Indices.end(), CurIndex);
55 void ComputeValueVTs(const TargetLowering &TLI, Type *Ty,
H A DMachineConstantPool.h38 Type *Ty; member in class:llvm::MachineConstantPoolValue
41 explicit MachineConstantPoolValue(Type *ty) : Ty(ty) {}
46 Type *getType() const { return Ty; }
/external/clang/lib/AST/
H A DMangleNumberingContext.cpp36 const Type *Ty = 0; local
37 return ++ManglingNumbers[Ty];
H A DTypeLoc.cpp56 unsigned TypeLoc::getLocalAlignmentForType(QualType Ty) { argument
57 if (Ty.isNull()) return 1;
58 return TypeAligner().Visit(TypeLoc(Ty, 0));
74 unsigned TypeLoc::getFullDataSizeForType(QualType Ty) { argument
76 TypeLoc TyLoc(Ty, 0);
/external/clang/lib/StaticAnalyzer/Core/
H A DConstraintManager.cpp30 QualType Ty = Sym->getType(); local
31 DefinedSVal V = Loc::isLocType(Ty) ? getLocFromSymbol(State, Sym)
/external/llvm/include/llvm/Target/
H A DCostTable.h31 unsigned len, int ISD, TypeTy Ty) {
33 if (Tbl[i].ISD == ISD && Tbl[i].Type == Ty)
30 CostTableLookup(const CostTblEntry<TypeTy> *Tbl, unsigned len, int ISD, TypeTy Ty) argument
/external/llvm/lib/Analysis/IPA/
H A DFindUsedTypes.cpp32 void FindUsedTypes::IncorporateType(Type *Ty) { argument
35 if (!UsedTypes.insert(Ty)) return; // Already contain Ty.
39 for (Type::subtype_iterator I = Ty->subtype_begin(), E = Ty->subtype_end();
/external/llvm/lib/IR/
H A DTypeFinder.cpp93 void TypeFinder::incorporateType(Type *Ty) { argument
95 if (!VisitedTypes.insert(Ty).second)
99 if (StructType *STy = dyn_cast<StructType>(Ty))
104 for (Type::subtype_iterator I = Ty->subtype_begin(),
105 E = Ty->subtype_end(); I != E; ++I)
H A DDataLayout.cpp52 Type *Ty = ST->getElementType(i); local
53 unsigned TyAlign = ST->isPacked() ? 1 : DL.getABITypeAlignment(Ty);
63 StructSize += DL.getTypeAllocSize(Ty); // Consume space for this data item
357 Type *Ty) const {
393 unsigned Align = getTypeAllocSize(cast<VectorType>(Ty)->getElementType());
394 Align *= cast<VectorType>(Ty)->getNumElements();
445 const StructLayout *DataLayout::getStructLayout(StructType *Ty) const {
450 StructLayout *&SL = (*STM)[Ty];
455 int NumElts = Ty->getNumElements();
463 new (L) StructLayout(Ty, *thi
[all...]
H A DValueTypes.cpp237 MVT MVT::getVT(Type *Ty, bool HandleUnknown){ argument
238 switch (Ty->getTypeID()) {
245 return getIntegerVT(cast<IntegerType>(Ty)->getBitWidth());
255 VectorType *VTy = cast<VectorType>(Ty);
265 EVT EVT::getEVT(Type *Ty, bool HandleUnknown){ argument
266 switch (Ty->getTypeID()) {
268 return MVT::getVT(Ty, HandleUnknown);
270 return getIntegerVT(Ty->getContext(), cast<IntegerType>(Ty)->getBitWidth());
272 VectorType *VTy = cast<VectorType>(Ty);
[all...]
/external/llvm/lib/Target/Hexagon/
H A DHexagonTargetObjectFile.cpp81 Type *Ty = GV->getType()->getElementType(); local
82 return IsInSmallSection(TM.getDataLayout()->getTypeAllocSize(Ty));
/external/llvm/lib/Transforms/IPO/
H A DExtractGV.cpp106 Type *Ty = CurI->getType()->getElementType(); local
110 if (FunctionType *FTy = dyn_cast<FunctionType>(Ty)) {
116 new GlobalVariable(M, Ty, false, GlobalValue::ExternalLinkage,
/external/llvm/unittests/IR/
H A DVerifierTest.cpp50 Type *Ty = Type::getInt8Ty(C); local
51 Constant *Init = Constant::getNullValue(Ty);
52 GlobalVariable *Aliasee = new GlobalVariable(M, Ty, true,
/external/clang/lib/Analysis/
H A DCocoaConventions.cpp59 bool cocoa::isCocoaObjectRef(QualType Ty) { argument
60 if (!Ty->isObjCObjectPointerType())
63 const ObjCObjectPointerType *PT = Ty->getAs<ObjCObjectPointerType>();
/external/clang/lib/StaticAnalyzer/Checkers/
H A DBoolAssignmentChecker.cpp42 static bool isBooleanType(QualType Ty) { argument
43 if (Ty->isBooleanType()) // C++ or C99
46 if (const TypedefType *TT = Ty->getAs<TypedefType>())
H A DDynamicTypePropagation.cpp52 QualType Ty = Ctx.getPointerType(Ctx.getRecordType(MD->getParent())); local
55 State = State->setDynamicTypeInfo(Region, Ty, /*CanBeSubclass=*/false);
/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/bindings/ocaml/target/
H A Dtarget_ocaml.c57 CAMLprim value llvm_size_in_bits(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument
58 return caml_copy_int64(LLVMSizeOfTypeInBits(TD, Ty));
62 CAMLprim value llvm_store_size(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument
63 return caml_copy_int64(LLVMStoreSizeOfType(TD, Ty));
67 CAMLprim value llvm_abi_size(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument
68 return caml_copy_int64(LLVMABISizeOfType(TD, Ty));
72 CAMLprim value llvm_abi_align(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument
73 return Val_int(LLVMABIAlignmentOfType(TD, Ty));
77 CAMLprim value llvm_stack_align(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument
78 return Val_int(LLVMCallFrameAlignmentOfType(TD, Ty));
82 llvm_preferred_align(LLVMTargetDataRef TD, LLVMTypeRef Ty) argument
93 llvm_element_at_offset(LLVMTargetDataRef TD, LLVMTypeRef Ty, value Offset) argument
99 llvm_offset_of_element(LLVMTargetDataRef TD, LLVMTypeRef Ty, value Index) argument
[all...]
/external/llvm/include/llvm/Support/
H A DGetElementPtrTypeIterator.h33 static generic_gep_type_iterator begin(Type *Ty, ItTy It) { argument
35 I.CurTy = Ty;
/external/llvm/include/llvm/Transforms/IPO/
H A DPassManagerBuilder.h120 static void addGlobalExtension(ExtensionPointTy Ty, ExtensionFn Fn);
121 void addExtension(ExtensionPointTy Ty, ExtensionFn Fn);
144 RegisterStandardPasses(PassManagerBuilder::ExtensionPointTy Ty, argument
146 PassManagerBuilder::addGlobalExtension(Ty, Fn);
/external/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp83 static bool isZeroLengthArray(Type *Ty) { argument
84 ArrayType *AT = dyn_cast<ArrayType>(Ty);
/external/llvm/lib/Transforms/Utils/
H A DModuleUtils.cpp27 StructType *Ty = StructType::get( local
31 Ty, IRB.getInt32(Priority), F, NULL);
/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/llvm/lib/Target/
H A DMangler.cpp170 Type *Ty = AI->getType(); local
173 Ty = cast<PointerType>(Ty)->getElementType();
175 ArgWords += ((TD.getTypeAllocSize(Ty) + 3)/4)*4;
/external/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp42 unsigned getScalarizationOverhead(Type *Ty, bool Insert, bool Extract) const;
89 virtual unsigned getArithmeticInstrCost(unsigned Opcode, Type *Ty,
126 assert(isPowerOf2_32(TyWidth) && "Ty width must be power of 2");
171 unsigned PPCTTI::getArithmeticInstrCost(unsigned Opcode, Type *Ty, argument
177 return TargetTransformInfo::getArithmeticInstrCost(Opcode, Ty, Op1Info,

Completed in 1169 milliseconds

12345678910