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

123456789

/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/StaticAnalyzer/Core/
H A DConstraintManager.cpp37 QualType Ty = Sym->getType(Mgr.getContext()); local
38 DefinedSVal V = Loc::isLocType(Ty) ? getLocFromSymbol(State, Sym)
/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/Target/Hexagon/
H A DHexagonTargetObjectFile.cpp75 Type *Ty = GV->getType()->getElementType(); local
76 return IsInSmallSection(TM.getTargetData()->getTypeAllocSize(Ty));
/external/llvm/lib/Transforms/Utils/
H A DModuleUtils.cpp26 StructType *Ty = StructType::get( local
30 Ty, IRB.getInt32(Priority), F, NULL);
/external/llvm/lib/VMCore/
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 DValueTypes.cpp205 EVT EVT::getEVT(Type *Ty, bool HandleUnknown){ argument
206 switch (Ty->getTypeID()) {
213 return getIntegerVT(Ty->getContext(), cast<IntegerType>(Ty)->getBitWidth());
223 VectorType *VTy = cast<VectorType>(Ty);
224 return getVectorVT(Ty->getContext(), getEVT(VTy->getElementType(), false),
/external/llvm/unittests/VMCore/
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/CodeGen/
H A DCodeGenTBAA.cpp88 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); local
90 if (llvm::MDNode *N = MetadataCache[Ty])
94 if (const BuiltinType *BTy = dyn_cast<BuiltinType>(Ty)) {
123 return MetadataCache[Ty] =
131 if (Ty->isPointerType())
132 return MetadataCache[Ty] = MDHelper.createTBAANode("any pointer",
137 if (const EnumType *ETy = dyn_cast<EnumType>(Ty)) {
144 return MetadataCache[Ty] = getChar();
152 return MetadataCache[Ty] = getChar();
160 return MetadataCache[Ty]
[all...]
/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.cpp50 QualType Ty = Ctx.getPointerType(Ctx.getRecordType(MD->getParent())); local
53 State = State->setDynamicTypeInfo(Region, Ty, /*CanBeSubclass=*/false);
/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.h118 static void addGlobalExtension(ExtensionPointTy Ty, ExtensionFn Fn);
119 void addExtension(ExtensionPointTy Ty, ExtensionFn Fn);
142 RegisterStandardPasses(PassManagerBuilder::ExtensionPointTy Ty, argument
144 PassManagerBuilder::addGlobalExtension(Ty, Fn);
/external/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp54 GenericValue Src2, Type *Ty) {
55 switch (Ty->getTypeID()) {
59 dbgs() << "Unhandled type for FAdd instruction: " << *Ty << "\n";
65 GenericValue Src2, Type *Ty) {
66 switch (Ty->getTypeID()) {
70 dbgs() << "Unhandled type for FSub instruction: " << *Ty << "\n";
76 GenericValue Src2, Type *Ty) {
77 switch (Ty->getTypeID()) {
81 dbgs() << "Unhandled type for FMul instruction: " << *Ty << "\n";
87 GenericValue Src2, Type *Ty) {
53 executeFAddInst(GenericValue &Dest, GenericValue Src1, GenericValue Src2, Type *Ty) argument
64 executeFSubInst(GenericValue &Dest, GenericValue Src1, GenericValue Src2, Type *Ty) argument
75 executeFMulInst(GenericValue &Dest, GenericValue Src1, GenericValue Src2, Type *Ty) argument
86 executeFDivInst(GenericValue &Dest, GenericValue Src1, GenericValue Src2, Type *Ty) argument
97 executeFRemInst(GenericValue &Dest, GenericValue Src1, GenericValue Src2, Type *Ty) argument
127 executeICMP_EQ(GenericValue Src1, GenericValue Src2, Type *Ty) argument
140 executeICMP_NE(GenericValue Src1, GenericValue Src2, Type *Ty) argument
153 executeICMP_ULT(GenericValue Src1, GenericValue Src2, Type *Ty) argument
[all...]
/external/clang/lib/AST/
H A DTypeLoc.cpp55 unsigned TypeLoc::getFullDataSizeForType(QualType Ty) { argument
56 if (Ty.isNull()) return 0;
57 return TypeSizer().Visit(TypeLoc(Ty, 0));
/external/llvm/include/llvm/ADT/
H A DPointerUnion.h124 UNION_DOESNT_CONTAIN_TYPE<T> > >::Return Ty;
125 int TyNo = Ty::Num;
268 >::Return Ty; typedef
269 return Ty(Val).template is<T>();
281 >::Return Ty; typedef
282 return Ty(Val).template get<T>();
376 >::Return Ty; typedef
377 return Val.template is<Ty>() &&
378 Val.template get<Ty>().template is<T>();
390 >::Return Ty; typedef
[all...]
/external/llvm/lib/CodeGen/
H A DStackProtector.cpp61 bool ContainsProtectableArray(Type *Ty, bool InStruct = false) const;
105 bool StackProtector::ContainsProtectableArray(Type *Ty, bool InStruct) const { argument
106 if (!Ty) return false;
107 if (ArrayType *AT = dyn_cast<ArrayType>(Ty)) {
124 const StructType *ST = dyn_cast<StructType>(Ty);
/external/llvm/lib/Target/
H A DMangler.cpp165 Type *Ty = AI->getType(); local
168 Ty = cast<PointerType>(Ty)->getElementType();
170 ArgWords += ((TD.getTypeAllocSize(Ty) + 3)/4)*4;
H A DTarget.cpp65 unsigned long long LLVMSizeOfTypeInBits(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument
66 return unwrap(TD)->getTypeSizeInBits(unwrap(Ty));
69 unsigned long long LLVMStoreSizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument
70 return unwrap(TD)->getTypeStoreSize(unwrap(Ty));
73 unsigned long long LLVMABISizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument
74 return unwrap(TD)->getTypeAllocSize(unwrap(Ty));
77 unsigned LLVMABIAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument
78 return unwrap(TD)->getABITypeAlignment(unwrap(Ty));
81 unsigned LLVMCallFrameAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument
82 return unwrap(TD)->getCallFrameTypeAlignment(unwrap(Ty));
85 LLVMPreferredAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) argument
[all...]
/external/llvm/lib/Transforms/IPO/
H A DPassManagerBuilder.cpp64 PassManagerBuilder::ExtensionPointTy Ty,
66 GlobalExtensions->push_back(std::make_pair(Ty, Fn));
69 void PassManagerBuilder::addExtension(ExtensionPointTy Ty, ExtensionFn Fn) { argument
70 Extensions.push_back(std::make_pair(Ty, Fn));
63 addGlobalExtension( PassManagerBuilder::ExtensionPointTy Ty, PassManagerBuilder::ExtensionFn Fn) argument
/external/llvm/lib/Transforms/Scalar/
H A DGlobalMerge.cpp140 Type *Ty = Globals[j]->getType()->getElementType(); local
141 MergedSize += TD->getTypeAllocSize(Ty);
145 Tys.push_back(Ty);
186 Type *Ty = I->getType()->getElementType(); local
187 if (Alignment > TD->getABITypeAlignment(Ty))
195 if (TD->getTypeAllocSize(Ty) < MaxOffset) {
/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...]

Completed in 332 milliseconds

123456789