Searched refs:Ty (Results 251 - 275 of 369) sorted by relevance

<<1112131415

/external/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.h166 bool isLegalAddressingMode(const AddrMode &AM, Type *Ty) const override;
/external/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.h210 bool isLegalAddressingMode(const AddrMode &AM, Type *Ty) const override;
/external/llvm/lib/Target/XCore/
H A DXCoreISelLowering.h123 bool isLegalAddressingMode(const AddrMode &AM, Type *Ty) const override;
H A DXCoreISelLowering.cpp305 Type *Ty = Type::getInt8PtrTy(*DAG.getContext()); local
306 Constant *GA = ConstantExpr::getBitCast(const_cast<GlobalValue*>(GV), Ty);
307 Ty = Type::getInt32Ty(*DAG.getContext());
308 Constant *Idx = ConstantInt::get(Ty, Offset);
486 Entry.Ty = IntPtrTy;
543 Entry.Ty = IntPtrTy;
1911 Type *Ty) const {
1912 if (Ty->getTypeID() == Type::VoidTyID)
1916 unsigned Size = TD->getTypeAllocSize(Ty);
/external/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp572 Type *Ty = TripCnt->getType(); local
574 PHINode *TcPhi = PHINode::Create(Ty, 2, "tcphi", Body->begin());
578 Value *Opnd2 = cast<Value>(ConstantInt::get(Ty, 1));
589 LbCond->setOperand(1, cast<Value>(ConstantInt::get(Ty, 0)));
/external/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp426 Type *Ty = AI->getType(); local
427 Type *Int8PtrTy = Type::getInt8PtrTy(Ty->getContext(),
428 Ty->getPointerAddressSpace());
429 if (Ty == Int8PtrTy)
/external/clang/include/clang/AST/
H A DASTContext.h969 bool BlockRequiresCopying(QualType Ty, const VarDecl *D);
975 bool getByrefLifetime(QualType Ty,
1024 QualType getVariableArrayDecayedType(QualType Ty) const;
1505 return getQualifiedType(split.Ty, split.Quals);
1593 Qualifiers::GC getObjCGCAttrKind(QualType Ty) const;
1604 static bool isObjCNSObjectType(QualType Ty) { argument
1605 return Ty->isObjCNSObjectType();
H A DType.h497 const Type *Ty; member in struct:clang::SplitQualType
502 SplitQualType() : Ty(nullptr), Quals() {}
503 SplitQualType(const Type *ty, Qualifiers qs) : Ty(ty), Quals(qs) {}
509 return std::pair<const Type *, Qualifiers>(Ty, Quals);
513 return a.Ty == b.Ty && a.Quals == b.Quals;
516 return a.Ty != b.Ty || a.Quals != b.Quals;
867 return getAsString(split.Ty, split.Quals);
879 return print(split.Ty, spli
[all...]
H A DExpr.h1419 ImaginaryLiteral(Expr *val, QualType Ty) argument
1420 : Expr(ImaginaryLiteralClass, Ty, VK_RValue, OK_Ordinary, false, false,
1484 StringLiteral(QualType Ty) : argument
1485 Expr(StringLiteralClass, Ty, VK_LValue, OK_Ordinary, false, false, false,
1494 StringKind Kind, bool Pascal, QualType Ty,
1499 StringKind Kind, bool Pascal, QualType Ty,
1501 return Create(C, Str, Kind, Pascal, Ty, &Loc, 1);
1965 TypeSourceInfo *Ty;
1983 Argument.Ty = TInfo;
2016 return Argument.Ty;
1498 Create(const ASTContext &C, StringRef Str, StringKind Kind, bool Pascal, QualType Ty, SourceLocation Loc) argument
3640 GNUNullExpr(QualType Ty, SourceLocation Loc) argument
[all...]
/external/clang/lib/Parse/
H A DParser.cpp1541 TypeResult Ty; local
1544 Ty = Actions.ActOnTypenameType(getCurScope(), TypenameLoc, SS,
1559 Ty = Actions.ActOnTypenameType(getCurScope(), TypenameLoc, SS,
1574 setTypeAnnotation(Tok, Ty.isInvalid() ? ParsedType() : Ty.get());
1603 if (ParsedType Ty = Actions.getTypeName(*Tok.getIdentifierInfo(),
1618 setTypeAnnotation(Tok, Ty);
/external/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp482 Type *Ty = I->getOperand(0)->getType(); local
487 if (StructType *StTy = dyn_cast<StructType>(Ty)) {
501 Ty = StTy->getElementType(Field);
503 Ty = cast<SequentialType>(Ty)->getElementType();
510 DL.getTypeAllocSize(Ty)*cast<ConstantInt>(CI)->getSExtValue();
531 uint64_t ElementSize = DL.getTypeAllocSize(Ty);
/external/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp567 Type *Ty = AI->getAllocatedType(); local
568 uint64_t SizeInBytes = ASan.DL->getTypeAllocSize(Ty);
917 Type *Ty = cast<PointerType>(G->getType())->getElementType(); local
922 if (!Ty->isSized()) return false;
1062 Type *Ty = PtrTy->getElementType(); local
1063 uint64_t SizeInBytes = DL->getTypeAllocSize(Ty);
1077 StructType *NewTy = StructType::get(Ty, RightRedZoneTy, NULL);
/external/clang/lib/Sema/
H A DSemaOverload.cpp5103 QualType Ty = S.Context.getObjCIdType(); local
5105 = TryImplicitConversion(S, From, Ty,
5139 QualType Ty = Context.getObjCIdType();
5143 return PerformImplicitConversion(From, Ty, ICS, AA_Converting);
6550 bool AddPointerWithMoreQualifiedTypeVariants(QualType Ty,
6552 bool AddMemberPointerWithMoreQualifiedTypeVariants(QualType Ty);
6565 void AddTypesConvertedFrom(QualType Ty,
6599 /// AddPointerWithMoreQualifiedTypeVariants - Add the pointer type @p Ty to
6601 /// that type. For example, if @p Ty is "int const *", this routine
6604 /// pointer types. Returns true if the add of @p Ty itsel
6609 AddPointerWithMoreQualifiedTypeVariants(QualType Ty, const Qualifiers &VisibleQuals) argument
6678 AddMemberPointerWithMoreQualifiedTypeVariants( QualType Ty) argument
6719 AddTypesConvertedFrom(QualType Ty, SourceLocation Loc, bool AllowUserConversions, bool AllowExplicitConversions, const Qualifiers &VisibleQuals) argument
[all...]
/external/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp1254 /// \brief Build a truncate instruction of \p Opnd producing a \p Ty
1256 /// trunc Opnd to Ty.
1257 TruncBuilder(Instruction *Opnd, Type *Ty) : TypePromotionAction(Opnd) { argument
1259 Inst = cast<Instruction>(Builder.CreateTrunc(Opnd, Ty, "promoted"));
1276 /// \brief Build a sign extension instruction of \p Opnd producing a \p Ty
1278 /// sext Opnd to Ty.
1279 SExtBuilder(Instruction *InsertPt, Value *Opnd, Type *Ty) argument
1282 Inst = cast<Instruction>(Builder.CreateSExt(Opnd, Ty, "promoted"));
1421 Instruction *createTrunc(Instruction *Opnd, Type *Ty);
1423 Instruction *createSExt(Instruction *Inst, Value *Opnd, Type *Ty);
1455 createTrunc(Instruction *Opnd, Type *Ty) argument
1463 createSExt(Instruction *Inst, Value *Opnd, Type *Ty) argument
[all...]
/external/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp113 bool isTypeLegal(Type *Ty, MVT &VT);
114 bool isLoadStoreTypeLegal(Type *Ty, MVT &VT);
322 if (const PointerType *Ty = dyn_cast<PointerType>(Obj->getType()))
323 if (Ty->getAddressSpace() > 255)
414 bool AArch64FastISel::isTypeLegal(Type *Ty, MVT &VT) { argument
415 EVT evt = TLI.getValueType(Ty, true);
431 bool AArch64FastISel::isLoadStoreTypeLegal(Type *Ty, MVT &VT) { argument
432 if (isTypeLegal(Ty, VT))
882 Type *Ty = Src1Value->getType(); local
883 EVT SrcEVT = TLI.getValueType(Ty, tru
[all...]
/external/llvm/lib/Target/PowerPC/
H A DPPCFastISel.cpp110 unsigned FastEmit_i(MVT Ty, MVT RetTy, unsigned Opc, uint64_t Imm) override;
141 bool isTypeLegal(Type *Ty, MVT &VT);
142 bool isLoadTypeLegal(Type *Ty, MVT &VT);
252 // Determine whether the type Ty is simple enough to be handled by
255 bool PPCFastISel::isTypeLegal(Type *Ty, MVT &VT) { argument
256 EVT Evt = TLI.getValueType(Ty, true);
267 // Determine whether the type Ty is simple enough to be handled by
269 bool PPCFastISel::isLoadTypeLegal(Type *Ty, MVT &VT) { argument
270 if (isTypeLegal(Ty, VT)) return true;
735 Type *Ty local
2180 FastEmit_i(MVT Ty, MVT VT, unsigned Opc, uint64_t Imm) argument
[all...]
/external/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp872 Type *Ty = PtrTy->getPointerElementType();
873 if (!Ty->isSized())
881 if (int64_t TySize = DL->getTypeAllocSize(Ty)) {
899 if (uint64_t(Offset*8) >= DL->getTypeSizeInBits(Ty))
902 if (StructType *STy = dyn_cast<StructType>(Ty)) {
908 NewIndices.push_back(ConstantInt::get(Type::getInt32Ty(Ty->getContext()),
912 Ty = STy->getElementType(Elt);
913 } else if (ArrayType *AT = dyn_cast<ArrayType>(Ty)) {
918 Ty = AT->getElementType();
925 return Ty;
[all...]
/external/clang/lib/AST/
H A DDeclPrinter.cpp412 QualType Ty = D->getType(); local
413 while (const ParenType *PT = dyn_cast<ParenType>(Ty)) {
415 Ty = PT->getInnerType();
418 if (const FunctionType *AFT = Ty->getAs<FunctionType>()) {
563 Ty.print(Out, Policy, Proto);
/external/llvm/lib/Analysis/IPA/
H A DInlineCost.cpp279 Type *Ty = I.getAllocatedType(); local
280 AllocatedSize += Ty->getPrimitiveSizeInBits() * AllocSize->getZExtValue();
287 Type *Ty = I.getAllocatedType(); local
288 AllocatedSize += (DL ? DL->getTypeAllocSize(Ty) :
289 Ty->getPrimitiveSizeInBits());
/external/clang/lib/CodeGen/
H A DCGStmt.cpp967 void CodeGenFunction::EmitReturnOfRValue(RValue RV, QualType Ty) { argument
971 EmitAggregateCopy(ReturnValue, RV.getAggregateAddr(), Ty);
974 MakeNaturalAlignAddrLValue(ReturnValue, Ty),
1690 llvm::Type *Ty = ConvertType(InputType); local
1691 uint64_t Size = CGM.getDataLayout().getTypeSizeInBits(Ty);
1693 Ty = llvm::IntegerType::get(getLLVMContext(), Size);
1694 Ty = llvm::PointerType::getUnqual(Ty);
1697 Ty));
H A DMicrosoftCXXABI.cpp67 llvm::Constant *getAddrOfRTTIDescriptor(QualType Ty) override;
210 llvm::Type *Ty) override;
1363 llvm::Type *Ty) {
1367 Ty = Ty->getPointerTo()->getPointerTo();
1370 llvm::Value *VTable = CGF.GetVTablePtr(VPtr, Ty);
1391 llvm::Type *Ty = CGF.CGM.getTypes().GetFunctionType(*FInfo); local
1392 llvm::Value *Callee = getVirtualFunctionPointer(CGF, GD, This, Ty);
1958 llvm::Type *Ty; local
1962 Ty
1360 getVirtualFunctionPointer(CodeGenFunction &CGF, GlobalDecl GD, llvm::Value *This, llvm::Type *Ty) argument
2588 getLinkageForRTTI(QualType Ty) argument
[all...]
H A DCGBlocks.cpp2011 QualType Ty = D->getType();
2031 bool HasCopyAndDispose = getContext().BlockRequiresCopying(Ty, D);
2041 if (getContext().getByrefLifetime(Ty, Lifetime, HasByrefExtendedLayout) &&
2070 llvm::Type *Ty = Int8Ty; local
2074 Ty = llvm::ArrayType::get(Ty, NumPaddingBytes);
2076 types.push_back(Ty);
2084 types.push_back(ConvertTypeForMem(Ty));
/external/clang/lib/Analysis/
H A DCFG.cpp1108 QualType Ty = (*I)->getType(); local
1109 if (Ty->isReferenceType()) {
1110 Ty = getReferenceInitTemporaryType(*Context, (*I)->getInit());
1112 Ty = Context->getBaseElementType(Ty);
1114 const CXXDestructorDecl *Dtor = Ty->getAsCXXRecordDecl()->getDestructor();
1697 QualType Ty = E->getType(); local
1698 if (Ty->isFunctionPointerType())
1699 Ty = Ty
[all...]
H A DLiveVariables.cpp218 static const VariableArrayType *FindVA(QualType Ty) { argument
219 const Type *ty = Ty.getTypePtr();
/external/clang/include/clang/Sema/
H A DInitialization.h996 void AddQualificationConversionStep(QualType Ty,
1003 void AddLValueToRValueStep(QualType Ty);

Completed in 1222 milliseconds

<<1112131415