/external/clang/lib/CodeGen/ |
CGDebugInfo.cpp | 107 llvm::DIType Ty = getOrCreateType(CGM.getContext().getTypeDeclType(RDecl), 109 return llvm::DIDescriptor(Ty); 415 llvm::DIType CGDebugInfo::CreateType(const ComplexType *Ty) { 418 if (Ty->isComplexIntegerType()) 421 uint64_t Size = CGM.getContext().getTypeSize(Ty); 422 uint64_t Align = CGM.getContext().getTypeAlign(Ty); 431 llvm::DIType CGDebugInfo::CreateQualifiedType(QualType Ty, llvm::DIFile Unit) { 433 const Type *T = Qc.strip(Ty); 466 llvm::DIType CGDebugInfo::CreateType(const ObjCObjectPointerType *Ty, 469 CreatePointerLikeType(llvm::dwarf::DW_TAG_pointer_type, Ty, [all...] |
/external/clang/include/clang/Index/ |
ASTLocation.h | 63 } Ty; 90 Ty.TyPtr = tyLoc.getType().getAsOpaquePtr(); 91 Ty.Data = tyLoc.getOpaqueData(); 120 return TypeLoc(QualType::getFromOpaquePtr(Ty.TyPtr), Ty.Data);
|
/external/llvm/lib/Analysis/ |
DIBuilder.cpp | 250 DIType DIBuilder::createTypedef(DIType Ty, StringRef Name, DIFile File, 253 assert(Ty.Verify() && "Invalid typedef type!"); 264 Ty 270 DIType DIBuilder::createFriend(DIType Ty, DIType FriendTy) { 272 assert(Ty.Verify() && "Invalid type!"); 276 Ty, 278 Ty.getFile(), 291 DIType DIBuilder::createInheritance(DIType Ty, DIType BaseTy, 293 assert(Ty.Verify() && "Unable to create inheritance"); 297 Ty, [all...] |
ScalarEvolution.cpp | 300 ScalarEvolution::getConstant(Type *Ty, uint64_t V, bool isSigned) { 301 IntegerType *ITy = cast<IntegerType>(getEffectiveSCEVType(Ty)); 306 unsigned SCEVTy, const SCEV *op, Type *ty) 307 : SCEV(ID, SCEVTy), Op(op), Ty(ty) {} 310 const SCEV *op, Type *ty) 311 : SCEVCastExpr(ID, scTruncate, op, ty) { 313 (Ty->isIntegerTy() || Ty->isPointerTy()) && 318 const SCEV *op, Type *ty) [all...] |
/external/llvm/lib/AsmParser/ |
LLParser.h | 146 GlobalValue *GetGlobalVal(const std::string &N, Type *Ty, LocTy Loc); 147 GlobalValue *GetGlobalVal(unsigned ID, Type *Ty, LocTy Loc); 255 Value *GetVal(const std::string &Name, Type *Ty, LocTy Loc); 256 Value *GetVal(unsigned ID, Type *Ty, LocTy Loc); 275 bool ConvertValIDToValue(Type *Ty, ValID &ID, Value *&V, 278 bool ParseValue(Type *Ty, Value *&V, PerFunctionState *PFS); 279 bool ParseValue(Type *Ty, Value *&V, PerFunctionState &PFS) { 280 return ParseValue(Ty, V, &PFS); 282 bool ParseValue(Type *Ty, Value *&V, LocTy &Loc, 285 return ParseValue(Ty, V, &PFS) [all...] |
LLParser.cpp | 525 Type *Ty = 0; 529 ParseType(Ty, TyLoc) || 657 Type *Ty = 0; 663 ParseType(Ty, TyLoc)) 672 if (ParseGlobalValue(Ty, Init)) 676 if (Ty->isFunctionTy() || Ty->isLabelTy()) 698 GV = new GlobalVariable(*M, Ty, false, GlobalValue::ExternalLinkage, 0, 701 if (GV->getType()->getElementType() != Ty) 750 GlobalValue *LLParser::GetGlobalVal(const std::string &Name, Type *Ty, [all...] |
/external/llvm/include/llvm/CodeGen/ |
MachineModuleInfo.h | 199 template<typename Ty> 200 Ty &getObjFileInfo() { 202 ObjFileMMI = new Ty(*this); 203 return *static_cast<Ty*>(ObjFileMMI); 206 template<typename Ty> 207 const Ty &getObjFileInfo() const { 208 return const_cast<MachineModuleInfo*>(this)->getObjFileInfo<Ty>();
|
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCasts.cpp | 155 Value *InstCombiner::EvaluateInDifferentType(Value *V, Type *Ty, 158 C = ConstantExpr::getIntegerCast(C, Ty, isSigned /*Sext or ZExt*/); 181 Value *LHS = EvaluateInDifferentType(I->getOperand(0), Ty, isSigned); 182 Value *RHS = EvaluateInDifferentType(I->getOperand(1), Ty, isSigned); 192 if (I->getOperand(0)->getType() == Ty) 197 Res = CastInst::CreateIntegerCast(I->getOperand(0), Ty, 201 Value *True = EvaluateInDifferentType(I->getOperand(1), Ty, isSigned); 202 Value *False = EvaluateInDifferentType(I->getOperand(2), Ty, isSigned); 208 PHINode *NPN = PHINode::Create(Ty, OPN->getNumIncomingValues()); 210 Value *V =EvaluateInDifferentType(OPN->getIncomingValue(i), Ty, isSigned) [all...] |
/external/clang/lib/Analysis/ |
CocoaConventions.cpp | 96 bool cocoa::isCocoaObjectRef(QualType Ty) { 97 if (!Ty->isObjCObjectPointerType()) 100 const ObjCObjectPointerType *PT = Ty->getAs<ObjCObjectPointerType>();
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
DwarfCompileUnit.cpp | 166 void CompileUnit::addSourceLine(DIE *Die, DIType Ty) { 168 if (!Ty.Verify()) 171 unsigned Line = Ty.getLineNumber(); 172 if (Line == 0 || !Ty.getContext().Verify()) 174 unsigned FileID = DD->GetOrCreateSourceID(Ty.getFilename(), Ty.getDirectory()); 355 DIType Ty = DV->getType(); 356 DIType TmpTy = Ty; 357 unsigned Tag = Ty.getTag(); 363 DIDerivedType DTy = DIDerivedType(Ty); [all...] |
/external/clang/test/PCH/ |
cxx-templates.cpp | 27 Dep<A>::Ty ty; local
|
/external/llvm/include/llvm/ |
GlobalAlias.h | 43 GlobalAlias(Type *Ty, LinkageTypes Linkage, const Twine &Name = "",
|
GlobalVariable.h | 53 GlobalVariable(Type *Ty, bool isConstant, LinkageTypes Linkage, 58 GlobalVariable(Module &M, Type *Ty, bool isConstant,
|
/external/llvm/include/llvm/ADT/ |
PointerUnion.h | 124 UNION_DOESNT_CONTAIN_TYPE<T> > >::Return Ty; 125 int TyNo = Ty::Num; 265 >::Return Ty; 266 return Ty(Val).is<T>(); 278 >::Return Ty; 279 return Ty(Val).get<T>(); 373 >::Return Ty; 374 return Val.template is<Ty>() && 375 Val.template get<Ty>().template is<T>(); 387 >::Return Ty; [all...] |
/external/llvm/include/llvm/Support/ |
GetElementPtrTypeIterator.h | 33 static generic_gep_type_iterator begin(Type *Ty, ItTy It) { 35 I.CurTy = Ty;
|
/external/llvm/lib/CodeGen/ |
Analysis.cpp | 34 unsigned llvm::ComputeLinearIndex(Type *Ty, 43 if (StructType *STy = dyn_cast<StructType>(Ty)) { 55 else if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { 75 void llvm::ComputeValueVTs(const TargetLowering &TLI, Type *Ty, 80 if (StructType *STy = dyn_cast<StructType>(Ty)) { 91 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { 100 if (Ty->isVoidTy()) 103 ValueVTs.push_back(TLI.getValueType(Ty));
|
/external/llvm/lib/Target/Mips/ |
MipsTargetObjectFile.cpp | 82 Type *Ty = GV->getType()->getElementType(); 83 return IsInSmallSection(TM.getTargetData()->getTypeAllocSize(Ty));
|
/external/llvm/include/llvm/TableGen/ |
Record.h | 127 inline raw_ostream &operator<<(raw_ostream &OS, const RecTy &Ty) { 128 Ty.print(OS); 306 // ListRecTy - 'list<Ty>' - Represent a list of values, all of which must be of 308 /// ListRecTy - 'list<Ty>' - Represent a list of values, all of which must 312 RecTy *Ty; 313 explicit ListRecTy(RecTy *T) : Ty(T) {} 317 RecTy *getElementType() const { return Ty; } 347 return RHS->getElementType()->typeIsConvertibleTo(Ty); 522 virtual Init *convertInitializerTo(RecTy *Ty) const = 0; 577 RecTy *Ty; [all...] |
/external/llvm/lib/Linker/ |
LinkModules.cpp | 212 Type *TypeMapTy::get(Type *Ty) { 213 Type *Result = getImpl(Ty); 222 Type *TypeMapTy::getImpl(Type *Ty) { 224 Type **Entry = &MappedTypes[Ty]; 229 if (!isa<StructType>(Ty) || cast<StructType>(Ty)->isLiteral()) { 232 if (Ty->getNumContainedTypes() == 0) 233 return *Entry = Ty; 238 ElementTypes.resize(Ty->getNumContainedTypes()); 239 for (unsigned i = 0, e = Ty->getNumContainedTypes(); i != e; ++i) [all...] |
/external/llvm/include/llvm/Analysis/ |
ScalarEvolution.h | 541 bool isSCEVable(Type *Ty) const; 545 uint64_t getTypeSizeInBits(Type *Ty) const; 551 Type *getEffectiveSCEVType(Type *Ty) const; 559 const SCEV *getConstant(Type *Ty, uint64_t V, bool isSigned = false); 560 const SCEV *getTruncateExpr(const SCEV *Op, Type *Ty); 561 const SCEV *getZeroExtendExpr(const SCEV *Op, Type *Ty); 562 const SCEV *getSignExtendExpr(const SCEV *Op, Type *Ty); 563 const SCEV *getAnyExtendExpr(const SCEV *Op, Type *Ty); 649 const SCEV *getTruncateOrZeroExtend(const SCEV *V, Type *Ty); 654 const SCEV *getTruncateOrSignExtend(const SCEV *V, Type *Ty); [all...] |
/external/clang/include/clang/AST/ |
DeclarationName.h | 338 DeclarationName getCXXConstructorName(CanQualType Ty) { 340 Ty.getUnqualifiedType()); 345 DeclarationName getCXXDestructorName(CanQualType Ty) { 347 Ty.getUnqualifiedType()); 352 DeclarationName getCXXConversionFunctionName(CanQualType Ty) { 353 return getCXXSpecialName(DeclarationName::CXXConversionFunctionName, Ty); 360 CanQualType Ty);
|
/external/llvm/lib/Target/CBackend/ |
CBackend.cpp | 155 raw_ostream &printType(raw_ostream &Out, Type *Ty, 160 raw_ostream &printSimpleType(raw_ostream &Out, Type *Ty, 166 PointerType *Ty); 203 void printContainedStructs(Type *Ty, SmallPtrSet<Type *, 16> &); 413 CWriter::printSimpleType(raw_ostream &Out, Type *Ty, bool isSigned, 415 assert((Ty->isPrimitiveType() || Ty->isIntegerTy() || Ty->isVectorTy()) && 417 switch (Ty->getTypeID()) { 420 unsigned NumBits = cast<IntegerType>(Ty)->getBitWidth() [all...] |
/external/clang/lib/Frontend/ |
InitPreprocessor.cpp | 185 static void DefineTypeSize(StringRef MacroName, TargetInfo::IntType Ty, 187 DefineTypeSize(MacroName, TI.getTypeWidth(Ty), TI.getTypeConstantSuffix(Ty), 188 TI.isTypeSigned(Ty), Builder); 191 static void DefineType(const Twine &MacroName, TargetInfo::IntType Ty, 193 Builder.defineMacro(MacroName, TargetInfo::getTypeName(Ty)); 196 static void DefineTypeWidth(StringRef MacroName, TargetInfo::IntType Ty, 198 Builder.defineMacro(MacroName, Twine(TI.getTypeWidth(Ty))); 207 static void DefineExactWidthIntType(TargetInfo::IntType Ty, 209 int TypeWidth = TI.getTypeWidth(Ty); [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
FunctionLoweringInfo.cpp | 81 Type *Ty = AI->getAllocatedType(); 82 uint64_t TySize = TLI.getTargetData()->getTypeAllocSize(Ty); 84 std::max((unsigned)TLI.getTargetData()->getPrefTypeAlignment(Ty), 95 (TySize > 8 && isa<ArrayType>(Ty) && 96 cast<ArrayType>(Ty)->getElementType()->isIntegerTy(8))); 219 unsigned FunctionLoweringInfo::CreateRegs(Type *Ty) { 221 ComputeValueVTs(TLI, Ty, ValueVTs); 226 EVT RegisterVT = TLI.getRegisterType(Ty->getContext(), ValueVT); 228 unsigned NumRegs = TLI.getNumRegisters(Ty->getContext(), ValueVT); 263 Type *Ty = PN->getType() [all...] |
/external/llvm/lib/ExecutionEngine/Interpreter/ |
ExternalFunctions.cpp | 63 static char getTypeID(Type *Ty) { 64 switch (Ty->getTypeID()) { 67 switch (cast<IntegerType>(Ty)->getBitWidth()) { 112 static ffi_type *ffiTypeFor(Type *Ty) { 113 switch (Ty->getTypeID()) { 116 switch (cast<IntegerType>(Ty)->getBitWidth()) { 132 static void *ffiValueFor(Type *Ty, const GenericValue &AV, 134 switch (Ty->getTypeID()) { 136 switch (cast<IntegerType>(Ty)->getBitWidth()) {
|