/external/clang/lib/CodeGen/ |
H A D | CGExpr.cpp | 54 llvm::AllocaInst *CodeGenFunction::CreateTempAlloca(llvm::Type *Ty, argument 57 return new llvm::AllocaInst(Ty, nullptr, "", AllocaInsertPt); 58 return new llvm::AllocaInst(Ty, nullptr, Name, AllocaInsertPt); 68 llvm::AllocaInst *CodeGenFunction::CreateIRTemp(QualType Ty, argument 70 llvm::AllocaInst *Alloc = CreateTempAlloca(ConvertType(Ty), Name); 72 CharUnits Align = getContext().getTypeAlignInChars(Ty); 77 llvm::AllocaInst *CodeGenFunction::CreateMemTemp(QualType Ty, argument 79 llvm::AllocaInst *Alloc = CreateTempAlloca(ConvertTypeForMem(Ty), Name); 81 CharUnits Align = getContext().getTypeAlignInChars(Ty); 416 QualType Ty local 449 EmitTypeCheck(TypeCheckKind TCK, SourceLocation Loc, llvm::Value *Address, QualType Ty, CharUnits Alignment) argument 712 GetUndefRValue(QualType Ty) argument 747 llvm::Type *Ty = llvm::PointerType::getUnqual(ConvertType(E->getType())); local 1005 hasBooleanRepresentation(QualType Ty) argument 1018 getRangeForType(CodeGenFunction &CGF, QualType Ty, llvm::APInt &Min, llvm::APInt &End, bool StrictEnums) argument 1052 getRangeForLoadFromType(QualType Ty) argument 1062 EmitLoadOfScalar(llvm::Value *Addr, bool Volatile, unsigned Alignment, QualType Ty, SourceLocation Loc, llvm::MDNode *TBAAInfo, QualType TBAABaseType, uint64_t TBAAOffset) argument 1156 EmitToMemory(llvm::Value *Value, QualType Ty) argument 1170 EmitFromMemory(llvm::Value *Value, QualType Ty) argument 1181 EmitStoreOfScalar(llvm::Value *Value, llvm::Value *Addr, bool Volatile, unsigned Alignment, QualType Ty, llvm::MDNode *TBAAInfo, bool isInit, QualType TBAABaseType, uint64_t TBAAOffset) argument 1365 llvm::Type *Ty = OrigTy; local 1626 llvm::Type *Ty = OrigTy; local [all...] |
H A D | ItaniumCXXABI.cpp | 114 llvm::Constant *getAddrOfRTTIDescriptor(QualType Ty) override; 193 llvm::Type *Ty) override; 669 llvm::Type *Ty; local 673 Ty = Types.GetFunctionType(Types.arrangeCXXMethodDeclaration(MD)); 677 Ty = CGM.PtrDiffTy; 679 llvm::Constant *addr = CGM.GetAddrOfFunction(MD, Ty); 1331 llvm::Type *Ty) { 1333 Ty = Ty->getPointerTo()->getPointerTo(); 1334 llvm::Value *VTable = CGF.GetVTablePtr(This, Ty); 1328 getVirtualFunctionPointer(CodeGenFunction &CGF, GlobalDecl GD, llvm::Value *This, llvm::Type *Ty) argument 1351 llvm::Type *Ty = CGF.CGM.getTypes().GetFunctionType(*FInfo); local 1947 llvm::Type *Ty = CGF.getTypes().ConvertTypeForMem(T); local 2072 GetAddrOfTypeName( QualType Ty, llvm::GlobalVariable::LinkageTypes Linkage) argument 2095 GetAddrOfExternalRTTIDescriptor(QualType Ty) argument 2119 TypeInfoIsInStandardLibrary(const BuiltinType *Ty) argument 2199 IsStandardLibraryRTTIDescriptor(QualType Ty) argument 2216 ShouldUseExternalRTTIDescriptor(CodeGenModule &CGM, QualType Ty) argument 2256 ContainsIncompleteClassType(QualType Ty) argument 2307 BuildVTablePointer(const Type *Ty) argument 2430 getTypeInfoLinkage(CodeGenModule &CGM, QualType Ty) argument 2472 BuildTypeInfo(QualType Ty, bool Force) argument 2877 BuildPointerToMemberTypeInfo(const MemberPointerType *Ty) argument 2919 getAddrOfRTTIDescriptor(QualType Ty) argument [all...] |
H A D | CGDecl.cpp | 116 QualType Ty = TD.getUnderlyingType(); local 118 if (Ty->isVariablyModifiedType()) 119 EmitVariablyModifiedType(Ty); 179 QualType Ty = D.getType(); local 180 assert(Ty->isConstantSizeType() && "VLAs can't be static"); 189 llvm::Type *LTy = CGM.getTypes().ConvertTypeForMem(Ty); 191 CGM.GetGlobalVarAddressSpace(&D, CGM.getContext().getTargetAddressSpace(Ty)); 194 Ty.isConstant(getContext()), Linkage, 212 unsigned ExpectedAddrSpace = CGM.getContext().getTargetAddressSpace(Ty); 832 QualType Ty local 1617 QualType Ty = D.getType(); local [all...] |
H A D | ABIInfo.h | 68 /// \arg Ty from the va_list pointed to by \arg VAListAddr. 74 virtual llvm::Value *EmitVAArg(llvm::Value *VAListAddr, QualType Ty,
|
H A D | CGCall.cpp | 256 ArgTypes.push_back(Context.getCanonicalParamType(i->Ty)); 431 argTypes.push_back(Context.getCanonicalParamType(i->Ty)); 445 argTypes.push_back(Context.getCanonicalParamType(i->Ty)); 598 CodeGenFunction::ExpandTypeFromArgs(QualType Ty, LValue LV, argument 603 if (const ConstantArrayType *AT = getContext().getAsConstantArrayType(Ty)) { 611 } else if (const RecordType *RT = Ty->getAs<RecordType>()) { 642 } else if (const ComplexType *CT = Ty->getAs<ComplexType>()) { 689 /// CoerceIntOrPtrToIntOrPtr - Convert a value Val to the specific Ty where both 697 llvm::Type *Ty, 699 if (Val->getType() == Ty) 696 CoerceIntOrPtrToIntOrPtr(llvm::Value *Val, llvm::Type *Ty, CodeGenFunction &CGF) argument 749 CreateCoercedLoad(llvm::Value *SrcPtr, llvm::Type *Ty, CodeGenFunction &CGF) argument 1403 QualType Ty = info_it->type; local 1950 createPlaceholderSlot(CodeGenFunction &CGF, QualType Ty) argument 2308 DestroyUnpassedArg(llvm::Value *Addr, QualType Ty) argument 2312 QualType Ty; member in struct:__anon17813::DestroyUnpassedArg 2523 ExpandTypeToArgs(QualType Ty, RValue RV, SmallVectorImpl<llvm::Value *> &Args, llvm::FunctionType *IRFuncTy) argument 3065 EmitVAArg(llvm::Value *VAListAddr, QualType Ty) argument [all...] |
H A D | CodeGenModule.cpp | 1249 llvm::Type *Ty = getTypes().GetFunctionType(FI); local 1251 GetOrCreateLLVMFunction(MangledName, Ty, GD, /*ForVTable=*/false, 1426 llvm::Type *Ty, 1441 if (Entry->getType()->getElementType() == Ty) 1445 return llvm::ConstantExpr::getBitCast(Entry, Ty->getPointerTo()); 1454 if (isa<llvm::FunctionType>(Ty)) { 1455 FTy = cast<llvm::FunctionType>(Ty); 1537 assert(F->getType()->getElementType() == Ty); 1541 llvm::Type *PTy = llvm::PointerType::getUnqual(Ty); 1545 /// GetAddrOfFunction - Return the address of the given function. If Ty i 1425 GetOrCreateLLVMFunction(StringRef MangledName, llvm::Type *Ty, GlobalDecl GD, bool ForVTable, bool DontDefer, llvm::AttributeSet ExtraAttrs) argument 1548 GetAddrOfFunction(GlobalDecl GD, llvm::Type *Ty, bool ForVTable, bool DontDefer) argument 1581 isTypeConstant(QualType Ty, bool ExcludeCtor) argument 1615 GetOrCreateLLVMGlobal(StringRef MangledName, llvm::PointerType *Ty, const VarDecl *D) argument 1689 CreateOrReplaceCXXRuntimeVariable(StringRef Name, llvm::Type *Ty, llvm::GlobalValue::LinkageTypes Linkage) argument 1730 GetAddrOfGlobalVar(const VarDecl *D, llvm::Type *Ty) argument 1747 CreateRuntimeVariable(llvm::Type *Ty, StringRef Name) argument 2252 llvm::FunctionType *Ty = getTypes().GetFunctionType(FI); local 2484 llvm::Type *Ty = getTypes().ConvertType(getContext().IntTy); local 2505 llvm::Type *Ty = getTypes().ConvertType(getContext().UnsignedIntTy); local 2579 llvm::Type *Ty = getTypes().ConvertType(getContext().IntTy); local 2660 llvm::Type *Ty = getTypes().ConvertType(getContext().UnsignedIntTy); local 3389 GetAddrOfRTTIDescriptor(QualType Ty, bool ForEH) argument [all...] |
/external/clang/lib/AST/ |
H A D | APValue.cpp | 344 void APValue::printPretty(raw_ostream &Out, ASTContext &Ctx, QualType Ty) const{ 350 if (Ty->isBooleanType()) 360 QualType ElemTy = Ty->getAs<VectorType>()->getElementType(); 383 bool IsReference = Ty->isReferenceType(); 385 = IsReference ? Ty.getNonReferenceType() : Ty->getPointeeType(); 387 InnerTy = Ty; 475 const ArrayType *AT = Ctx.getAsArrayType(Ty); 495 const RecordDecl *RD = Ty->getAs<RecordType>()->getDecl(); 545 std::string APValue::getAsString(ASTContext &Ctx, QualType Ty) cons [all...] |
H A D | TypeLoc.cpp | 56 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/llvm/lib/CodeGen/SelectionDAG/ |
H A D | FunctionLoweringInfo.cpp | 85 Type *Ty = AI->getAllocatedType(); local 86 uint64_t TySize = TLI->getDataLayout()->getTypeAllocSize(Ty); 88 std::max((unsigned)TLI->getDataLayout()->getPrefTypeAlignment(Ty), 259 unsigned FunctionLoweringInfo::CreateRegs(Type *Ty) { argument 263 ComputeValueVTs(*TLI, Ty, ValueVTs); 268 MVT RegisterVT = TLI->getRegisterType(Ty->getContext(), ValueVT); 270 unsigned NumRegs = TLI->getNumRegisters(Ty->getContext(), ValueVT); 305 Type *Ty = PN->getType(); local 306 if (!Ty->isIntegerTy() || Ty [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/include/llvm/ADT/ |
H A D | STLExtras.h | 34 template<class Ty> 35 struct identity : public std::unary_function<Ty, Ty> { 36 Ty &operator()(Ty &self) const { 39 const Ty &operator()(const Ty &self) const { 44 template<class Ty> 45 struct less_ptr : public std::binary_function<Ty, Ty, boo [all...] |
/external/llvm/include/llvm-c/ |
H A D | Core.h | 756 LLVMTypeKind LLVMGetTypeKind(LLVMTypeRef Ty); 765 LLVMBool LLVMTypeIsSized(LLVMTypeRef Ty); 772 LLVMContextRef LLVMGetTypeContext(LLVMTypeRef Ty); 965 const char *LLVMGetStructName(LLVMTypeRef Ty); 1029 LLVMTypeRef LLVMGetElementType(LLVMTypeRef Ty); 1414 LLVMValueRef LLVMConstNull(LLVMTypeRef Ty); /* all zeroes */ 1424 LLVMValueRef LLVMConstAllOnes(LLVMTypeRef Ty); 1431 LLVMValueRef LLVMGetUndef(LLVMTypeRef Ty); 1444 LLVMValueRef LLVMConstPointerNull(LLVMTypeRef Ty); 1629 LLVMValueRef LLVMAlignOf(LLVMTypeRef Ty); [all...] |
/external/clang/test/PCH/ |
H A D | cxx-templates.cpp | 37 Dep<A>::Ty ty;
|
/external/llvm/include/llvm/CodeGen/ |
H A D | StackProtector.h | 96 bool ContainsProtectableArray(Type *Ty, bool &IsLarge, bool Strong = false,
|
/external/llvm/include/llvm/IR/ |
H A D | SymbolTableListTraits.h | 35 template<typename Ty> struct ilist_traits;
|
H A D | TypeFinder.h | 63 void incorporateType(Type *Ty);
|
/external/llvm/include/llvm/Support/ |
H A D | DOTGraphTraits.h | 159 template <typename Ty>
|
/external/llvm/lib/IR/ |
H A D | Core.cpp | 229 LLVMTypeKind LLVMGetTypeKind(LLVMTypeRef Ty) { argument 230 switch (unwrap(Ty)->getTypeID()) { 267 LLVMBool LLVMTypeIsSized(LLVMTypeRef Ty) argument 269 return unwrap(Ty)->isSized(); 272 LLVMContextRef LLVMGetTypeContext(LLVMTypeRef Ty) { argument 273 return wrap(&unwrap(Ty)->getContext()); 276 void LLVMDumpType(LLVMTypeRef Ty) { argument 277 return unwrap(Ty)->dump(); 280 char *LLVMPrintTypeToString(LLVMTypeRef Ty) { argument 284 if (unwrap(Ty)) 406 FunctionType *Ty = unwrap<FunctionType>(FunctionTy); local 431 LLVMGetStructName(LLVMTypeRef Ty) argument 450 StructType *Ty = unwrap<StructType>(StructTy); local 482 LLVMGetElementType(LLVMTypeRef Ty) argument 619 LLVMConstNull(LLVMTypeRef Ty) argument 623 LLVMConstAllOnes(LLVMTypeRef Ty) argument 627 LLVMGetUndef(LLVMTypeRef Ty) argument 631 LLVMIsConstant(LLVMValueRef Ty) argument 645 LLVMConstPointerNull(LLVMTypeRef Ty) argument 731 IntegerType *Ty = unwrap<IntegerType>(IntTy); local 808 StructType *Ty = cast<StructType>(unwrap(StructTy)); local 846 LLVMAlignOf(LLVMTypeRef Ty) argument 850 LLVMSizeOf(LLVMTypeRef Ty) argument 1183 LLVMConstInlineAsm(LLVMTypeRef Ty, const char *AsmString, const char *Constraints, LLVMBool HasSideEffects, LLVMBool IsAlignStack) argument 1366 LLVMAddGlobal(LLVMModuleRef M, LLVMTypeRef Ty, const char *Name) argument 1371 LLVMAddGlobalInAddressSpace(LLVMModuleRef M, LLVMTypeRef Ty, const char *Name, unsigned AddressSpace) argument 1497 LLVMAddAlias(LLVMModuleRef M, LLVMTypeRef Ty, LLVMValueRef Aliasee, const char *Name) argument 2065 LLVMBuildLandingPad(LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef PersFn, unsigned NumClauses, const char *Name) argument 2257 LLVMBuildMalloc(LLVMBuilderRef B, LLVMTypeRef Ty, const char *Name) argument 2268 LLVMBuildArrayMalloc(LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef Val, const char *Name) argument 2279 LLVMBuildAlloca(LLVMBuilderRef B, LLVMTypeRef Ty, const char *Name) argument 2284 LLVMBuildArrayAlloca(LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef Val, const char *Name) argument 2496 LLVMBuildPhi(LLVMBuilderRef B, LLVMTypeRef Ty, const char *Name) argument 2515 LLVMBuildVAArg(LLVMBuilderRef B, LLVMValueRef List, LLVMTypeRef Ty, const char *Name) argument [all...] |
/external/llvm/lib/Target/AArch64/ |
H A D | AArch64SelectionDAGInfo.cpp | 47 Entry.Ty = IntPtrTy;
|
/external/llvm/lib/Target/ARM/ |
H A D | ARMConstantPoolValue.cpp | 29 ARMConstantPoolValue::ARMConstantPoolValue(Type *Ty, unsigned id, argument 34 : MachineConstantPoolValue(Ty), LabelId(id), Kind(kind), 106 ARMConstantPoolConstant::ARMConstantPoolConstant(Type *Ty, argument 113 : ARMConstantPoolValue(Ty, ID, Kind, PCAdj, Modifier, AddCurrentAddress),
|
/external/llvm/lib/Target/XCore/ |
H A D | XCoreSelectionDAGInfo.cpp | 39 Entry.Ty = TLI.getDataLayout()->getIntPtrType(*DAG.getContext());
|
/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/clang/lib/StaticAnalyzer/Core/ |
H A D | ExprEngineCXX.cpp | 89 /// On return, \p Ty will be set to the base type of the array. 93 QualType &Ty) { 97 while (const ArrayType *AT = Ctx.getAsArrayType(Ty)) { 98 Ty = AT->getElementType(); 99 LValue = State->getLValue(Ty, SVB.makeZeroArrayIndex(), LValue); 133 QualType Ty = Var->getType(); local 134 LValue = makeZeroElementRegion(State, LValue, Ty); 161 QualType Ty = Field->getType(); local 162 FieldVal = makeZeroElementRegion(State, FieldVal, Ty); 424 QualType Ty local 92 makeZeroElementRegion(ProgramStateRef State, SVal LValue, QualType &Ty) argument [all...] |
/external/clang/include/clang/AST/ |
H A D | TypeLoc.h | 42 // The correctness of this relies on the property that, for Type *Ty, 43 // QualType(Ty, 0).getAsOpaquePtr() == (void*) Ty 44 const void *Ty; member in class:clang::TypeLoc 84 TypeLoc() : Ty(nullptr), Data(nullptr) { } 86 : Ty(ty.getAsOpaquePtr()), Data(opaqueData) { } 88 : Ty(ty), Data(opaqueData) { } 95 bool isNull() const { return !Ty; } 96 LLVM_EXPLICIT operator bool() const { return Ty; } 99 static unsigned getFullDataSizeForType(QualType Ty); 210 UnqualTypeLoc(const Type *Ty, void *Data) argument 325 classofType(const Type *Ty) argument 427 classofType(const Type *Ty) argument [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...] |