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

1234567891011>>

/external/llvm/include/llvm/Target/
H A DTargetLowering.h458 unsigned Ty = (unsigned)VT.getSimpleVT().SimpleTy;
459 return (LegalizeAction)((IndexedModeActions[Ty][IdxMode] & 0xf0) >> 4);
479 unsigned Ty = (unsigned)VT.getSimpleVT().SimpleTy;
480 return (LegalizeAction)(IndexedModeActions[Ty][IdxMode] & 0x0f);
542 EVT getValueType(Type *Ty, bool AllowUnknown = false) const {
544 if (Ty->isPointerTy()) return PointerTy;
546 if (Ty->isVectorTy()) {
547 VectorType *VTy = cast<VectorType>(Ty);
551 Elm = EVT(PointerTy).getTypeForEVT(Ty->getContext());
552 return EVT::getVectorVT(Ty
997 setBooleanContents(BooleanContent Ty) argument
1001 setBooleanVectorContents(BooleanContent Ty) argument
[all...]
/external/clang/lib/CodeGen/
H A DCGExpr.cpp51 llvm::AllocaInst *CodeGenFunction::CreateTempAlloca(llvm::Type *Ty, argument
54 return new llvm::AllocaInst(Ty, 0, "", AllocaInsertPt);
55 return new llvm::AllocaInst(Ty, 0, Name, AllocaInsertPt);
65 llvm::AllocaInst *CodeGenFunction::CreateIRTemp(QualType Ty, argument
67 llvm::AllocaInst *Alloc = CreateTempAlloca(ConvertType(Ty), Name);
69 CharUnits Align = getContext().getTypeAlignInChars(Ty);
74 llvm::AllocaInst *CodeGenFunction::CreateMemTemp(QualType Ty, argument
76 llvm::AllocaInst *Alloc = CreateTempAlloca(ConvertTypeForMem(Ty), Name);
78 CharUnits Align = getContext().getTypeAlignInChars(Ty);
495 QualType Ty local
561 EmitTypeCheck(TypeCheckKind TCK, llvm::Value *Address, QualType Ty, CharUnits Alignment) argument
647 GetUndefRValue(QualType Ty) argument
677 llvm::Type *Ty = llvm::PointerType::getUnqual(ConvertType(E->getType())); local
924 hasBooleanRepresentation(QualType Ty) argument
937 getRangeForLoadFromType(QualType Ty) argument
974 EmitLoadOfScalar(llvm::Value *Addr, bool Volatile, unsigned Alignment, QualType Ty, llvm::MDNode *TBAAInfo) argument
1039 EmitToMemory(llvm::Value *Value, QualType Ty) argument
1052 EmitFromMemory(llvm::Value *Value, QualType Ty) argument
1062 EmitStoreOfScalar(llvm::Value *Value, llvm::Value *Addr, bool Volatile, unsigned Alignment, QualType Ty, llvm::MDNode *TBAAInfo, bool isInit) argument
1828 GetAddrOfConstantWideString(StringRef Str, const char *GlobalName, ASTContext &Context, QualType Ty, SourceLocation Loc, CodeGenModule &CGM) argument
2528 QualType Ty = E->getType(); local
3004 ConvertTempToRValue(CodeGenFunction &CGF, QualType Ty, llvm::Value *Dest) argument
[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);
524 llvm::Constant *ConstStructBuilder::Finalize(QualType Ty) { argument
673 llvm::Type *Ty = CGM.Int8Ty; local
[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
527 printType(Type* Ty) argument
2016 Type* Ty = TheModule->getTypeByName(typeName); local
[all...]
/external/llvm/lib/VMCore/
H A DValue.cpp38 static inline Type *checkType(Type *Ty) { argument
39 assert(Ty && "Value defined with a null type: Error!");
40 return const_cast<Type*>(Ty);
422 Type *Ty = *GTI++; local
424 if (isa<StructType>(Ty))
433 ArrayType *ATy = dyn_cast<ArrayType>(Ty);
H A DVerifier.cpp295 bool PerformTypeCheck(Intrinsic::ID ID, Function *F, Type *Ty,
297 bool VerifyIntrinsicType(Type *Ty,
300 void VerifyParameterAttrs(Attributes Attrs, Type *Ty,
527 void Verifier::VerifyParameterAttrs(Attributes Attrs, Type *Ty, argument
549 Attributes TypeI = Attrs & Attribute::typeIncompatible(Ty);
554 if (PointerType *PTy = dyn_cast<PointerType>(Ty)) {
578 Type *Ty; local
580 Ty = FT->getReturnType();
582 Ty = FT->getParamType(Attr.Index-1);
586 VerifyParameterAttrs(Attr.Attrs, Ty, Att
1728 VerifyIntrinsicType(Type *Ty, ArrayRef<Intrinsic::IITDescriptor> &Infos, SmallVectorImpl<Type*> &ArgTys) argument
[all...]
/external/clang/lib/Frontend/
H A DInitPreprocessor.cpp166 static void DefineTypeSize(StringRef MacroName, TargetInfo::IntType Ty, argument
168 DefineTypeSize(MacroName, TI.getTypeWidth(Ty), TI.getTypeConstantSuffix(Ty),
169 TI.isTypeSigned(Ty), Builder);
172 static void DefineType(const Twine &MacroName, TargetInfo::IntType Ty, argument
174 Builder.defineMacro(MacroName, TargetInfo::getTypeName(Ty));
177 static void DefineTypeWidth(StringRef MacroName, TargetInfo::IntType Ty, argument
179 Builder.defineMacro(MacroName, Twine(TI.getTypeWidth(Ty)));
188 static void DefineExactWidthIntType(TargetInfo::IntType Ty, argument
190 int TypeWidth = TI.getTypeWidth(Ty);
[all...]
/external/llvm/lib/Target/CellSPU/
H A DSPUISelLowering.h148 virtual bool isLegalAddressImmediate(int64_t V, Type *Ty) const;
174 Type *Ty) const;
/external/llvm/utils/TableGen/
H A DCodeGenTarget.h191 MVT::SimpleValueType Ty; member in class:llvm::ComplexPattern
200 MVT::SimpleValueType getValueType() const { return Ty; }
/external/llvm/include/llvm/Transforms/Utils/
H A DSSAUpdater.h60 /// updates with type 'Ty'. PHI nodes get a name based on 'Name'.
61 void Initialize(Type *Ty, StringRef Name);
/external/llvm/lib/Target/ARM/
H A DARMConstantPoolValue.cpp29 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),
H A DARMSelectionDAGInfo.cpp160 Entry.Ty = IntPtrTy;
165 Entry.Ty = IntPtrTy;
177 Entry.Ty = Type::getInt32Ty(*DAG.getContext());
/external/llvm/lib/Transforms/IPO/
H A DPassManagerBuilder.cpp64 PassManagerBuilder::ExtensionPointTy Ty,
66 GlobalExtensions->push_back(std::make_pair(Ty, Fn));
69 void PassManagerBuilder::addExtension(ExtensionPointTy Ty, ExtensionFn Fn) { argument
70 Extensions.push_back(std::make_pair(Ty, Fn));
63 addGlobalExtension( PassManagerBuilder::ExtensionPointTy Ty, PassManagerBuilder::ExtensionFn Fn) argument
/external/clang/lib/Parse/
H A DParseExprCXX.cpp1007 TypeResult Ty = ParseTypeName(); local
1012 if (Ty.isInvalid() || RParenLoc.isInvalid())
1016 Ty.get().getAsOpaquePtr(), RParenLoc);
1055 TypeResult Ty = ParseTypeName(); local
1060 if (Ty.isInvalid())
1064 Ty.get().getAsOpaquePtr(),
1964 TypeResult Ty = Actions.ActOnTypeName(getCurScope(), D); local
1965 if (Ty.isInvalid())
1969 Result.setConversionFunctionId(KeywordLoc, Ty.get(),
2038 ParsedType Ty local
2076 ParsedType Ty = Actions.getTypeName(*TemplateId->Name, local
2164 ParsedType Ty = Actions.getDestructorName(TildeLoc, *ClassName, local
2606 TypeResult Ty = ParseTypeName(); local
2794 TypeResult Ty = ParseTypeName(); local
[all...]
/external/clang/lib/AST/
H A DTypeLoc.cpp55 unsigned TypeLoc::getFullDataSizeForType(QualType Ty) { argument
56 if (Ty.isNull()) return 0;
57 return TypeSizer().Visit(TypeLoc(Ty, 0));
H A DDeclarationName.cpp369 CanQualType Ty) {
380 assert(!Ty.hasQualifiers() &&"Constructor type must be unqualified");
384 assert(!Ty.hasQualifiers() && "Destructor type must be unqualified");
396 ID.AddPointer(Ty.getAsOpaquePtr());
404 SpecialName->Type = Ty;
368 getCXXSpecialName(DeclarationName::NameKind Kind, CanQualType Ty) argument
/external/clang/test/PCH/
H A Dcxx-templates.h45 typedef typename T::type Ty; typedef in struct:Dep
47 Ty x = Ty();
/external/llvm/include/llvm/
H A DFunction.h120 Function(FunctionType *Ty, LinkageTypes Linkage,
124 static Function *Create(FunctionType *Ty, LinkageTypes Linkage, argument
126 return new(0) Function(Ty, Linkage, N, M);
H A DType.h211 /// with a lossless BitCast to type 'Ty'. For example, i8* to i32*. BitCasts
214 /// @brief Determine if this type could be losslessly bitcast to Ty
215 bool canLosslesslyBitCastTo(Type *Ty) const;
321 // example) is shorthand for cast<VectorType>(Ty)->getNumElements(). This is
414 static inline bool doit(const Type &Ty) {
415 return Ty.getTypeID() == Type::PointerTyID;
H A DValue.h91 Value(Type *Ty, unsigned scid);
315 void mutateType(Type *Ty) { argument
316 VTy = Ty;
H A DInstructions.h63 explicit AllocaInst(Type *Ty, Value *ArraySize = 0,
65 AllocaInst(Type *Ty, Value *ArraySize,
68 AllocaInst(Type *Ty, const Twine &Name, Instruction *InsertBefore = 0);
69 AllocaInst(Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd);
71 AllocaInst(Type *Ty, Value *ArraySize, unsigned Align,
73 AllocaInst(Type *Ty, Value *ArraySize, unsigned Align,
704 inline Type *checkGEPType(Type *Ty) { argument
705 assert(Ty && "Invalid GetElementPtrInst indices for type!");
706 return Ty;
1499 VAArgInst(Value *List, Type *Ty, cons argument
1504 VAArgInst(Value *List, Type *Ty, const Twine &NameStr, BasicBlock *InsertAtEnd) argument
1982 PHINode(Type *Ty, unsigned NumReservedValues, const Twine &NameStr = Ó, Instruction *InsertBefore = 0) argument
1990 PHINode(Type *Ty, unsigned NumReservedValues, const Twine &NameStr, BasicBlock *InsertAtEnd) argument
2007 Create(Type *Ty, unsigned NumReservedValues, const Twine &NameStr = Ó, Instruction *InsertBefore = 0) argument
2012 Create(Type *Ty, unsigned NumReservedValues, const Twine &NameStr, BasicBlock *InsertAtEnd) argument
[all...]
/external/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp133 static int GetDecodedBinaryOpcode(unsigned Val, Type *Ty) { argument
137 return Ty->isFPOrFPVectorTy() ? Instruction::FAdd : Instruction::Add;
139 return Ty->isFPOrFPVectorTy() ? Instruction::FSub : Instruction::Sub;
141 return Ty->isFPOrFPVectorTy() ? Instruction::FMul : Instruction::Mul;
144 return Ty->isFPOrFPVectorTy() ? Instruction::FDiv : Instruction::SDiv;
147 return Ty->isFPOrFPVectorTy() ? Instruction::FRem : Instruction::SRem;
206 explicit ConstantPlaceHolder(Type *Ty, LLVMContext& Context) argument
207 : ConstantExpr(Ty, Instruction::UserOp1, &Op<0>(), 1) {
262 Type *Ty) {
267 assert(Ty
261 getConstantFwdRef(unsigned Idx, Type *Ty) argument
277 getValueFwdRef(unsigned Idx, Type *Ty) argument
856 Type *Ty = getTypeByID(Record[i]); local
[all...]
/external/llvm/include/llvm/CodeGen/
H A DMachineBasicBlock.h140 template<typename Ty, typename IterTy>
142 : public std::iterator<std::bidirectional_iterator_tag, Ty, ptrdiff_t> {
148 bundle_iterator(Ty &mi) : MII(mi) {
152 bundle_iterator(Ty *mi) : MII(mi) {
162 Ty &operator*() const { return *MII; }
163 Ty *operator->() const { return &operator*(); }
165 operator Ty*() const { return MII; }
/external/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.cpp352 void ValueEnumerator::EnumerateType(Type *Ty) { argument
353 unsigned *TypeID = &TypeMap[Ty];
362 if (StructType *STy = dyn_cast<StructType>(Ty))
368 for (Type::subtype_iterator I = Ty->subtype_begin(), E = Ty->subtype_end();
373 TypeID = &TypeMap[Ty];
384 Types.push_back(Ty);
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp91 uint32_t BitWidth = Ty->getScalarSizeInBits();
95 return CanEvaluateTruncated(I->getOperand(0), Ty);
552 IntegerType *Ty = cast<IntegerType>(I.getType()); local
566 ConstantInt::get(Ty, AmtSum));
588 ConstantInt *ShiftDiffCst = ConstantInt::get(Ty, ShiftDiff);
599 ConstantInt *ShiftDiffCst = ConstantInt::get(Ty, ShiftDiff);
620 ConstantInt *ShiftDiffCst = ConstantInt::get(Ty, ShiftDiff);
637 ConstantInt *ShiftDiffCst = ConstantInt::get(Ty, ShiftDiff);
647 ConstantInt *ShiftDiffCst = ConstantInt::get(Ty, ShiftDiff);
668 ConstantInt *ShiftDiffCst = ConstantInt::get(Ty, ShiftDif
[all...]

Completed in 1198 milliseconds

1234567891011>>