/external/llvm/lib/Transforms/Instrumentation/ |
H A D | ThreadSanitizer.cpp | 149 Type *Ty = Type::getIntNTy(M.getContext(), BitSize); local 150 Type *PtrTy = Ty->getPointerTo(); 154 AtomicLoadName, Ty, PtrTy, OrdTy, NULL)); 159 AtomicStoreName, IRB.getVoidTy(), PtrTy, Ty, OrdTy, 365 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize); local 366 Type *PtrTy = Ty->getPointerTo(); 380 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize); local 381 Type *PtrTy = Ty->getPointerTo(); 383 IRB.CreateIntCast(SI->getValueOperand(), Ty, false),
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DwarfCompileUnit.h | 112 void addGlobalType(DIType Ty); 217 void addSourceLine(DIE *Die, DIType Ty); 219 void addSourceLine(DIE *Die, DIObjCProperty Ty); 227 bool addConstantValue(DIE *Die, const MachineOperand &MO, DIType Ty); 270 void addType(DIE *Entity, DIType Ty, unsigned Attribute = dwarf::DW_AT_type);
|
/external/llvm/lib/CodeGen/ |
H A D | StackProtector.cpp | 61 bool ContainsProtectableArray(Type *Ty, bool InStruct = false) const; 105 bool StackProtector::ContainsProtectableArray(Type *Ty, bool InStruct) const { argument 106 if (!Ty) return false; 107 if (ArrayType *AT = dyn_cast<ArrayType>(Ty)) { 124 const StructType *ST = dyn_cast<StructType>(Ty);
|
H A D | Analysis.cpp | 35 unsigned llvm::ComputeLinearIndex(Type *Ty, argument 44 if (StructType *STy = dyn_cast<StructType>(Ty)) { 56 else if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { 76 void llvm::ComputeValueVTs(const TargetLowering &TLI, Type *Ty, argument 81 if (StructType *STy = dyn_cast<StructType>(Ty)) { 92 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { 101 if (Ty->isVoidTy()) 104 ValueVTs.push_back(TLI.getValueType(Ty));
|
/external/clang/lib/CodeGen/ |
H A D | CodeGenModule.cpp | 1048 llvm::Type *Ty, 1060 if (Entry->getType()->getElementType() == Ty) 1064 return llvm::ConstantExpr::getBitCast(Entry, Ty->getPointerTo()); 1073 if (isa<llvm::FunctionType>(Ty)) { 1074 FTy = cast<llvm::FunctionType>(Ty); 1131 assert(F->getType()->getElementType() == Ty); 1135 llvm::Type *PTy = llvm::PointerType::getUnqual(Ty); 1139 /// GetAddrOfFunction - Return the address of the given function. If Ty is 1143 llvm::Type *Ty, 1146 if (!Ty) 1047 GetOrCreateLLVMFunction(StringRef MangledName, llvm::Type *Ty, GlobalDecl D, bool ForVTable, llvm::Attributes ExtraAttrs) argument 1142 GetAddrOfFunction(GlobalDecl GD, llvm::Type *Ty, bool ForVTable) argument 1169 isTypeConstant(QualType Ty, bool ExcludeCtor) argument 1191 GetOrCreateLLVMGlobal(StringRef MangledName, llvm::PointerType *Ty, const VarDecl *D, bool UnnamedAddr) argument 1264 CreateOrReplaceCXXRuntimeVariable(StringRef Name, llvm::Type *Ty, llvm::GlobalValue::LinkageTypes Linkage) argument 1306 GetAddrOfGlobalVar(const VarDecl *D, llvm::Type *Ty) argument 1323 CreateRuntimeVariable(llvm::Type *Ty, StringRef Name) argument 1829 llvm::FunctionType *Ty = getTypes().GetFunctionType(FI); local 2041 llvm::Type *Ty = getTypes().ConvertType(getContext().IntTy); local 2061 llvm::Type *Ty = getTypes().ConvertType(getContext().UnsignedIntTy); local 2148 llvm::Type *Ty = getTypes().ConvertType(getContext().IntTy); local 2228 llvm::Type *Ty = getTypes().ConvertType(getContext().UnsignedIntTy); local [all...] |
H A D | CGRecordLayoutBuilder.cpp | 182 CharUnits getTypeAlignment(llvm::Type *Ty) const; 240 llvm::Type *Ty = Types.ConvertTypeForMem(FD->getType()); local 242 CharUnits::fromQuantity(Types.getTargetData().getTypeAllocSize(Ty)); 449 llvm::Type *Ty = Types.ConvertTypeForMem(D->getType()); local 450 CharUnits typeAlignment = getTypeAlignment(Ty); 491 AppendField(fieldOffsetInBytes, Ty); 941 llvm::Type *Ty = llvm::Type::getInt8Ty(Types.getLLVMContext()); local 943 Ty = llvm::ArrayType::get(Ty, numBytes.getQuantity()); 945 return Ty; 997 ComputeRecordLayout(const RecordDecl *D, llvm::StructType *Ty) argument [all...] |
H A D | CodeGenModule.h | 420 llvm::Constant *getAtomicSetterHelperFnMap(QualType Ty) { argument 421 return AtomicSetterHelperFnMap[Ty]; 423 void setAtomicSetterHelperFnMap(QualType Ty, argument 425 AtomicSetterHelperFnMap[Ty] = Fn; 428 llvm::Constant *getAtomicGetterHelperFnMap(QualType Ty) { argument 429 return AtomicGetterHelperFnMap[Ty]; 431 void setAtomicGetterHelperFnMap(QualType Ty, argument 433 AtomicGetterHelperFnMap[Ty] = Fn; 523 CreateOrReplaceCXXRuntimeVariable(StringRef Name, llvm::Type *Ty, 533 /// given global variable. If Ty i [all...] |
H A D | CGDecl.cpp | 99 QualType Ty = TD.getUnderlyingType(); local 101 if (Ty->isVariablyModifiedType()) 102 EmitVariablyModifiedType(Ty); 176 QualType Ty = D.getType(); local 177 assert(Ty->isConstantSizeType() && "VLAs can't be static"); 186 llvm::Type *LTy = CGM.getTypes().ConvertTypeForMem(Ty); 188 CGM.GetGlobalVarAddressSpace(&D, CGM.getContext().getTargetAddressSpace(Ty)); 191 Ty.isConstant(getContext()), Linkage, 781 QualType Ty = D.getType(); local 792 if (Ty 1512 QualType Ty = D.getType(); local [all...] |
/external/llvm/include/llvm/ |
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 | GlobalVariable.h | 63 GlobalVariable(Type *Ty, bool isConstant, LinkageTypes Linkage, 68 GlobalVariable(Module &M, Type *Ty, bool isConstant,
|
H A D | GlobalAlias.h | 43 GlobalAlias(Type *Ty, LinkageTypes Linkage, const Twine &Name = "",
|
H A D | SymbolTableListTraits.h | 35 template<typename Ty> struct ilist_traits;
|
H A D | TypeFinder.h | 63 void incorporateType(Type *Ty);
|
/external/llvm/lib/VMCore/ |
H A D | ValueTypes.cpp | 205 EVT EVT::getEVT(Type *Ty, bool HandleUnknown){ argument 206 switch (Ty->getTypeID()) { 213 return getIntegerVT(Ty->getContext(), cast<IntegerType>(Ty)->getBitWidth()); 223 VectorType *VTy = cast<VectorType>(Ty); 224 return getVectorVT(Ty->getContext(), getEVT(VTy->getElementType(), false),
|
H A D | Core.cpp | 153 LLVMTypeKind LLVMGetTypeKind(LLVMTypeRef Ty) { argument 154 switch (unwrap(Ty)->getTypeID()) { 191 LLVMBool LLVMTypeIsSized(LLVMTypeRef Ty) argument 193 return unwrap(Ty)->isSized(); 196 LLVMContextRef LLVMGetTypeContext(LLVMTypeRef Ty) { argument 197 return wrap(&unwrap(Ty)->getContext()); 312 FunctionType *Ty = unwrap<FunctionType>(FunctionTy); local 313 for (FunctionType::param_iterator I = Ty->param_begin(), 314 E = Ty->param_end(); I != E; ++I) 337 const char *LLVMGetStructName(LLVMTypeRef Ty) argument 356 StructType *Ty = unwrap<StructType>(StructTy); local 388 LLVMGetElementType(LLVMTypeRef Ty) argument 510 LLVMConstNull(LLVMTypeRef Ty) argument 514 LLVMConstAllOnes(LLVMTypeRef Ty) argument 518 LLVMGetUndef(LLVMTypeRef Ty) argument 522 LLVMIsConstant(LLVMValueRef Ty) argument 536 LLVMConstPointerNull(LLVMTypeRef Ty) argument 609 IntegerType *Ty = unwrap<IntegerType>(IntTy); local 686 StructType *Ty = cast<StructType>(unwrap(StructTy)); local 724 LLVMAlignOf(LLVMTypeRef Ty) argument 728 LLVMSizeOf(LLVMTypeRef Ty) argument 1055 LLVMConstInlineAsm(LLVMTypeRef Ty, const char *AsmString, const char *Constraints, LLVMBool HasSideEffects, LLVMBool IsAlignStack) argument 1203 LLVMAddGlobal(LLVMModuleRef M, LLVMTypeRef Ty, const char *Name) argument 1208 LLVMAddGlobalInAddressSpace(LLVMModuleRef M, LLVMTypeRef Ty, const char *Name, unsigned AddressSpace) argument 1286 LLVMAddAlias(LLVMModuleRef M, LLVMTypeRef Ty, LLVMValueRef Aliasee, const char *Name) argument 1819 LLVMBuildLandingPad(LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef PersFn, unsigned NumClauses, const char *Name) argument 2011 LLVMBuildMalloc(LLVMBuilderRef B, LLVMTypeRef Ty, const char *Name) argument 2022 LLVMBuildArrayMalloc(LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef Val, const char *Name) argument 2033 LLVMBuildAlloca(LLVMBuilderRef B, LLVMTypeRef Ty, const char *Name) argument 2038 LLVMBuildArrayAlloca(LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef Val, const char *Name) argument 2222 LLVMBuildPhi(LLVMBuilderRef B, LLVMTypeRef Ty, const char *Name) argument 2241 LLVMBuildVAArg(LLVMBuilderRef B, LLVMValueRef List, LLVMTypeRef Ty, const char *Name) argument [all...] |
/external/llvm/include/llvm/Support/ |
H A D | GetElementPtrTypeIterator.h | 33 static generic_gep_type_iterator begin(Type *Ty, ItTy It) { argument 35 I.CurTy = Ty;
|
H A D | DOTGraphTraits.h | 154 template <typename Ty>
|
/external/llvm/include/llvm-c/ |
H A D | ExecutionEngine.h | 44 LLVMGenericValueRef LLVMCreateGenericValueOfInt(LLVMTypeRef Ty, 50 LLVMGenericValueRef LLVMCreateGenericValueOfFloat(LLVMTypeRef Ty, double N);
|
H A D | Core.h | 622 LLVMTypeKind LLVMGetTypeKind(LLVMTypeRef Ty); 631 LLVMBool LLVMTypeIsSized(LLVMTypeRef Ty); 638 LLVMContextRef LLVMGetTypeContext(LLVMTypeRef Ty); 816 const char *LLVMGetStructName(LLVMTypeRef Ty); 880 LLVMTypeRef LLVMGetElementType(LLVMTypeRef Ty); 1252 LLVMValueRef LLVMConstNull(LLVMTypeRef Ty); /* all zeroes */ 1262 LLVMValueRef LLVMConstAllOnes(LLVMTypeRef Ty); 1269 LLVMValueRef LLVMGetUndef(LLVMTypeRef Ty); 1282 LLVMValueRef LLVMConstPointerNull(LLVMTypeRef Ty); 1467 LLVMValueRef LLVMAlignOf(LLVMTypeRef Ty); [all...] |
/external/clang/lib/Parse/ |
H A D | ParseExpr.cpp | 868 TypeResult Ty = Actions.ActOnTypeName(getCurScope(), local 870 if (Ty.isInvalid()) 875 Ty.get(), 0); 1031 TypeResult Ty = Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); local 1032 if (Ty.isInvalid()) 1037 Ty.get(), 0); 1780 TypeResult Ty = ParseTypeName(); local 1787 if (Expr.isInvalid() || Ty.isInvalid()) 1790 Res = Actions.ActOnVAArg(StartLoc, Expr.take(), Ty.get(), ConsumeParen()); 1795 TypeResult Ty local 2036 TypeResult Ty = ParseTypeName(); local 2075 TypeResult Ty; local 2089 TypeResult Ty; local 2106 TypeResult Ty; local 2184 ParseCompoundLiteralExpression(ParsedType Ty, SourceLocation LParenLoc, SourceLocation RParenLoc) argument 2266 ParsedType Ty; local [all...] |
/external/llvm/lib/Linker/ |
H A D | LinkModules.cpp | 244 Type *TypeMapTy::get(Type *Ty) { argument 245 Type *Result = getImpl(Ty); 254 Type *TypeMapTy::getImpl(Type *Ty) { argument 256 Type **Entry = &MappedTypes[Ty]; 261 if (!isa<StructType>(Ty) || cast<StructType>(Ty)->isLiteral()) { 264 if (Ty->getNumContainedTypes() == 0) 265 return *Entry = Ty; 270 ElementTypes.resize(Ty->getNumContainedTypes()); 271 for (unsigned i = 0, e = Ty [all...] |
/external/llvm/lib/Target/ |
H A D | Mangler.cpp | 165 Type *Ty = AI->getType(); local 168 Ty = cast<PointerType>(Ty)->getElementType(); 170 ArgWords += ((TD.getTypeAllocSize(Ty) + 3)/4)*4;
|
/external/clang/include/clang/AST/ |
H A D | DeclarationName.h | 352 DeclarationName getCXXConstructorName(CanQualType Ty) { argument 354 Ty.getUnqualifiedType()); 359 DeclarationName getCXXDestructorName(CanQualType Ty) { argument 361 Ty.getUnqualifiedType()); 366 DeclarationName getCXXConversionFunctionName(CanQualType Ty) { argument 367 return getCXXSpecialName(DeclarationName::CXXConversionFunctionName, Ty); 374 CanQualType Ty);
|
H A D | TypeLoc.h | 41 // The correctness of this relies on the property that, for Type *Ty, 42 // QualType(Ty, 0).getAsOpaquePtr() == (void*) Ty 43 const void *Ty; member in class:clang::TypeLoc 58 TypeLoc() : Ty(0), Data(0) { } 60 : Ty(ty.getAsOpaquePtr()), Data(opaqueData) { } 62 : Ty(ty), Data(opaqueData) { } 69 bool isNull() const { return !Ty; } 70 operator bool() const { return Ty; } 73 static unsigned getFullDataSizeForType(QualType Ty); 182 UnqualTypeLoc(const Type *Ty, void *Data) argument 296 classofType(const Type *Ty) argument 373 classofType(const Type *Ty) argument [all...] |
/external/clang/lib/AST/ |
H A D | APValue.cpp | 309 void APValue::printPretty(raw_ostream &Out, ASTContext &Ctx, QualType Ty) const{ 315 if (Ty->isBooleanType()) 325 QualType ElemTy = Ty->getAs<VectorType>()->getElementType(); 348 bool IsReference = Ty->isReferenceType(); 350 = IsReference ? Ty.getNonReferenceType() : Ty->getPointeeType(); 432 const ArrayType *AT = Ctx.getAsArrayType(Ty); 452 const RecordDecl *RD = Ty->getAs<RecordType>()->getDecl(); 503 std::string APValue::getAsString(ASTContext &Ctx, QualType Ty) const { 506 printPretty(Out, Ctx, Ty); [all...] |