/external/clang/lib/CodeGen/ |
H A D | CodeGenModule.h | 550 llvm::Constant *getAtomicSetterHelperFnMap(QualType Ty) { argument 551 return AtomicSetterHelperFnMap[Ty]; 553 void setAtomicSetterHelperFnMap(QualType Ty, argument 555 AtomicSetterHelperFnMap[Ty] = Fn; 558 llvm::Constant *getAtomicGetterHelperFnMap(QualType Ty) { argument 559 return AtomicGetterHelperFnMap[Ty]; 561 void setAtomicGetterHelperFnMap(QualType Ty, argument 563 AtomicGetterHelperFnMap[Ty] = Fn; 566 llvm::Constant *getTypeDescriptorFromMap(QualType Ty) { argument 567 return TypeDescriptorMap[Ty]; 569 setTypeDescriptorInMap(QualType Ty, llvm::Constant *C) argument [all...] |
/external/clang/lib/Parse/ |
H A D | ParseExprCXX.cpp | 1299 TypeResult Ty = ParseTypeName(); local 1304 if (Ty.isInvalid() || RParenLoc.isInvalid()) 1308 Ty.get().getAsOpaquePtr(), RParenLoc); 1347 TypeResult Ty = ParseTypeName(); local 1352 if (Ty.isInvalid()) 1356 Ty.get().getAsOpaquePtr(), 2268 TypeResult Ty = Actions.ActOnTypeName(getCurScope(), D); local 2269 if (Ty.isInvalid()) 2273 Result.setConversionFunctionId(KeywordLoc, Ty.get(), 2342 ParsedType Ty local 2380 ParsedType Ty = Actions.getTypeName(*TemplateId->Name, local 2468 ParsedType Ty = Actions.getDestructorName(TildeLoc, *ClassName, local 2800 TypeResult Ty = ParseTypeName(); local [all...] |
H A D | ParseObjc.cpp | 914 ParsedType Ty; local 928 Ty = type.get(); 941 Ty = Actions.ActOnObjCInstanceType(Tok.getLocation()); 957 return Ty; 2805 TypeResult Ty = ParseTypeName(); local 2809 if (Ty.isInvalid()) 2813 Ty.get(), T.getCloseLocation());
|
/external/clang/lib/Sema/ |
H A D | SemaExprMember.cpp | 870 const DeclarationNameInfo &MemberNameInfo, QualType Ty, 877 TemplateArgs, Ty, VK, OK); 867 BuildMemberExpr(Sema &SemaRef, ASTContext &C, Expr *Base, bool isArrow, const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, ValueDecl *Member, DeclAccessPair FoundDecl, const DeclarationNameInfo &MemberNameInfo, QualType Ty, ExprValueKind VK, ExprObjectKind OK, const TemplateArgumentListInfo *TemplateArgs = nullptr) argument
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CStringChecker.cpp | 124 ProgramStateRef state, SVal V, QualType Ty); 208 QualType Ty) { 214 DefinedOrUnknownSVal zero = svalBuilder.makeZeroVal(Ty); 207 assumeZero(CheckerContext &C, ProgramStateRef state, SVal V, QualType Ty) argument
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | MemRegion.cpp | 1120 static bool IsCompleteType(ASTContext &Ctx, QualType Ty) { argument 1121 if (const RecordType *RT = Ty->getAs<RecordType>()) { 1239 QualType Ty; local 1242 Ty = TVR->getDesugaredValueType(getContext()); 1247 Ty = SR->getSymbol()->getType()->getPointeeType(); 1251 const CXXRecordDecl *Child = Ty->getAsCXXRecordDecl();
|
/external/llvm/include/llvm/IR/ |
H A D | PatternMatch.h | 1153 typedef match_combine_and<IntrinsicID_match, Argument_match<T0> > Ty; typedef in struct:llvm::PatternMatch::m_Intrinsic_Ty 1157 typedef match_combine_and<typename m_Intrinsic_Ty<T0>::Ty, 1158 Argument_match<T1> > Ty; typedef in struct:llvm::PatternMatch::m_Intrinsic_Ty 1162 typedef match_combine_and<typename m_Intrinsic_Ty<T0, T1>::Ty, 1163 Argument_match<T2> > Ty; typedef in struct:llvm::PatternMatch::m_Intrinsic_Ty 1167 typedef match_combine_and<typename m_Intrinsic_Ty<T0, T1, T2>::Ty, 1168 Argument_match<T3> > Ty; typedef in struct:llvm::PatternMatch::m_Intrinsic_Ty 1178 inline typename m_Intrinsic_Ty<T0>::Ty 1184 inline typename m_Intrinsic_Ty<T0, T1>::Ty 1190 inline typename m_Intrinsic_Ty<T0, T1, T2>::Ty [all...] |
/external/llvm/include/llvm/TableGen/ |
H A D | Record.h | 135 inline raw_ostream &operator<<(raw_ostream &OS, const RecTy &Ty) { argument 136 Ty.print(OS); 291 /// ListRecTy - 'list<Ty>' - Represent a list of values, all of which must be of 295 RecTy *Ty; member in class:llvm::ListRecTy 296 explicit ListRecTy(RecTy *T) : RecTy(ListRecTyKind), Ty(T) {} 305 RecTy *getElementType() const { return Ty; } 493 virtual Init *convertInitializerTo(RecTy *Ty) const = 0; 562 RecTy *Ty; member in class:llvm::TypedInit 568 explicit TypedInit(InitKind K, RecTy *T) : Init(K), Ty(T) {} 575 RecTy *getType() const { return Ty; } [all...] |
/external/llvm/include/llvm/Target/ |
H A D | TargetLowering.h | 161 unsigned getPointerTypeSizeInBits(Type *Ty) const; 556 unsigned Ty = (unsigned)VT.SimpleTy; 557 return (LegalizeAction)((IndexedModeActions[Ty][IdxMode] & 0xf0) >> 4); 574 unsigned Ty = (unsigned)VT.SimpleTy; 575 return (LegalizeAction)(IndexedModeActions[Ty][IdxMode] & 0x0f); 638 EVT getValueType(Type *Ty, bool AllowUnknown = false) const { 640 if (PointerType *PTy = dyn_cast<PointerType>(Ty)) 643 if (Ty->isVectorTy()) { 644 VectorType *VTy = cast<VectorType>(Ty); 649 Elm = PointerTy.getTypeForEVT(Ty 659 getSimpleValueType(Type *Ty, bool AllowUnknown = false) const argument 964 setBooleanContents(BooleanContent Ty) argument 978 setBooleanVectorContents(BooleanContent Ty) argument [all...] |
/external/llvm/lib/Analysis/ |
H A D | InstructionSimplify.cpp | 64 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); 2779 Type *Ty = PtrTy->getElementType(); local 2780 if (Ty->isSized() && Q.DL->getTypeAllocSize(Ty) == 0) 2871 static Value *SimplifyTruncInst(Value *Op, Type *Ty, cons argument 2878 SimplifyTruncInst(Value *Op, Type *Ty, const DataLayout *DL, const TargetLibraryInfo *TLI, const DominatorTree *DT) argument 3008 Type *Ty = V->getType(); local [all...] |
H A D | ScalarEvolution.cpp | 328 ScalarEvolution::getConstant(Type *Ty, uint64_t V, bool isSigned) { argument 329 IntegerType *ITy = cast<IntegerType>(getEffectiveSCEVType(Ty)); 335 : SCEV(ID, SCEVTy), Op(op), Ty(ty) {} 341 (Ty->isIntegerTy() || Ty->isPointerTy()) && 349 (Ty->isIntegerTy() || Ty->isPointerTy()) && 357 (Ty->isIntegerTy() || Ty->isPointerTy()) && 408 Type *Ty local 435 Type *Ty = local 821 getTruncateExpr(const SCEV *Op, Type *Ty) argument 900 getZeroExtendExpr(const SCEV *Op, Type *Ty) argument 1085 getPreStartForSignExtend(const SCEVAddRecExpr *AR, Type *Ty, ScalarEvolution *SE) argument 1146 getSignExtendAddRecStart(const SCEVAddRecExpr *AR, Type *Ty, ScalarEvolution *SE) argument 1157 getSignExtendExpr(const SCEV *Op, Type *Ty) argument 1342 getAnyExtendExpr(const SCEV *Op, Type *Ty) argument 1548 Type *Ty = Ops[0]->getType(); variable [all...] |
H A D | ScalarEvolutionExpander.cpp | 30 /// ReuseOrCreateCast - Arrange for there to be a cast of V to Ty at IP, 34 Value *SCEVExpander::ReuseOrCreateCast(Value *V, Type *Ty, argument 52 if (U->getType() == Ty) 62 Ret = CastInst::Create(Op, V, Ty, "", IP); 74 Ret = CastInst::Create(Op, V, Ty, V->getName(), IP); 88 Value *SCEVExpander::InsertNoopCastOfTo(Value *V, Type *Ty) { argument 89 Instruction::CastOps Op = CastInst::getCastOpcode(V, false, Ty, false); 94 assert(SE.getTypeSizeInBits(V->getType()) == SE.getTypeSizeInBits(Ty) && 99 if (V->getType() == Ty) 102 if (CI->getOperand(0)->getType() == Ty) 305 SimplifyAddOperands(SmallVectorImpl<const SCEV *> &Ops, Type *Ty, ScalarEvolution &SE) argument 334 SplitAddRecs(SmallVectorImpl<const SCEV *> &Ops, Type *Ty, ScalarEvolution &SE) argument 391 expandAddToGEP(const SCEV *const *op_begin, const SCEV *const *op_end, PointerType *PTy, Type *Ty, Value *V) argument 703 Type *Ty = SE.getEffectiveSCEVType(S->getType()); local 774 Type *Ty = SE.getEffectiveSCEVType(S->getType()); local 816 Type *Ty = SE.getEffectiveSCEVType(S->getType()); local 1504 Type *Ty = SE.getEffectiveSCEVType(S->getType()); local 1513 Type *Ty = SE.getEffectiveSCEVType(S->getType()); local 1522 Type *Ty = SE.getEffectiveSCEVType(S->getType()); local 1532 Type *Ty = LHS->getType(); local 1556 Type *Ty = LHS->getType(); local 1578 expandCodeFor(const SCEV *SH, Type *Ty, Instruction *IP) argument 1584 expandCodeFor(const SCEV *SH, Type *Ty) argument 1659 getOrInsertCanonicalInductionVariable(const Loop *L, Type *Ty) argument [all...] |
/external/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeReader.cpp | 145 static int GetDecodedBinaryOpcode(unsigned Val, Type *Ty) { argument 149 return Ty->isFPOrFPVectorTy() ? Instruction::FAdd : Instruction::Add; 151 return Ty->isFPOrFPVectorTy() ? Instruction::FSub : Instruction::Sub; 153 return Ty->isFPOrFPVectorTy() ? Instruction::FMul : Instruction::Mul; 156 return Ty->isFPOrFPVectorTy() ? Instruction::FDiv : Instruction::SDiv; 159 return Ty->isFPOrFPVectorTy() ? Instruction::FRem : Instruction::SRem; 241 explicit ConstantPlaceHolder(Type *Ty, LLVMContext& Context) argument 242 : ConstantExpr(Ty, Instruction::UserOp1, &Op<0>(), 1) { 296 Type *Ty) { 301 assert(Ty 295 getConstantFwdRef(unsigned Idx, Type *Ty) argument 311 getValueFwdRef(unsigned Idx, Type *Ty) argument 1066 Type *Ty = getTypeByID(Record[i]); local [all...] |
/external/llvm/lib/Bitcode/Writer/ |
H A D | BitcodeWriter.cpp | 1014 Type *Ty = CFP->getType(); local 1015 if (Ty->isHalfTy() || Ty->isFloatTy() || Ty->isDoubleTy()) { 1017 } else if (Ty->isX86_FP80Ty()) { 1024 } else if (Ty->isFP128Ty() || Ty->isPPC_FP128Ty()) {
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | FastISel.cpp | 482 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/IR/ |
H A D | AsmWriter.cpp | 196 void TypePrinting::print(Type *Ty, raw_ostream &OS) { argument 197 switch (Ty->getTypeID()) { 209 OS << 'i' << cast<IntegerType>(Ty)->getBitWidth(); 213 FunctionType *FTy = cast<FunctionType>(Ty); 230 StructType *STy = cast<StructType>(Ty); 246 PointerType *PTy = cast<PointerType>(Ty); 254 ArrayType *ATy = cast<ArrayType>(Ty); 261 VectorType *PTy = cast<VectorType>(Ty);
|
H A D | Verifier.cpp | 324 bool PerformTypeCheck(Intrinsic::ID ID, Function *F, Type *Ty, int VT, 326 bool VerifyIntrinsicType(Type *Ty, ArrayRef<Intrinsic::IITDescriptor> &Infos, 333 void VerifyParameterAttrs(AttributeSet Attrs, unsigned Idx, Type *Ty, 800 void Verifier::VerifyParameterAttrs(AttributeSet Attrs, unsigned Idx, Type *Ty, argument 849 hasAttributes(AttributeFuncs::typeIncompatible(Ty, Idx), Idx), 851 AttributeFuncs::typeIncompatible(Ty, Idx).getAsString(Idx), V); 853 if (PointerType *PTy = dyn_cast<PointerType>(Ty)) { 881 Type *Ty; local 883 Ty = FT->getReturnType(); 885 Ty 1581 Type *Ty = CS.getArgument(Idx-1)->getType(); local 2282 VerifyIntrinsicType(Type *Ty, ArrayRef<Intrinsic::IITDescriptor> &Infos, SmallVectorImpl<Type*> &ArgTys) argument [all...] |
/external/llvm/lib/Linker/ |
H A D | LinkModules.cpp | 247 Type *TypeMapTy::get(Type *Ty) { argument 248 Type *Result = getImpl(Ty); 257 Type *TypeMapTy::getImpl(Type *Ty) { argument 259 Type **Entry = &MappedTypes[Ty]; 264 if (!isa<StructType>(Ty) || cast<StructType>(Ty)->isLiteral()) { 267 if (Ty->getNumContainedTypes() == 0) 268 return *Entry = Ty; 273 ElementTypes.resize(Ty->getNumContainedTypes()); 274 for (unsigned i = 0, e = Ty [all...] |
/external/llvm/lib/TableGen/ |
H A D | Record.cpp | 116 RecTy *Ty = VI->getType(); local 117 if (isa<BitRecTy>(Ty) || isa<BitsRecTy>(Ty) || isa<IntRecTy>(Ty)) 134 BitsRecTy *&Ty = Shared[Sz]; local 135 if (!Ty) 136 Ty = new BitsRecTy(Sz); 137 return Ty; 271 return "list<" + Ty->getAsString() + ">"; 280 if (Init *CI = LI->getElement(i)->convertInitializerTo(Ty)) [all...] |
/external/llvm/lib/Target/AArch64/ |
H A D | AArch64FastISel.cpp | 113 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...] |
H A D | AArch64ISelDAGToDAG.cpp | 596 Type *Ty = GV->getType()->getElementType(); local 597 if (Alignment == 0 && Ty->isSized() && !Subtarget->isTargetDarwin()) 598 Alignment = DL->getABITypeAlignment(Ty);
|
/external/llvm/lib/Target/CppBackend/ |
H A D | CPPBackend.cpp | 147 void printType(Type* Ty); 181 static std::string getTypePrefix(Type *Ty) { argument 182 switch (Ty->getTypeID()) { 185 return "int" + utostr(cast<IntegerType>(Ty)->getBitWidth()) + "_"; 371 std::string CppWriter::getCppName(Type* Ty) { argument 372 switch (Ty->getTypeID()) { 378 unsigned BitWidth = cast<IntegerType>(Ty)->getBitWidth(); 394 TypeMap::iterator I = TypeNames.find(Ty); 400 switch (Ty->getTypeID()) { 411 if (StructType *STy = dyn_cast<StructType>(Ty)) 425 printCppName(Type* Ty) argument 547 printType(Type* Ty) argument 2063 Type* Ty = TheModule->getTypeByName(typeName); local [all...] |
/external/llvm/lib/Target/NVPTX/ |
H A D | NVPTXAsmPrinter.cpp | 210 Type *Ty = CE->getType(); local 216 if (TD.getTypeAllocSize(Ty) == TD.getTypeAllocSize(Op->getType())) 710 Type *Ty = F->getReturnType(); local 714 if (Ty->getTypeID() == Type::VoidTyID) 720 if (Ty->isFloatingPointTy() || Ty->isIntegerTy()) { 722 if (const IntegerType *ITy = dyn_cast<IntegerType>(Ty)) { 727 assert(Ty->isFloatingPointTy() && "Floating point type expected here"); 728 size = Ty->getPrimitiveSizeInBits(); 732 } else if (isa<PointerType>(Ty)) { 1622 getPTXFundamentalTypeStr(const Type *Ty, bool useB4PTR) const argument 1706 getOpenCLAlignment(const DataLayout *TD, Type *Ty) argument 1796 Type *Ty = I->getType(); local 2191 const Type *Ty = CFP->getType(); local 2282 isImageType(const Type *Ty) argument [all...] |
/external/llvm/lib/Target/PowerPC/ |
H A D | PPCFastISel.cpp | 110 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/Target/XCore/ |
H A D | XCoreISelLowering.cpp | 305 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);
|