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

1234567891011>>

/external/llvm/include/llvm/CodeGen/
H A DAnalysis.h42 /// \param Ty is the type indexed by \p Indices.
48 /// \returns \p CurIndex plus the linear index in \p Ty the indices list.
49 unsigned ComputeLinearIndex(Type *Ty,
54 inline unsigned ComputeLinearIndex(Type *Ty, argument
57 return ComputeLinearIndex(Ty, Indices.begin(), Indices.end(), CurIndex);
67 void ComputeValueVTs(const TargetLowering &TLI, Type *Ty,
H A DMachineConstantPool.h39 Type *Ty; member in class:llvm::MachineConstantPoolValue
42 explicit MachineConstantPoolValue(Type *ty) : Ty(ty) {}
47 Type *getType() const { return Ty; }
/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 CompareTy Ty) {
33 if (ISD == Tbl[i].ISD && Ty == Tbl[i].Type)
43 CompareTy Ty) {
44 return CostTableLookup(Tbl, N, ISD, Ty);
30 CostTableLookup(const CostTblEntry<TypeTy> *Tbl, unsigned len, int ISD, CompareTy Ty) argument
/external/llvm/lib/IR/
H A DTypeFinder.cpp99 void TypeFinder::incorporateType(Type *Ty) { argument
101 if (!VisitedTypes.insert(Ty).second)
105 TypeWorklist.push_back(Ty);
107 Ty = TypeWorklist.pop_back_val();
110 if (StructType *STy = dyn_cast<StructType>(Ty))
115 for (Type::subtype_reverse_iterator I = Ty->subtype_rbegin(),
116 E = Ty->subtype_rend();
H A DMangler.cpp81 Type *Ty = AI->getType(); local
84 Ty = cast<PointerType>(Ty)->getElementType();
87 ArgWords += RoundUpToAlignment(DL.getTypeAllocSize(Ty), PtrSize);
/external/llvm/lib/Target/Hexagon/
H A DHexagonTargetObjectFile.cpp77 Type *Ty = GV->getType()->getElementType(); local
78 return IsInSmallSection(TM.getDataLayout()->getTypeAllocSize(Ty));
/external/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp34 unsigned SystemZTTIImpl::getIntImmCost(const APInt &Imm, Type *Ty) { argument
35 assert(Ty->isIntegerTy());
37 unsigned BitSize = Ty->getPrimitiveSizeInBits();
67 const APInt &Imm, Type *Ty) {
68 assert(Ty->isIntegerTy());
70 unsigned BitSize = Ty->getPrimitiveSizeInBits();
181 return SystemZTTIImpl::getIntImmCost(Imm, Ty);
185 const APInt &Imm, Type *Ty) {
186 assert(Ty->isIntegerTy());
188 unsigned BitSize = Ty
66 getIntImmCost(unsigned Opcode, unsigned Idx, const APInt &Imm, Type *Ty) argument
184 getIntImmCost(Intrinsic::ID IID, unsigned Idx, const APInt &Imm, Type *Ty) argument
[all...]
/external/llvm/lib/Transforms/IPO/
H A DExtractGV.cpp125 Type *Ty = CurI->getType()->getElementType(); variable
129 if (FunctionType *FTy = dyn_cast<FunctionType>(Ty)) {
135 new GlobalVariable(M, Ty, false, GlobalValue::ExternalLinkage,
/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/CodeGen/
H A DCodeGenABITypes.cpp49 CodeGenABITypes::arrangeFreeFunctionType(CanQual<FunctionProtoType> Ty) { argument
50 return CGM->getTypes().arrangeFreeFunctionType(Ty);
54 CodeGenABITypes::arrangeFreeFunctionType(CanQual<FunctionNoProtoType> Ty) { argument
55 return CGM->getTypes().arrangeFreeFunctionType(Ty);
H A DSanitizerMetadata.cpp26 QualType Ty, bool IsDynInit,
30 IsDynInit &= !CGM.isInSanitizerBlacklist(GV, Loc, Ty, "init");
31 IsBlacklisted |= CGM.isInSanitizerBlacklist(GV, Loc, Ty);
24 reportGlobalToASan(llvm::GlobalVariable *GV, SourceLocation Loc, StringRef Name, QualType Ty, bool IsDynInit, bool IsBlacklisted) argument
/external/llvm/lib/Target/NVPTX/
H A DNVPTXTargetTransformInfo.cpp93 unsigned Opcode, Type *Ty, TTI::OperandValueKind Opd1Info,
97 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(Ty);
103 return BaseT::getArithmeticInstrCost(Opcode, Ty, Opd1Info, Opd2Info,
116 return BaseT::getArithmeticInstrCost(Opcode, Ty, Opd1Info, Opd2Info,
92 getArithmeticInstrCost( unsigned Opcode, Type *Ty, TTI::OperandValueKind Opd1Info, TTI::OperandValueKind Opd2Info, TTI::OperandValueProperties Opd1PropInfo, TTI::OperandValueProperties Opd2PropInfo) argument
/external/clang/lib/AST/
H A DItaniumCXXABI.cpp74 const Type *Ty = nullptr; variable
75 return ++ManglingNumbers[Ty];
H A DMicrosoftCXXABI.cpp45 const Type *Ty = nullptr; variable
46 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, nullptr));
74 unsigned TypeLoc::getFullDataSizeForType(QualType Ty) { argument
76 TypeLoc TyLoc(Ty, nullptr);
/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);
H A DStackAddrEscapeChecker.cpp82 QualType Ty = TOR->getValueType().getLocalUnqualifiedType(); local
84 Ty.print(os, Ctx.getPrintingPolicy());
/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/include/llvm/IR/
H A DGetElementPtrTypeIterator.h33 static generic_gep_type_iterator begin(Type *Ty, ItTy It) { argument
35 I.CurTy = Ty;
H A DGlobalObject.h30 GlobalObject(PointerType *Ty, ValueTy VTy, Use *Ops, unsigned NumOps, argument
32 : GlobalValue(Ty, VTy, Ops, NumOps, Linkage, Name), ObjComdat(nullptr) {
/external/llvm/lib/Target/Mips/
H A DMipsCCState.cpp45 /// This function returns true if Ty is fp128, {f128} or i128 which was
47 static bool originalTypeIsF128(const Type *Ty, const SDNode *CallNode) { argument
48 if (Ty->isFP128Ty())
51 if (Ty->isStructTy() && Ty->getStructNumElements() == 1 &&
52 Ty->getStructElementType(0)->isFP128Ty())
58 // If the Ty is i128 and the function being called is a long double emulation
60 return (ES && Ty->isIntegerTy(128) && isF128SoftLibCall(ES->getSymbol()));
111 originalTypeIsF128(FuncArgs[Outs[i].OrigArgIndex].Ty, CallNode));
113 FuncArgs[Outs[i].OrigArgIndex].Ty
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp184 static bool containsGCPtrType(Type *Ty) { argument
185 if (isGCPointerType(Ty))
187 if (VectorType *VT = dyn_cast<VectorType>(Ty))
189 if (ArrayType *AT = dyn_cast<ArrayType>(Ty))
191 if (StructType *ST = dyn_cast<StructType>(Ty))
201 static bool isUnhandledGCPointerType(Type *Ty) {
202 return containsGCPtrType(Ty) && !isHandledGCPointerType(Ty);
/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...]

Completed in 646 milliseconds

1234567891011>>