Searched refs:Ty (Results 76 - 100 of 340) sorted by relevance

1234567891011>>

/external/llvm/lib/IR/
H A DAsmWriter.h59 void print(Type *Ty, raw_ostream &OS);
61 void printStructBody(StructType *Ty, raw_ostream &OS);
H A DConstantFold.cpp59 Type *Ty = IntegerType::get(CV->getContext(), 32); local
62 ConstantExpr::getExtractElement(CV, ConstantInt::get(Ty, i));
333 /// on Ty, with any known factors factored out. If Folded is false,
337 static Constant *getFoldedSizeOf(Type *Ty, Type *DestTy, argument
339 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) {
345 if (StructType *STy = dyn_cast<StructType>(Ty))
369 if (PointerType *PTy = dyn_cast<PointerType>(Ty))
382 Constant *C = ConstantExpr::getSizeOf(Ty);
390 /// on Ty, with any known factors factored out. If Folded is false,
394 static Constant *getFoldedAlignOf(Type *Ty, Typ argument
460 getFoldedOffsetOf(Type *Ty, Constant *FieldNo, Type *DestTy, bool Folded) argument
556 Type *Ty = IntegerType::get(V->getContext(), 32); local
613 Type *Ty = local
704 Type *Ty = IntegerType::get(CondV->getContext(), 32); local
769 Type *Ty = IntegerType::get(Val->getContext(), 32); local
811 Type *Ty = IntegerType::get(V2->getContext(), 32); local
816 Type *Ty = IntegerType::get(V1->getContext(), 32); local
1139 Type *Ty = IntegerType::get(VTy->getContext(), 32); local
1206 isMaybeZeroSizedType(Type *Ty) argument
1698 Type *Ty = IntegerType::get(C1->getContext(), 32); local
1911 Type *Ty = GetElementPtrInst::getIndexedType(Ptr, Idxs); local
1925 Type *Ty = GetElementPtrInst::getIndexedType(Ptr, Idxs); local
2007 Type *Ty = C->getType(); local
[all...]
/external/llvm/lib/Target/Hexagon/
H A DHexagonTargetObjectFile.cpp81 Type *Ty = GV->getType()->getElementType(); local
82 return IsInSmallSection(TM.getDataLayout()->getTypeAllocSize(Ty));
/external/llvm/lib/Target/Mips/
H A DMipsTargetObjectFile.cpp98 Type *Ty = GV->getType()->getElementType();
99 return IsInSmallSection(TM.getDataLayout()->getTypeAllocSize(Ty));
/external/llvm/lib/Transforms/Utils/
H A DModuleUtils.cpp27 StructType *Ty = StructType::get( local
31 Ty, IRB.getInt32(Priority), F, NULL);
/external/llvm/include/llvm/Analysis/
H A DScalarEvolutionExpander.h121 PHINode *getOrInsertCanonicalInductionVariable(const Loop *L, Type *Ty);
139 Value *expandCodeFor(const SCEV *SH, Type *Ty, Instruction *I);
197 /// ReuseOrCreateCast - Arange for there to be a cast of V to Ty at IP,
201 Value *ReuseOrCreateCast(Value *V, Type *Ty,
208 Value *InsertNoopCastOfTo(Value *V, Type *Ty);
214 PointerType *PTy, Type *Ty, Value *V);
222 Value *expandCodeFor(const SCEV *SH, Type *Ty = 0);
H A DScalarEvolution.h562 bool isSCEVable(Type *Ty) const;
566 uint64_t getTypeSizeInBits(Type *Ty) const;
572 Type *getEffectiveSCEVType(Type *Ty) const;
580 const SCEV *getConstant(Type *Ty, uint64_t V, bool isSigned = false);
581 const SCEV *getTruncateExpr(const SCEV *Op, Type *Ty);
582 const SCEV *getZeroExtendExpr(const SCEV *Op, Type *Ty);
583 const SCEV *getSignExtendExpr(const SCEV *Op, Type *Ty);
584 const SCEV *getAnyExtendExpr(const SCEV *Op, Type *Ty);
670 const SCEV *getTruncateOrZeroExtend(const SCEV *V, Type *Ty);
675 const SCEV *getTruncateOrSignExtend(const SCEV *V, Type *Ty);
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DSROA.cpp386 void handleLoadOrStore(Type *Ty, Instruction &I, const APInt &Offset, argument
397 Ty->isIntegerTy() && !IsVolatile && Offset == 0 && Size >= AllocSize;
919 Type *Ty = 0; local
949 if (Ty && Ty != UserTy)
952 Ty = UserTy;
954 return Ty;
1173 /// \brief Get a natural GEP off of the BasePtr walking through Ty toward
1177 /// Indices, and arrived at the Ty type. The goal is to continue to GEP with
1183 Value *BasePtr, Type *Ty, Typ
1182 getNaturalGEPWithType(IRBuilderTy &IRB, const DataLayout &DL, Value *BasePtr, Type *Ty, Type *TargetTy, SmallVectorImpl<Value *> &Indices) argument
1220 getNaturalGEPRecursively(IRBuilderTy &IRB, const DataLayout &DL, Value *Ptr, Type *Ty, APInt &Offset, Type *TargetTy, SmallVectorImpl<Value *> &Indices) argument
1293 PointerType *Ty = cast<PointerType>(Ptr->getType()); local
1451 convertValue(const DataLayout &DL, IRBuilderTy &IRB, Value *V, Type *Ty) argument
1473 isVectorPromotionViableForSlice( const DataLayout &DL, AllocaSlices &S, uint64_t SliceBeginOffset, uint64_t SliceEndOffset, VectorType *Ty, uint64_t ElementSize, AllocaSlices::const_iterator I) argument
1553 VectorType *Ty = dyn_cast<VectorType>(AllocaTy); local
1700 extractInteger(const DataLayout &DL, IRBuilderTy &IRB, Value *V, IntegerType *Ty, uint64_t Offset, const Twine &Name) argument
1726 IntegerType *Ty = cast<IntegerType>(V->getType()); local
1787 VectorType *Ty = dyn_cast<VectorType>(V->getType()); local
1979 getOffsetTypeAlign(Type *Ty, uint64_t Offset) argument
2707 emitSplitOps(Type *Ty, Value *&Agg, const Twine &Name) argument
2751 emitFunc(Type *Ty, Value *&Agg, const Twine &Name) argument
2782 emitFunc(Type *Ty, Value *&Agg, const Twine &Name) argument
2835 stripAggregateTypeWrapping(const DataLayout &DL, Type *Ty) argument
2873 getTypePartition(const DataLayout &DL, Type *Ty, uint64_t Offset, uint64_t Size) argument
[all...]
H A DGlobalMerge.cpp164 Type *Ty = Globals[j]->getType()->getElementType(); local
165 MergedSize += TD->getTypeAllocSize(Ty);
169 Tys.push_back(Ty);
256 Type *Ty = I->getType()->getElementType(); local
257 if (Alignment > TD->getABITypeAlignment(Ty))
269 if (TD->getTypeAllocSize(Ty) < MaxOffset) {
/external/llvm/lib/AsmParser/
H A DLLParser.cpp578 Type *Ty = 0; local
582 ParseType(Ty, TyLoc) ||
713 Type *Ty = 0; local
722 ParseType(Ty, TyLoc))
731 if (ParseGlobalValue(Ty, Init))
735 if (Ty->isFunctionTy() || Ty->isLabelTy())
757 GV = new GlobalVariable(*M, Ty, false, GlobalValue::ExternalLinkage, 0,
761 if (GV->getType()->getElementType() != Ty)
968 GlobalValue *LLParser::GetGlobalVal(const std::string &Name, Type *Ty, argument
1011 GetGlobalVal(unsigned ID, Type *Ty, LocTy Loc) argument
[all...]
H A DLLParser.h152 GlobalValue *GetGlobalVal(const std::string &N, Type *Ty, LocTy Loc);
153 GlobalValue *GetGlobalVal(unsigned ID, Type *Ty, LocTy Loc);
284 Value *GetVal(const std::string &Name, Type *Ty, LocTy Loc);
285 Value *GetVal(unsigned ID, Type *Ty, LocTy Loc);
304 bool ConvertValIDToValue(Type *Ty, ValID &ID, Value *&V,
307 bool ParseValue(Type *Ty, Value *&V, PerFunctionState *PFS);
308 bool ParseValue(Type *Ty, Value *&V, PerFunctionState &PFS) { argument
309 return ParseValue(Ty, V, &PFS);
311 bool ParseValue(Type *Ty, Value *&V, LocTy &Loc, argument
314 return ParseValue(Ty,
356 Type *Ty; member in struct:llvm::LLParser::ArgInfo
[all...]
/external/llvm/lib/CodeGen/SelectionDAG/
H A DFunctionLoweringInfo.cpp79 Type *Ty = AI->getAllocatedType(); local
80 uint64_t TySize = TLI->getDataLayout()->getTypeAllocSize(Ty);
82 std::max((unsigned)TLI->getDataLayout()->getPrefTypeAlignment(Ty),
93 (TySize >= 8 && isa<ArrayType>(Ty) &&
94 cast<ArrayType>(Ty)->getElementType()->isIntegerTy(8)));
223 unsigned FunctionLoweringInfo::CreateRegs(Type *Ty) { argument
227 ComputeValueVTs(*TLI, Ty, ValueVTs);
232 MVT RegisterVT = TLI->getRegisterType(Ty->getContext(), ValueVT);
234 unsigned NumRegs = TLI->getNumRegisters(Ty->getContext(), ValueVT);
269 Type *Ty local
[all...]
/external/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp41 unsigned getScalarizationOverhead(Type *Ty, bool Insert, bool Extract) const;
88 virtual unsigned getArithmeticInstrCost(unsigned Opcode, Type *Ty,
127 assert(isPowerOf2_32(TyWidth) && "Ty width must be power of 2");
168 unsigned X86TTI::getArithmeticInstrCost(unsigned Opcode, Type *Ty, argument
172 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(Ty);
340 return TargetTransformInfo::getArithmeticInstrCost(Opcode, Ty, Op1Info,
543 unsigned X86TTI::getScalarizationOverhead(Type *Ty, bool Insert, argument
545 assert (Ty->isVectorTy() && "Can only scalarize vectors");
548 for (int i = 0, e = Ty->getVectorNumElements(); i < e; ++i) {
550 Cost += TopTTI->getVectorInstrCost(Instruction::InsertElement, Ty,
604 getAddressComputationCost(Type *Ty, bool IsComplex) const argument
[all...]
/external/llvm/lib/ExecutionEngine/Interpreter/
H A DExternalFunctions.cpp63 static char getTypeID(Type *Ty) { argument
64 switch (Ty->getTypeID()) {
67 switch (cast<IntegerType>(Ty)->getBitWidth()) {
113 static ffi_type *ffiTypeFor(Type *Ty) { argument
114 switch (Ty->getTypeID()) {
117 switch (cast<IntegerType>(Ty)->getBitWidth()) {
133 static void *ffiValueFor(Type *Ty, const GenericValue &AV, argument
135 switch (Ty->getTypeID()) {
137 switch (cast<IntegerType>(Ty)->getBitWidth()) {
/external/llvm/include/llvm/IR/
H A DInlineAsm.h55 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 DGlobalVariable.h68 GlobalVariable(Type *Ty, bool isConstant, LinkageTypes Linkage,
74 GlobalVariable(Module &M, Type *Ty, bool isConstant,
/external/clang/lib/Parse/
H A DParseExpr.cpp833 TypeResult Ty = Actions.ActOnTypeName(getCurScope(), local
835 if (Ty.isInvalid())
840 Ty.get(), 0);
996 TypeResult Ty = Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); local
997 if (Ty.isInvalid())
1002 Ty.get(), 0);
1772 TypeResult Ty = ParseTypeName(); local
1779 if (Expr.isInvalid() || Ty.isInvalid())
1782 Res = Actions.ActOnVAArg(StartLoc, Expr.take(), Ty.get(), ConsumeParen());
1787 TypeResult Ty local
2032 TypeResult Ty = ParseTypeName(); local
2071 TypeResult Ty; local
2085 TypeResult Ty; local
2102 TypeResult Ty; local
2180 ParseCompoundLiteralExpression(ParsedType Ty, SourceLocation LParenLoc, SourceLocation RParenLoc) argument
2262 ParsedType Ty; local
[all...]
/external/clang/lib/Sema/
H A DSemaStmtAsm.cpp173 const Type *Ty = Exprs[i]->getType().getTypePtr(); local
174 if (Ty->isDependentType())
177 if (!Ty->isVoidType() || !Info.allowsMemory())
182 unsigned Size = Context.getTypeSize(Ty);
254 const Type *Ty = Exprs[ConstraintIdx]->getType().getTypePtr(); local
255 if (Ty->isDependentType() || Ty->isIncompleteType())
258 unsigned Size = Context.getTypeSize(Ty);
/external/llvm/include/llvm/Support/
H A DGetElementPtrTypeIterator.h33 static generic_gep_type_iterator begin(Type *Ty, ItTy It) { argument
35 I.CurTy = Ty;
/external/llvm/include/llvm/Target/
H A DTargetLowering.h486 unsigned Ty = (unsigned)VT.SimpleTy;
487 return (LegalizeAction)((IndexedModeActions[Ty][IdxMode] & 0xf0) >> 4);
504 unsigned Ty = (unsigned)VT.SimpleTy;
505 return (LegalizeAction)(IndexedModeActions[Ty][IdxMode] & 0x0f);
569 EVT getValueType(Type *Ty, bool AllowUnknown = false) const {
571 if (Ty->isPointerTy()) return PointerTy;
573 if (Ty->isVectorTy()) {
574 VectorType *VTy = cast<VectorType>(Ty);
578 Elm = EVT(PointerTy).getTypeForEVT(Ty->getContext());
579 return EVT::getVectorVT(Ty
586 getSimpleValueType(Type *Ty, bool AllowUnknown = false) const argument
847 setBooleanContents(BooleanContent Ty) argument
851 setBooleanVectorContents(BooleanContent Ty) argument
[all...]
/external/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp70 /// ComputePTXValueVTs - For the given Type \p Ty, returns the set of primitive
76 static void ComputePTXValueVTs(const TargetLowering &TLI, Type *Ty, argument
83 ComputeValueVTs(TLI, Ty, TempVTs, &TempOffsets, StartingOffset);
411 Type *Ty = Args[i].Ty; local
418 if (Ty->isAggregateType() || Ty->isVectorTy()) {
424 align = TD->getABITypeAlignment(Ty);
425 unsigned sz = TD->getTypeAllocSize(Ty);
431 ComputeValueVTs(*this, Ty, vtpart
469 getArgumentAlignment(SDValue Callee, const ImmutableCallSite *CS, Type *Ty, unsigned Idx) const argument
535 Type *Ty = Args[i].Ty; local
1341 const Type *Ty = arg->getType(); local
1400 Type *Ty = argTypes[i]; local
[all...]
/external/clang/lib/AST/
H A DAPValue.cpp343 void APValue::printPretty(raw_ostream &Out, ASTContext &Ctx, QualType Ty) const{
349 if (Ty->isBooleanType())
359 QualType ElemTy = Ty->getAs<VectorType>()->getElementType();
382 bool IsReference = Ty->isReferenceType();
384 = IsReference ? Ty.getNonReferenceType() : Ty->getPointeeType();
386 InnerTy = Ty;
468 const ArrayType *AT = Ctx.getAsArrayType(Ty);
488 const RecordDecl *RD = Ty->getAs<RecordType>()->getDecl();
539 std::string APValue::getAsString(ASTContext &Ctx, QualType Ty) cons
[all...]
/external/clang/lib/CodeGen/
H A DCGRecordLayoutBuilder.cpp181 CharUnits getTypeAlignment(llvm::Type *Ty) const;
233 llvm::Type *Ty = Types.ConvertTypeForMem(FD->getType()); local
235 CharUnits::fromQuantity(Types.getDataLayout().getTypeAllocSize(Ty));
392 llvm::Type *Ty = Types.ConvertTypeForMem(D->getType()); local
393 CharUnits typeAlignment = getTypeAlignment(Ty);
434 AppendField(fieldOffsetInBytes, Ty);
893 llvm::Type *Ty = llvm::Type::getInt8Ty(Types.getLLVMContext()); local
895 Ty = llvm::ArrayType::get(Ty, numBytes.getQuantity());
897 return Ty;
949 ComputeRecordLayout(const RecordDecl *D, llvm::StructType *Ty) argument
[all...]
H A DCGDecl.cpp115 QualType Ty = TD.getUnderlyingType(); local
117 if (Ty->isVariablyModifiedType())
118 EmitVariablyModifiedType(Ty);
189 QualType Ty = D.getType(); local
190 assert(Ty->isConstantSizeType() && "VLAs can't be static");
199 llvm::Type *LTy = CGM.getTypes().ConvertTypeForMem(Ty);
201 CGM.GetGlobalVarAddressSpace(&D, CGM.getContext().getTargetAddressSpace(Ty));
204 Ty.isConstant(getContext()), Linkage,
827 QualType Ty = D.getType(); local
838 if (Ty
1611 QualType Ty = D.getType(); local
[all...]
/external/llvm/include/llvm-c/
H A DCore.h675 LLVMTypeKind LLVMGetTypeKind(LLVMTypeRef Ty);
684 LLVMBool LLVMTypeIsSized(LLVMTypeRef Ty);
691 LLVMContextRef LLVMGetTypeContext(LLVMTypeRef Ty);
869 const char *LLVMGetStructName(LLVMTypeRef Ty);
933 LLVMTypeRef LLVMGetElementType(LLVMTypeRef Ty);
1305 LLVMValueRef LLVMConstNull(LLVMTypeRef Ty); /* all zeroes */
1315 LLVMValueRef LLVMConstAllOnes(LLVMTypeRef Ty);
1322 LLVMValueRef LLVMGetUndef(LLVMTypeRef Ty);
1335 LLVMValueRef LLVMConstPointerNull(LLVMTypeRef Ty);
1520 LLVMValueRef LLVMAlignOf(LLVMTypeRef Ty);
[all...]

Completed in 511 milliseconds

1234567891011>>