/external/clang/lib/CodeGen/ |
H A D | CGCXX.cpp | 308 llvm::Type *Ty, 315 Ty = Ty->getPointerTo()->getPointerTo(); 316 VTable = CGF.Builder.CreateBitCast(VTable, Ty); 334 llvm::Type *Ty) { 347 return ::BuildAppleKextVirtualCall(*this, MD, Ty, RD); 365 llvm::Type *Ty = CGM.getTypes().GetFunctionType(FInfo); local 366 return ::BuildAppleKextVirtualCall(*this, GlobalDecl(DD, Type), Ty, RD); 306 BuildAppleKextVirtualCall(CodeGenFunction &CGF, GlobalDecl GD, llvm::Type *Ty, const CXXRecordDecl *RD) argument 332 BuildAppleKextVirtualCall(const CXXMethodDecl *MD, NestedNameSpecifier *Qual, llvm::Type *Ty) argument
|
H A D | TargetInfo.h | 128 llvm::Type *Ty) const { 129 return Ty;
|
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...] |
H A D | CGCall.h | 47 QualType Ty; member in struct:clang::CodeGen::CallArg 50 : RV(rv), Ty(ty), NeedsCopy(needscopy)
|
/external/llvm/include/llvm/IR/ |
H A D | GlobalVariable.h | 57 GlobalVariable(Type *Ty, bool isConstant, LinkageTypes Linkage, 63 GlobalVariable(Module &M, Type *Ty, bool isConstant,
|
H A D | InlineAsm.h | 55 InlineAsm(PointerType *Ty, const std::string &AsmString, 67 static InlineAsm *get(FunctionType *Ty, StringRef AsmString, 93 static bool Verify(FunctionType *Ty, StringRef Constraints);
|
H A D | GetElementPtrTypeIterator.h | 33 static generic_gep_type_iterator begin(Type *Ty, ItTy It) { argument 35 I.CurTy = Ty;
|
/external/llvm/lib/IR/ |
H A D | AsmWriter.h | 60 void print(Type *Ty, raw_ostream &OS); 62 void printStructBody(StructType *Ty, raw_ostream &OS);
|
H A D | ConstantFold.cpp | 59 Type *Ty = IntegerType::get(CV->getContext(), 32); local 62 ConstantExpr::getExtractElement(CV, ConstantInt::get(Ty, i)); 333 /// on Ty, with any known factors factored out. If Folded is false, 337 static Constant *getFoldedSizeOf(Type *Ty, Type *DestTy, argument 339 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { 345 if (StructType *STy = dyn_cast<StructType>(Ty)) 369 if (PointerType *PTy = dyn_cast<PointerType>(Ty)) 382 Constant *C = ConstantExpr::getSizeOf(Ty); 390 /// on Ty, with any known factors factored out. If Folded is false, 394 static Constant *getFoldedAlignOf(Type *Ty, Typ argument 460 getFoldedOffsetOf(Type *Ty, Constant *FieldNo, Type *DestTy, bool Folded) argument 559 Type *Ty = IntegerType::get(V->getContext(), 32); local 616 Type *Ty = local 709 Type *Ty = IntegerType::get(CondV->getContext(), 32); local 783 Type *Ty = IntegerType::get(Val->getContext(), 32); local 825 Type *Ty = IntegerType::get(V2->getContext(), 32); local 830 Type *Ty = IntegerType::get(V1->getContext(), 32); local 1153 Type *Ty = IntegerType::get(VTy->getContext(), 32); local 1220 isMaybeZeroSizedType(Type *Ty) argument 1727 Type *Ty = IntegerType::get(C1->getContext(), 32); local 1971 Type *Ty = GetElementPtrInst::getIndexedType(Ptr, Idxs); local 1985 Type *Ty = GetElementPtrInst::getIndexedType(Ptr, Idxs); local 2092 Type *Ty = C->getType(); local [all...] |
/external/llvm/lib/Target/Hexagon/ |
H A D | HexagonTargetObjectFile.cpp | 81 Type *Ty = GV->getType()->getElementType(); local 82 return IsInSmallSection(TM.getDataLayout()->getTypeAllocSize(Ty));
|
/external/llvm/lib/Target/Mips/ |
H A D | MipsTargetObjectFile.cpp | 83 Type *Ty = GV->getType()->getElementType(); 84 return IsInSmallSection(TM.getDataLayout()->getTypeAllocSize(Ty));
|
H A D | MipsSEISelLowering.h | 27 void addMSAIntType(MVT::SimpleValueType Ty, const TargetRegisterClass *RC); 30 void addMSAFloatType(MVT::SimpleValueType Ty,
|
/external/llvm/include/llvm/Analysis/ |
H A D | ScalarEvolutionExpander.h | 121 PHINode *getOrInsertCanonicalInductionVariable(const Loop *L, Type *Ty); 139 Value *expandCodeFor(const SCEV *SH, Type *Ty, Instruction *I); 197 /// ReuseOrCreateCast - Arange for there to be a cast of V to Ty at IP, 201 Value *ReuseOrCreateCast(Value *V, Type *Ty, 208 Value *InsertNoopCastOfTo(Value *V, Type *Ty); 214 PointerType *PTy, Type *Ty, Value *V); 222 Value *expandCodeFor(const SCEV *SH, Type *Ty = nullptr);
|
H A D | ScalarEvolution.h | 575 bool isSCEVable(Type *Ty) const; 579 uint64_t getTypeSizeInBits(Type *Ty) const; 585 Type *getEffectiveSCEVType(Type *Ty) const; 593 const SCEV *getConstant(Type *Ty, uint64_t V, bool isSigned = false); 594 const SCEV *getTruncateExpr(const SCEV *Op, Type *Ty); 595 const SCEV *getZeroExtendExpr(const SCEV *Op, Type *Ty); 596 const SCEV *getSignExtendExpr(const SCEV *Op, Type *Ty); 597 const SCEV *getAnyExtendExpr(const SCEV *Op, Type *Ty); 678 const SCEV *getTruncateOrZeroExtend(const SCEV *V, Type *Ty); 683 const SCEV *getTruncateOrSignExtend(const SCEV *V, Type *Ty); [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 163 Value *InstCombiner::EvaluateInDifferentType(Value *V, Type *Ty, argument 166 C = ConstantExpr::getIntegerCast(C, Ty, isSigned /*Sext or ZExt*/); 189 Value *LHS = EvaluateInDifferentType(I->getOperand(0), Ty, isSigned); 190 Value *RHS = EvaluateInDifferentType(I->getOperand(1), Ty, isSigned); 200 if (I->getOperand(0)->getType() == Ty) 205 Res = CastInst::CreateIntegerCast(I->getOperand(0), Ty, 209 Value *True = EvaluateInDifferentType(I->getOperand(1), Ty, isSigned); 210 Value *False = EvaluateInDifferentType(I->getOperand(2), Ty, isSigned); 216 PHINode *NPN = PHINode::Create(Ty, OPN->getNumIncomingValues()); 218 Value *V =EvaluateInDifferentType(OPN->getIncomingValue(i), Ty, isSigne 273 ShouldOptimizeCast(Instruction::CastOps opc, const Value *V, Type *Ty) argument 338 CanEvaluateTruncated(Value *V, Type *Ty) argument 654 CanEvaluateZExtd(Value *V, Type *Ty, unsigned &BitsToClear) argument 984 CanEvaluateSExtd(Value *V, Type *Ty) argument 1415 Type *Ty = DL->getIntPtrType(CI.getContext(), AS); local 1569 isMultipleOfTypeSize(unsigned Value, Type *Ty) argument 1573 getTypeSizeIndex(unsigned Value, Type *Ty) argument [all...] |
/external/llvm/lib/Target/X86/ |
H A D | X86TargetTransformInfo.cpp | 43 unsigned getScalarizationOverhead(Type *Ty, bool Insert, bool Extract) const; 86 unsigned getArithmeticInstrCost(unsigned Opcode, Type *Ty, OperandValueKind, 102 unsigned getReductionCost(unsigned Opcode, Type *Ty, 107 unsigned getIntImmCost(const APInt &Imm, Type *Ty) const override; 110 Type *Ty) const override; 112 Type *Ty) const override; 136 assert(isPowerOf2_32(TyWidth) && "Ty width must be power of 2"); 181 unsigned X86TTI::getArithmeticInstrCost(unsigned Opcode, Type *Ty, argument 185 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(Ty); 403 return TargetTransformInfo::getArithmeticInstrCost(Opcode, Ty, Op1Inf 763 getScalarizationOverhead(Type *Ty, bool Insert, bool Extract) const argument 824 getAddressComputationCost(Type *Ty, bool IsComplex) const argument [all...] |
/external/clang/lib/AST/ |
H A D | ASTDiagnostic.cpp | 33 const Type *Ty = QC.strip(QT); local 36 if (const ElaboratedType *ET = dyn_cast<ElaboratedType>(Ty)) { 41 if (const ParenType *PT = dyn_cast<ParenType>(Ty)) { 47 dyn_cast<SubstTemplateTypeParmType>(Ty)) { 52 if (const AttributedType *AT = dyn_cast<AttributedType>(Ty)) { 57 if (const AdjustedType *AT = dyn_cast<AdjustedType>(Ty)) { 62 if (const AutoType *AT = dyn_cast<AutoType>(Ty)) { 71 = dyn_cast<TemplateSpecializationType>(Ty)) 76 if (QualType(Ty,0) == Context.getObjCIdType() || 77 QualType(Ty, 164 ConvertTypeToDiagnosticString(ASTContext &Context, QualType Ty, ArrayRef<DiagnosticsEngine::ArgumentValue> PrevArgs, ArrayRef<intptr_t> QualTypeVals) argument 834 GetTemplateSpecializationType( ASTContext &Context, QualType Ty) argument [all...] |
/external/llvm/lib/AsmParser/ |
H A D | LLParser.cpp | 655 Type *Ty = nullptr; local 659 ParseType(Ty, TyLoc) || 747 Type *Ty = PTy->getElementType(); 752 GlobalAlias::create(Ty, AddrSpace, (GlobalValue::LinkageTypes)Linkage, 817 Type *Ty = nullptr; local 823 ParseType(Ty, TyLoc)) 831 if (ParseGlobalValue(Ty, Init)) 835 if (Ty->isFunctionTy() || Ty->isLabelTy()) 857 GV = new GlobalVariable(*M, Ty, fals 1079 GetGlobalVal(const std::string &Name, Type *Ty, LocTy Loc) argument 1122 GetGlobalVal(unsigned ID, Type *Ty, LocTy Loc) argument [all...] |
H A D | LLParser.h | 158 GlobalValue *GetGlobalVal(const std::string &N, Type *Ty, LocTy Loc); 159 GlobalValue *GetGlobalVal(unsigned ID, Type *Ty, LocTy Loc); 306 Value *GetVal(const std::string &Name, Type *Ty, LocTy Loc); 307 Value *GetVal(unsigned ID, Type *Ty, LocTy Loc); 326 bool ConvertValIDToValue(Type *Ty, ValID &ID, Value *&V, 329 bool ParseValue(Type *Ty, Value *&V, PerFunctionState *PFS); 330 bool ParseValue(Type *Ty, Value *&V, PerFunctionState &PFS) { argument 331 return ParseValue(Ty, V, &PFS); 333 bool ParseValue(Type *Ty, Value *&V, LocTy &Loc, argument 336 return ParseValue(Ty, 379 Type *Ty; member in struct:llvm::LLParser::ArgInfo [all...] |
/external/llvm/lib/Transforms/Scalar/ |
H A D | SROA.cpp | 441 void handleLoadOrStore(Type *Ty, Instruction &I, const APInt &Offset, argument 452 Ty->isIntegerTy() && !IsVolatile && Offset == 0 && Size >= AllocSize; 1015 Type *Ty = nullptr; local 1050 // To avoid depending on the order of slices, Ty and TyIsCommon must not 1052 if (!UserTy || (Ty && Ty != UserTy)) 1055 Ty = UserTy; 1058 return TyIsCommon ? Ty : ITy; 1276 /// \brief Get a natural GEP off of the BasePtr walking through Ty toward 1280 /// Indices, and arrived at the Ty typ 1285 getNaturalGEPWithType(IRBuilderTy &IRB, const DataLayout &DL, Value *BasePtr, Type *Ty, Type *TargetTy, SmallVectorImpl<Value *> &Indices, Twine NamePrefix) argument 1329 getNaturalGEPRecursively(IRBuilderTy &IRB, const DataLayout &DL, Value *Ptr, Type *Ty, APInt &Offset, Type *TargetTy, SmallVectorImpl<Value *> &Indices, Twine NamePrefix) argument 1406 PointerType *Ty = cast<PointerType>(Ptr->getType()); local 1624 isVectorPromotionViableForSlice( const DataLayout &DL, AllocaSlices &S, uint64_t SliceBeginOffset, uint64_t SliceEndOffset, VectorType *Ty, uint64_t ElementSize, AllocaSlices::const_iterator I) argument 1704 VectorType *Ty = dyn_cast<VectorType>(AllocaTy); local 1851 extractInteger(const DataLayout &DL, IRBuilderTy &IRB, Value *V, IntegerType *Ty, uint64_t Offset, const Twine &Name) argument 1877 IntegerType *Ty = cast<IntegerType>(V->getType()); local 1938 VectorType *Ty = dyn_cast<VectorType>(V->getType()); local 2829 emitSplitOps(Type *Ty, Value *&Agg, const Twine &Name) argument 2873 emitFunc(Type *Ty, Value *&Agg, const Twine &Name) argument 2904 emitFunc(Type *Ty, Value *&Agg, const Twine &Name) argument 2957 stripAggregateTypeWrapping(const DataLayout &DL, Type *Ty) argument 2995 getTypePartition(const DataLayout &DL, Type *Ty, uint64_t Offset, uint64_t Size) argument [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DwarfUnit.h | 338 void addSourceLine(DIE &Die, DIType Ty); 340 void addSourceLine(DIE &Die, DIObjCProperty Ty); 348 void addConstantValue(DIE &Die, const MachineOperand &MO, DIType Ty); 349 void addConstantValue(DIE &Die, const ConstantInt *CI, DIType Ty); 350 void addConstantValue(DIE &Die, const APInt &Val, DIType Ty); 393 void addType(DIE &Entity, DIType Ty, 411 DIE *createTypeDIE(DICompositeType Ty); 524 void updateAcceleratorTables(DIScope Context, DIType Ty, const DIE &TyDIE); 562 const DIE *Ty; member in class:llvm::DwarfTypeUnit 573 void setType(const DIE *Ty) { thi argument [all...] |
/external/llvm/lib/CodeGen/ |
H A D | GlobalMerge.cpp | 182 Type *Ty = Globals[j]->getType()->getElementType(); local 183 MergedSize += DL->getTypeAllocSize(Ty); 187 Tys.push_back(Ty); 308 Type *Ty = I->getType()->getElementType(); local 309 if (Alignment > DL->getABITypeAlignment(Ty)) 321 if (DL->getTypeAllocSize(Ty) < MaxOffset) {
|
/external/llvm/lib/Analysis/ |
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...] |
/external/clang/lib/Parse/ |
H A D | ParseExpr.cpp | 793 TypeResult Ty = Actions.ActOnTypeName(getCurScope(), local 795 if (Ty.isInvalid()) 800 Ty.get(), nullptr); 961 TypeResult Ty = Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); local 962 if (Ty.isInvalid()) 967 Ty.get(), nullptr); 1706 TypeResult Ty = ParseTypeName(); local 1713 if (Expr.isInvalid() || Ty.isInvalid()) 1716 Res = Actions.ActOnVAArg(StartLoc, Expr.get(), Ty.get(), ConsumeParen()); 1721 TypeResult Ty local 2001 TypeResult Ty = ParseTypeName(); local 2042 TypeResult Ty; local 2057 TypeResult Ty; local 2074 TypeResult Ty; local 2153 ParseCompoundLiteralExpression(ParsedType Ty, SourceLocation LParenLoc, SourceLocation RParenLoc) argument 2236 ParsedType Ty; local [all...] |
/external/clang/lib/Sema/ |
H A D | SemaStmtAsm.cpp | 173 const Type *Ty = Exprs[i]->getType().getTypePtr(); local 174 if (Ty->isDependentType()) 177 if (!Ty->isVoidType() || !Info.allowsMemory()) 182 unsigned Size = Context.getTypeSize(Ty); 254 const Type *Ty = Exprs[ConstraintIdx]->getType().getTypePtr(); local 255 if (Ty->isDependentType() || Ty->isIncompleteType()) 258 unsigned Size = Context.getTypeSize(Ty);
|