Searched refs:Ty (Results 201 - 225 of 295) sorted by relevance

1234567891011>>

/external/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp257 static inline bool isZeroLengthArray(Type *Ty) { argument
258 ArrayType *AT = dyn_cast_or_null<ArrayType>(Ty);
279 Type *Ty = cast<PointerType>(GV->getType())->getElementType(); local
280 if (!Ty->isSized() || isZeroLengthArray(Ty)) {
289 unsigned Size = TD->getTypeAllocSize(Ty);
484 Entry.Ty = IntPtrTy;
543 Entry.Ty = IntPtrTy;
1569 Type *Ty) const {
1570 if (Ty
[all...]
H A DXCoreISelLowering.h104 Type *Ty) const;
/external/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp741 Type *InstCombiner::FindElementAtOffset(Type *Ty, int64_t Offset, argument
744 if (!Ty->isSized()) return 0;
749 Type *IntPtrTy = TD->getIntPtrType(Ty->getContext());
751 if (int64_t TySize = TD->getTypeAllocSize(Ty)) {
769 if (uint64_t(Offset*8) >= TD->getTypeSizeInBits(Ty))
772 if (StructType *STy = dyn_cast<StructType>(Ty)) {
778 NewIndices.push_back(ConstantInt::get(Type::getInt32Ty(Ty->getContext()),
782 Ty = STy->getElementType(Elt);
783 } else if (ArrayType *AT = dyn_cast<ArrayType>(Ty)) {
788 Ty
[all...]
H A DInstCombineMulDivRem.cpp419 /// be truncated to Ty without losing bits.
420 static Value *dyn_castZExtVal(Value *V, Type *Ty) { argument
422 if (Z->getSrcTy() == Ty)
425 if (C->getValue().getActiveBits() <= cast<IntegerType>(Ty)->getBitWidth())
426 return ConstantExpr::getTrunc(C, Ty);
/external/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp104 static bool isPointerToConst(QualType Ty) { argument
105 QualType PointeeTy = Ty->getPointeeType();
480 QualType Ty = Ctx.getPointerType(Ctx.getRecordType(Class)); local
484 ThisVal = StateMgr.getStoreManager().evalDynamicCast(ThisVal, Ty, Failed);
H A DExprEngineC.cpp475 QualType Ty = InitEx->getType(); local
477 Ty = getContext().getPointerType(Ty);
480 InitVal = svalBuilder.conjureSymbolVal(0, InitEx, LC, Ty,
/external/llvm/include/llvm/Analysis/
H A DInstructionSimplify.h164 Value *SimplifyTruncInst(Value *Op, Type *Ty, const TargetData *TD = 0,
/external/llvm/include/llvm/
H A DAttributes.h177 Attributes typeIncompatible(Type *Ty);
/external/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h240 Type *Ty, ExecutionContext &SF);
/external/llvm/lib/ExecutionEngine/JIT/
H A DJITEmitter.cpp775 Type *Ty = CPE.getType(); local
776 Size += TD->getTypeAllocSize(Ty);
1089 Type *Ty = CPE.Val.ConstVal->getType(); local
1090 Offset += TheJIT->getTargetData()->getTypeAllocSize(Ty);
/external/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp34 const Type *Ty = T->getCanonicalTypeInternal().getTypePtr(); local
35 if (const RecordType *RecordTy = dyn_cast<RecordType>(Ty)) {
48 } else if (isa<InjectedClassNameType>(Ty))
49 return cast<InjectedClassNameType>(Ty)->getDecl();
H A DSemaOverload.cpp4972 QualType Ty = S.Context.getObjCIdType(); local
4974 = TryImplicitConversion(S, From, Ty,
5007 QualType Ty = Context.getObjCIdType();
5011 return PerformImplicitConversion(From, Ty, ICS, AA_Converting);
6051 bool AddPointerWithMoreQualifiedTypeVariants(QualType Ty,
6053 bool AddMemberPointerWithMoreQualifiedTypeVariants(QualType Ty);
6066 void AddTypesConvertedFrom(QualType Ty,
6098 /// AddPointerWithMoreQualifiedTypeVariants - Add the pointer type @p Ty to
6100 /// that type. For example, if @p Ty is "int const *", this routine
6103 /// pointer types. Returns true if the add of @p Ty itsel
6108 AddPointerWithMoreQualifiedTypeVariants(QualType Ty, const Qualifiers &VisibleQuals) argument
6177 AddMemberPointerWithMoreQualifiedTypeVariants( QualType Ty) argument
6218 AddTypesConvertedFrom(QualType Ty, SourceLocation Loc, bool AllowUserConversions, bool AllowExplicitConversions, const Qualifiers &VisibleQuals) argument
[all...]
H A DSemaTemplateDeduction.cpp3495 bool isDependentAutoType(QualType Ty) { argument
3497 QualType Pointee = Ty->getPointeeType();
3499 Ty = Pointee;
3500 } else if (const MemberPointerType *MPT = Ty->getAs<MemberPointerType>()){
3503 Ty = MPT->getPointeeType();
3504 } else if (const FunctionProtoType *FPT = Ty->getAs<FunctionProtoType>()){
3510 Ty = FPT->getResultType();
3511 } else if (Ty->isDependentSizedArrayType()) {
3513 } else if (const ArrayType *AT = Ty->getAsArrayTypeUnsafe()) {
3514 Ty
[all...]
H A DSemaDecl.cpp236 ParsedType Ty = getTypeName(*NewII, NameLoc, S, NewSSPtr, local
240 if (Ty) {
255 return Ty;
390 const Type *Ty = SS->getScopeRep()->getAsType(); local
395 if (Context.hasSameUnqualifiedType(QualType(Ty, 1), Base->getType()))
1264 QualType Ty = VD->getType(); local
1267 if (const TypedefType *TT = dyn_cast<TypedefType>(Ty)) {
1274 if (Ty->isIncompleteType() || Ty->isDependentType())
1277 if (const TagType *TT = Ty
3269 QualType Ty = GetTypeFromParser(Name.ConversionFunctionId, &TInfo); local
3281 QualType Ty = GetTypeFromParser(Name.ConstructorName, &TInfo); local
3316 QualType Ty = GetTypeFromParser(Name.DestructorName, &TInfo); local
3337 getCoreType(QualType Ty) argument
3797 const Type *Ty = Qs.strip(T); local
6740 QualType Ty = VD->getType(); local
[all...]
H A DSemaChecking.cpp79 QualType Ty = ValArg->getType(); local
80 if (!Ty->isIntegerType()) {
95 TheCall->setType(Ty);
593 QualType Ty = V->getType();
594 if (!Ty->isBlockPointerType())
812 QualType Ty; local
822 Ty = ValType;
824 Ty = ByValType;
826 Ty = Context.getPointerDiffType();
828 Ty
2467 CXXRecordMembersNamed(StringRef Name, Sema &S, QualType Ty) argument
3250 isConstantSizeArrayWithMoreThanOneElement(QualType Ty, ASTContext &Context) argument
3934 GetValueRange(ASTContext &C, APValue &result, QualType Ty, unsigned MaxWidth) argument
[all...]
/external/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp461 Type *Ty = I->getOperand(0)->getType(); local
466 if (StructType *StTy = dyn_cast<StructType>(Ty)) {
480 Ty = StTy->getElementType(Field);
482 Ty = cast<SequentialType>(Ty)->getElementType();
489 TD.getTypeAllocSize(Ty)*cast<ConstantInt>(CI)->getSExtValue();
510 uint64_t ElementSize = TD.getTypeAllocSize(Ty);
H A DSelectionDAGBuilder.cpp588 unsigned Reg, Type *Ty) {
589 ComputeValueVTs(tli, Ty, ValueVTs);
2602 Type *Ty = I.getType(); local
2604 I.getOperand(0) == ConstantFP::getZeroValueForNegation(Ty)) {
3111 Type *Ty = I.getOperand(0)->getType()->getScalarType(); local
3116 if (StructType *StTy = dyn_cast<StructType>(Ty)) {
3125 Ty = StTy->getElementType(Field);
3127 Ty = cast<SequentialType>(Ty)->getElementType();
3133 TD->getTypeAllocSize(Ty)*cas
587 RegsForValue(LLVMContext &Context, const TargetLowering &tli, unsigned Reg, Type *Ty) argument
3240 Type *Ty = I.getType(); local
5036 EVT Ty = Arg.getValueType(); local
5044 EVT Ty = Arg.getValueType(); local
5051 EVT Ty = Arg.getValueType(); local
5097 EVT Ty = Arg.getValueType(); local
6058 Type *Ty = OpVal->getType(); local
6466 PointerType *Ty = cast<PointerType>(Args[i].Ty); local
6690 PointerType *Ty = cast<PointerType>(I->getType()); local
[all...]
/external/clang/lib/Parse/
H A DParser.cpp1497 TypeResult Ty; local
1500 Ty = Actions.ActOnTypenameType(getCurScope(), TypenameLoc, SS,
1514 Ty = Actions.ActOnTypenameType(getCurScope(), TypenameLoc, SS,
1529 setTypeAnnotation(Tok, Ty.isInvalid() ? ParsedType() : Ty.get());
1558 if (ParsedType Ty = Actions.getTypeName(*Tok.getIdentifierInfo(),
1572 setTypeAnnotation(Tok, Ty);
/external/llvm/lib/VMCore/
H A DAsmWriter.cpp160 void print(Type *Ty, raw_ostream &OS);
162 void printStructBody(StructType *Ty, raw_ostream &OS);
194 void TypePrinting::print(Type *Ty, raw_ostream &OS) { argument
195 switch (Ty->getTypeID()) {
207 OS << 'i' << cast<IntegerType>(Ty)->getBitWidth();
211 FunctionType *FTy = cast<FunctionType>(Ty);
228 StructType *STy = cast<StructType>(Ty);
244 PointerType *PTy = cast<PointerType>(Ty);
252 ArrayType *ATy = cast<ArrayType>(Ty);
259 VectorType *PTy = cast<VectorType>(Ty);
[all...]
/external/clang/include/clang/AST/
H A DType.h454 const Type *Ty; member in struct:clang::SplitQualType
459 SplitQualType() : Ty(0), Quals() {}
460 SplitQualType(const Type *ty, Qualifiers qs) : Ty(ty), Quals(qs) {}
466 return std::pair<const Type *,Qualifiers>(Ty, Quals);
470 return a.Ty == b.Ty && a.Quals == b.Quals;
473 return a.Ty != b.Ty || a.Quals != b.Quals;
824 return getAsString(split.Ty, split.Quals);
836 return print(split.Ty, spli
[all...]
H A DExpr.h1303 ImaginaryLiteral(Expr *val, QualType Ty) argument
1304 : Expr(ImaginaryLiteralClass, Ty, VK_RValue, OK_Ordinary, false, false,
1367 StringLiteral(QualType Ty) : argument
1368 Expr(StringLiteralClass, Ty, VK_LValue, OK_Ordinary, false, false, false,
1377 bool Pascal, QualType Ty,
1382 bool Pascal, QualType Ty,
1384 return Create(C, Str, Kind, Pascal, Ty, &Loc, 1);
1849 TypeSourceInfo *Ty;
1867 Argument.Ty = TInfo;
1900 return Argument.Ty;
1381 Create(ASTContext &C, StringRef Str, StringKind Kind, bool Pascal, QualType Ty, SourceLocation Loc) argument
3400 GNUNullExpr(QualType Ty, SourceLocation Loc) argument
[all...]
/external/clang/lib/Analysis/
H A DCFG.cpp803 QualType Ty = (*I)->getType(); local
804 if (Ty->isReferenceType()) {
805 Ty = getReferenceInitTemporaryType(*Context, (*I)->getInit());
807 Ty = Context->getBaseElementType(Ty);
809 const CXXDestructorDecl *Dtor = Ty->getAsCXXRecordDecl()->getDestructor();
1366 QualType Ty = E->getType(); local
1367 if (Ty->isFunctionPointerType())
1368 Ty = Ty
[all...]
H A DLiveVariables.cpp223 static const VariableArrayType *FindVA(QualType Ty) { argument
224 const Type *ty = Ty.getTypePtr();
/external/clang/lib/CodeGen/
H A DCGClass.cpp1262 QualType Ty = E->getType(); local
1264 EmitAggregateCopy(This, Src, Ty);
1388 QualType Ty = getContext().getTagDeclType(Ctor->getParent()); local
1389 CharUnits Alignment = getContext().getTypeAlignInChars(Ty);
1619 llvm::Type *Ty) {
1620 llvm::Value *VTablePtrSrc = Builder.CreateBitCast(This, Ty->getPointerTo());
1618 GetVTablePtr(llvm::Value *This, llvm::Type *Ty) argument
/external/llvm/lib/Analysis/
H A DInstructionSimplify.cpp64 static Constant *getFalse(Type *Ty) { argument
65 assert(Ty->getScalarType()->isIntegerTy(1) &&
67 return Constant::getNullValue(Ty);
72 static Constant *getTrue(Type *Ty) { argument
73 assert(Ty->getScalarType()->isIntegerTy(1) &&
75 return Constant::getAllOnesValue(Ty);
2568 Type *Ty = PtrTy->getElementType(); local
2569 if (Ty->isSized() && Q.TD->getTypeAllocSize(Ty) == 0)
2660 static Value *SimplifyTruncInst(Value *Op, Type *Ty, cons argument
2667 SimplifyTruncInst(Value *Op, Type *Ty, const TargetData *TD, const TargetLibraryInfo *TLI, const DominatorTree *DT) argument
[all...]

Completed in 1326 milliseconds

1234567891011>>