Searched refs:Ty (Results 101 - 125 of 340) sorted by relevance

1234567891011>>

/external/llvm/lib/Linker/
H A DLinkModules.cpp245 Type *TypeMapTy::get(Type *Ty) { argument
246 Type *Result = getImpl(Ty);
255 Type *TypeMapTy::getImpl(Type *Ty) { argument
257 Type **Entry = &MappedTypes[Ty];
262 if (!isa<StructType>(Ty) || cast<StructType>(Ty)->isLiteral()) {
265 if (Ty->getNumContainedTypes() == 0)
266 return *Entry = Ty;
271 ElementTypes.resize(Ty->getNumContainedTypes());
272 for (unsigned i = 0, e = Ty
[all...]
/external/clang/lib/CodeGen/
H A DCGExpr.cpp53 llvm::AllocaInst *CodeGenFunction::CreateTempAlloca(llvm::Type *Ty, argument
56 return new llvm::AllocaInst(Ty, 0, "", AllocaInsertPt);
57 return new llvm::AllocaInst(Ty, 0, Name, AllocaInsertPt);
67 llvm::AllocaInst *CodeGenFunction::CreateIRTemp(QualType Ty, argument
69 llvm::AllocaInst *Alloc = CreateTempAlloca(ConvertType(Ty), Name);
71 CharUnits Align = getContext().getTypeAlignInChars(Ty);
76 llvm::AllocaInst *CodeGenFunction::CreateMemTemp(QualType Ty, argument
78 llvm::AllocaInst *Alloc = CreateTempAlloca(ConvertTypeForMem(Ty), Name);
80 CharUnits Align = getContext().getTypeAlignInChars(Ty);
413 QualType Ty local
441 EmitTypeCheck(TypeCheckKind TCK, SourceLocation Loc, llvm::Value *Address, QualType Ty, CharUnits Alignment) argument
701 GetUndefRValue(QualType Ty) argument
736 llvm::Type *Ty = llvm::PointerType::getUnqual(ConvertType(E->getType())); local
993 hasBooleanRepresentation(QualType Ty) argument
1006 getRangeForType(CodeGenFunction &CGF, QualType Ty, llvm::APInt &Min, llvm::APInt &End, bool StrictEnums) argument
1040 getRangeForLoadFromType(QualType Ty) argument
1050 EmitLoadOfScalar(llvm::Value *Addr, bool Volatile, unsigned Alignment, QualType Ty, llvm::MDNode *TBAAInfo, QualType TBAABaseType, uint64_t TBAAOffset) argument
1139 EmitToMemory(llvm::Value *Value, QualType Ty) argument
1153 EmitFromMemory(llvm::Value *Value, QualType Ty) argument
1164 EmitStoreOfScalar(llvm::Value *Value, llvm::Value *Addr, bool Volatile, unsigned Alignment, QualType Ty, llvm::MDNode *TBAAInfo, bool isInit, QualType TBAABaseType, uint64_t TBAAOffset) argument
1897 GetAddrOfConstantWideString(StringRef Str, const char *GlobalName, ASTContext &Context, QualType Ty, SourceLocation Loc, CodeGenModule &CGM) argument
[all...]
H A DCodeGenModule.h479 llvm::Constant *getAtomicSetterHelperFnMap(QualType Ty) { argument
480 return AtomicSetterHelperFnMap[Ty];
482 void setAtomicSetterHelperFnMap(QualType Ty, argument
484 AtomicSetterHelperFnMap[Ty] = Fn;
487 llvm::Constant *getAtomicGetterHelperFnMap(QualType Ty) { argument
488 return AtomicGetterHelperFnMap[Ty];
490 void setAtomicGetterHelperFnMap(QualType Ty, argument
492 AtomicGetterHelperFnMap[Ty] = Fn;
599 CreateOrReplaceCXXRuntimeVariable(StringRef Name, llvm::Type *Ty,
609 /// given global variable. If Ty i
[all...]
H A DCGExprConstant.cpp77 llvm::Constant *Finalize(QualType Ty);
313 llvm::Type *Ty = CGM.Int8Ty;
315 Ty = llvm::ArrayType::get(Ty, PadSize.getQuantity());
317 llvm::Constant *C = llvm::UndefValue::get(Ty);
349 llvm::Type *Ty = CGM.Int8Ty; local
351 Ty = llvm::ArrayType::get(Ty, NumChars.getQuantity());
353 llvm::Constant *Padding = llvm::UndefValue::get(Ty);
491 llvm::Constant *ConstStructBuilder::Finalize(QualType Ty) { argument
644 llvm::Type *Ty = CGM.Int8Ty; local
1000 QualType Ty = D.getType(); local
[all...]
H A DCGCall.cpp385 argTypes.push_back(Context.getCanonicalParamType(i->Ty));
399 argTypes.push_back(Context.getCanonicalParamType(i->Ty));
553 CodeGenFunction::ExpandTypeFromArgs(QualType Ty, LValue LV, argument
558 if (const ConstantArrayType *AT = getContext().getAsConstantArrayType(Ty)) {
566 } else if (const RecordType *RT = Ty->getAs<RecordType>()) {
601 } else if (const ComplexType *CT = Ty->getAs<ComplexType>()) {
648 /// CoerceIntOrPtrToIntOrPtr - Convert a value Val to the specific Ty where both
656 llvm::Type *Ty,
658 if (Val->getType() == Ty)
663 if (isa<llvm::PointerType>(Ty))
655 CoerceIntOrPtrToIntOrPtr(llvm::Value *Val, llvm::Type *Ty, CodeGenFunction &CGF) argument
707 CreateCoercedLoad(llvm::Value *SrcPtr, llvm::Type *Ty, CodeGenFunction &CGF) argument
1273 QualType Ty = info_it->type; local
2197 ExpandTypeToArgs(QualType Ty, RValue RV, SmallVectorImpl<llvm::Value *> &Args, llvm::FunctionType *IRFuncTy) argument
2626 EmitVAArg(llvm::Value *VAListAddr, QualType Ty) argument
[all...]
H A DCodeGenModule.cpp1336 llvm::Type *Ty,
1350 if (Entry->getType()->getElementType() == Ty)
1354 return llvm::ConstantExpr::getBitCast(Entry, Ty->getPointerTo());
1371 if (isa<llvm::FunctionType>(Ty)) {
1372 FTy = cast<llvm::FunctionType>(Ty);
1434 assert(F->getType()->getElementType() == Ty);
1438 llvm::Type *PTy = llvm::PointerType::getUnqual(Ty);
1442 /// GetAddrOfFunction - Return the address of the given function. If Ty is
1446 llvm::Type *Ty,
1449 if (!Ty)
1335 GetOrCreateLLVMFunction(StringRef MangledName, llvm::Type *Ty, GlobalDecl GD, bool ForVTable, llvm::AttributeSet ExtraAttrs) argument
1445 GetAddrOfFunction(GlobalDecl GD, llvm::Type *Ty, bool ForVTable) argument
1477 isTypeConstant(QualType Ty, bool ExcludeCtor) argument
1499 GetOrCreateLLVMGlobal(StringRef MangledName, llvm::PointerType *Ty, const VarDecl *D, bool UnnamedAddr) argument
1575 CreateOrReplaceCXXRuntimeVariable(StringRef Name, llvm::Type *Ty, llvm::GlobalValue::LinkageTypes Linkage) argument
1617 GetAddrOfGlobalVar(const VarDecl *D, llvm::Type *Ty) argument
1634 CreateRuntimeVariable(llvm::Type *Ty, StringRef Name) argument
2026 llvm::FunctionType *Ty = getTypes().GetFunctionType(FI); local
2245 llvm::Type *Ty = getTypes().ConvertType(getContext().IntTy); local
2267 llvm::Type *Ty = getTypes().ConvertType(getContext().UnsignedIntTy); local
2357 llvm::Type *Ty = getTypes().ConvertType(getContext().IntTy); local
2441 llvm::Type *Ty = getTypes().ConvertType(getContext().UnsignedIntTy); local
[all...]
/external/clang/test/PCH/
H A Dcxx-templates.cpp34 Dep<A>::Ty ty;
/external/llvm/include/llvm/IR/
H A DGlobalAlias.h43 GlobalAlias(Type *Ty, LinkageTypes Linkage, const Twine &Name = "",
H A DSymbolTableListTraits.h35 template<typename Ty> struct ilist_traits;
H A DTypeFinder.h63 void incorporateType(Type *Ty);
/external/llvm/include/llvm/Support/
H A DDOTGraphTraits.h159 template <typename Ty>
/external/llvm/lib/Target/
H A DMangler.cpp170 Type *Ty = AI->getType(); local
173 Ty = cast<PointerType>(Ty)->getElementType();
175 ArgWords += ((TD.getTypeAllocSize(Ty) + 3)/4)*4;
/external/llvm/lib/Target/Mips/
H A DMipsSEISelDAGToDAG.h36 EVT Ty, bool HasLo, bool HasHi);
/external/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp89 /// 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);
131 QualType Ty = Var->getType(); local
132 LValue = makeZeroElementRegion(State, LValue, Ty);
159 QualType Ty = Field->getType(); local
160 FieldVal = makeZeroElementRegion(State, FieldVal, Ty);
375 QualType Ty local
92 makeZeroElementRegion(ProgramStateRef State, SVal LValue, QualType &Ty) argument
[all...]
/external/clang/include/clang/AST/
H A DTypeLoc.h41 // 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
81 TypeLoc() : Ty(0), Data(0) { }
83 : Ty(ty.getAsOpaquePtr()), Data(opaqueData) { }
85 : Ty(ty), Data(opaqueData) { }
92 bool isNull() const { return !Ty; }
93 LLVM_EXPLICIT operator bool() const { return Ty; }
96 static unsigned getFullDataSizeForType(QualType Ty);
207 UnqualTypeLoc(const Type *Ty, void *Data) argument
322 classofType(const Type *Ty) argument
424 classofType(const Type *Ty) argument
[all...]
/external/clang/lib/AST/
H A DTypeLoc.cpp56 unsigned TypeLoc::getLocalAlignmentForType(QualType Ty) { argument
57 if (Ty.isNull()) return 1;
58 return TypeAligner().Visit(TypeLoc(Ty, 0));
74 unsigned TypeLoc::getFullDataSizeForType(QualType Ty) { argument
76 TypeLoc TyLoc(Ty, 0);
/external/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.h136 void addGlobalType(DIType Ty);
256 void addSourceLine(DIE *Die, DIType Ty);
258 void addSourceLine(DIE *Die, DIObjCProperty Ty);
266 void addConstantValue(DIE *Die, const MachineOperand &MO, DIType Ty);
312 void addType(DIE *Entity, DIType Ty, unsigned Attribute = dwarf::DW_AT_type);
/external/llvm/lib/CodeGen/
H A DStackProtector.cpp82 bool ContainsProtectableArray(Type *Ty, bool Strong = false,
139 bool StackProtector::ContainsProtectableArray(Type *Ty, bool Strong, argument
141 if (!Ty) return false;
142 if (ArrayType *AT = dyn_cast<ArrayType>(Ty)) {
160 const StructType *ST = dyn_cast<StructType>(Ty);
H A DAnalysis.cpp33 unsigned llvm::ComputeLinearIndex(Type *Ty, argument
42 if (StructType *STy = dyn_cast<StructType>(Ty)) {
54 else if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) {
74 void llvm::ComputeValueVTs(const TargetLowering &TLI, Type *Ty, argument
79 if (StructType *STy = dyn_cast<StructType>(Ty)) {
90 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) {
99 if (Ty->isVoidTy())
102 ValueVTs.push_back(TLI.getValueType(Ty));
/external/llvm/include/llvm/TableGen/
H A DRecord.h135 inline raw_ostream &operator<<(raw_ostream &OS, const RecTy &Ty) { argument
136 Ty.print(OS);
290 /// ListRecTy - 'list<Ty>' - Represent a list of values, all of which must be of
294 RecTy *Ty; member in class:llvm::ListRecTy
295 explicit ListRecTy(RecTy *T) : RecTy(ListRecTyKind), Ty(T) {}
303 RecTy *getElementType() const { return Ty; }
490 virtual Init *convertInitializerTo(RecTy *Ty) const = 0;
557 RecTy *Ty; member in class:llvm::TypedInit
563 explicit TypedInit(InitKind K, RecTy *T) : Init(K), Ty(T) {}
570 RecTy *getType() const { return Ty; }
[all...]
/external/llvm/lib/IR/
H A DCore.cpp166 LLVMTypeKind LLVMGetTypeKind(LLVMTypeRef Ty) { argument
167 switch (unwrap(Ty)->getTypeID()) {
204 LLVMBool LLVMTypeIsSized(LLVMTypeRef Ty) argument
206 return unwrap(Ty)->isSized();
209 LLVMContextRef LLVMGetTypeContext(LLVMTypeRef Ty) { argument
210 return wrap(&unwrap(Ty)->getContext());
325 FunctionType *Ty = unwrap<FunctionType>(FunctionTy); local
326 for (FunctionType::param_iterator I = Ty->param_begin(),
327 E = Ty->param_end(); I != E; ++I)
350 const char *LLVMGetStructName(LLVMTypeRef Ty) argument
369 StructType *Ty = unwrap<StructType>(StructTy); local
401 LLVMGetElementType(LLVMTypeRef Ty) argument
523 LLVMConstNull(LLVMTypeRef Ty) argument
527 LLVMConstAllOnes(LLVMTypeRef Ty) argument
531 LLVMGetUndef(LLVMTypeRef Ty) argument
535 LLVMIsConstant(LLVMValueRef Ty) argument
549 LLVMConstPointerNull(LLVMTypeRef Ty) argument
635 IntegerType *Ty = unwrap<IntegerType>(IntTy); local
712 StructType *Ty = cast<StructType>(unwrap(StructTy)); local
750 LLVMAlignOf(LLVMTypeRef Ty) argument
754 LLVMSizeOf(LLVMTypeRef Ty) argument
1081 LLVMConstInlineAsm(LLVMTypeRef Ty, const char *AsmString, const char *Constraints, LLVMBool HasSideEffects, LLVMBool IsAlignStack) argument
1229 LLVMAddGlobal(LLVMModuleRef M, LLVMTypeRef Ty, const char *Name) argument
1234 LLVMAddGlobalInAddressSpace(LLVMModuleRef M, LLVMTypeRef Ty, const char *Name, unsigned AddressSpace) argument
1359 LLVMAddAlias(LLVMModuleRef M, LLVMTypeRef Ty, LLVMValueRef Aliasee, const char *Name) argument
1925 LLVMBuildLandingPad(LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef PersFn, unsigned NumClauses, const char *Name) argument
2117 LLVMBuildMalloc(LLVMBuilderRef B, LLVMTypeRef Ty, const char *Name) argument
2128 LLVMBuildArrayMalloc(LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef Val, const char *Name) argument
2139 LLVMBuildAlloca(LLVMBuilderRef B, LLVMTypeRef Ty, const char *Name) argument
2144 LLVMBuildArrayAlloca(LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef Val, const char *Name) argument
2328 LLVMBuildPhi(LLVMBuilderRef B, LLVMTypeRef Ty, const char *Name) argument
2347 LLVMBuildVAArg(LLVMBuilderRef B, LLVMValueRef List, LLVMTypeRef Ty, const char *Name) argument
[all...]
H A DVerifier.cpp315 bool PerformTypeCheck(Intrinsic::ID ID, Function *F, Type *Ty,
317 bool VerifyIntrinsicType(Type *Ty,
323 void VerifyParameterAttrs(AttributeSet Attrs, unsigned Idx, Type *Ty,
777 void Verifier::VerifyParameterAttrs(AttributeSet Attrs, unsigned Idx, Type *Ty, argument
827 hasAttributes(AttributeFuncs::typeIncompatible(Ty, Idx), Idx),
829 AttributeFuncs::typeIncompatible(Ty, Idx).getAsString(Idx), V);
831 if (PointerType *PTy = dyn_cast<PointerType>(Ty))
854 Type *Ty; local
856 Ty = FT->getReturnType();
858 Ty
1509 Type *Ty = CS.getArgument(Idx-1)->getType(); local
2112 VerifyIntrinsicType(Type *Ty, ArrayRef<Intrinsic::IITDescriptor> &Infos, SmallVectorImpl<Type*> &ArgTys) argument
[all...]
/external/llvm/lib/Target/CppBackend/
H A DCPPBackend.cpp145 void printType(Type* Ty);
179 static std::string getTypePrefix(Type *Ty) { argument
180 switch (Ty->getTypeID()) {
183 return "int" + utostr(cast<IntegerType>(Ty)->getBitWidth()) + "_";
364 std::string CppWriter::getCppName(Type* Ty) { argument
366 if (Ty->isPrimitiveType() || Ty->isIntegerTy()) {
367 switch (Ty->getTypeID()) {
370 unsigned BitWidth = cast<IntegerType>(Ty)->getBitWidth();
387 TypeMap::iterator I = TypeNames.find(Ty);
418 printCppName(Type* Ty) argument
538 printType(Type* Ty) argument
2020 Type* Ty = TheModule->getTypeByName(typeName); local
[all...]
/external/clang/lib/Frontend/
H A DInitPreprocessor.cpp180 static void DefineTypeSize(StringRef MacroName, TargetInfo::IntType Ty, argument
182 DefineTypeSize(MacroName, TI.getTypeWidth(Ty), TI.getTypeConstantSuffix(Ty),
183 TI.isTypeSigned(Ty), Builder);
186 static void DefineType(const Twine &MacroName, TargetInfo::IntType Ty, argument
188 Builder.defineMacro(MacroName, TargetInfo::getTypeName(Ty));
191 static void DefineTypeWidth(StringRef MacroName, TargetInfo::IntType Ty, argument
193 Builder.defineMacro(MacroName, Twine(TI.getTypeWidth(Ty)));
202 static void DefineExactWidthIntType(TargetInfo::IntType Ty, argument
204 int TypeWidth = TI.getTypeWidth(Ty);
[all...]
/external/llvm/include/llvm-c/
H A DExecutionEngine.h55 LLVMGenericValueRef LLVMCreateGenericValueOfInt(LLVMTypeRef Ty,
61 LLVMGenericValueRef LLVMCreateGenericValueOfFloat(LLVMTypeRef Ty, double N);

Completed in 734 milliseconds

1234567891011>>