Searched refs:Ty (Results 1 - 25 of 311) sorted by relevance

1234567891011>>

/freebsd-10.0-release/contrib/llvm/include/llvm/IR/
H A DDataLayout.h129 bool ABIAlign, Type *Ty) const;
136 unsigned getAlignment(Type *Ty, bool abi_or_pref) const;
293 uint64_t getTypeSizeInBits(Type *Ty) const;
298 uint64_t getTypeStoreSize(Type *Ty) const {
299 return (getTypeSizeInBits(Ty)+7)/8;
305 uint64_t getTypeStoreSizeInBits(Type *Ty) const {
306 return 8*getTypeStoreSize(Ty);
313 uint64_t getTypeAllocSize(Type *Ty) const {
315 return RoundUpAlignment(getTypeStoreSize(Ty), getABITypeAlignment(Ty));
[all...]
H A DConstant.h150 static Constant *getNullValue(Type* Ty);
155 static Constant *getAllOnesValue(Type* Ty);
159 static Constant *getIntegerValue(Type* Ty, const APInt &V);
H A DConstants.h55 ConstantInt(IntegerType *Ty, const APInt& V);
65 static Constant *getTrue(Type *Ty);
66 static Constant *getFalse(Type *Ty);
68 /// If Ty is a vector type, return a Constant with a splat of the given
70 static Constant *get(Type *Ty, uint64_t V, bool isSigned = false);
78 static ConstantInt *get(IntegerType *Ty, uint64_t V,
84 /// signed value for the type Ty.
86 static ConstantInt *getSigned(IntegerType *Ty, int64_t V);
87 static Constant *getSigned(Type *Ty, int64_t V);
95 static ConstantInt *get(IntegerType *Ty, StringRe
[all...]
H A DInstrTypes.h37 TerminatorInst(Type *Ty, Instruction::TermOps iType, argument
40 : Instruction(Ty, iType, Ops, NumOps, InsertBefore) {}
42 TerminatorInst(Type *Ty, Instruction::TermOps iType, argument
44 : Instruction(Ty, iType, Ops, NumOps, InsertAtEnd) {}
93 UnaryInstruction(Type *Ty, unsigned iType, Value *V, argument
95 : Instruction(Ty, iType, &Op<0>(), 1, IB) {
98 UnaryInstruction(Type *Ty, unsigned iType, Value *V, BasicBlock *IAE) argument
99 : Instruction(Ty, iType, &Op<0>(), 1, IAE) {
142 BinaryOperator(BinaryOps iType, Value *S1, Value *S2, Type *Ty,
144 BinaryOperator(BinaryOps iType, Value *S1, Value *S2, Type *Ty,
391 CastInst(Type *Ty, unsigned iType, Value *S, const Twine &NameStr = �, Instruction *InsertBefore = 0) argument
397 CastInst(Type *Ty, unsigned iType, Value *S, const Twine &NameStr, BasicBlock *InsertAtEnd) argument
[all...]
/freebsd-10.0-release/contrib/llvm/include/llvm/CodeGen/
H A DAnalysis.h37 unsigned ComputeLinearIndex(Type *Ty,
42 inline unsigned ComputeLinearIndex(Type *Ty, argument
45 return ComputeLinearIndex(Ty, Indices.begin(), Indices.end(), CurIndex);
55 void ComputeValueVTs(const TargetLowering &TLI, Type *Ty,
/freebsd-10.0-release/contrib/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp54 GenericValue Src2, Type *Ty) {
55 switch (Ty->getTypeID()) {
59 dbgs() << "Unhandled type for FAdd instruction: " << *Ty << "\n";
65 GenericValue Src2, Type *Ty) {
66 switch (Ty->getTypeID()) {
70 dbgs() << "Unhandled type for FSub instruction: " << *Ty << "\n";
76 GenericValue Src2, Type *Ty) {
77 switch (Ty->getTypeID()) {
81 dbgs() << "Unhandled type for FMul instruction: " << *Ty << "\n";
87 GenericValue Src2, Type *Ty) {
53 executeFAddInst(GenericValue &Dest, GenericValue Src1, GenericValue Src2, Type *Ty) argument
64 executeFSubInst(GenericValue &Dest, GenericValue Src1, GenericValue Src2, Type *Ty) argument
75 executeFMulInst(GenericValue &Dest, GenericValue Src1, GenericValue Src2, Type *Ty) argument
86 executeFDivInst(GenericValue &Dest, GenericValue Src1, GenericValue Src2, Type *Ty) argument
97 executeFRemInst(GenericValue &Dest, GenericValue Src1, GenericValue Src2, Type *Ty) argument
136 executeICMP_EQ(GenericValue Src1, GenericValue Src2, Type *Ty) argument
150 executeICMP_NE(GenericValue Src1, GenericValue Src2, Type *Ty) argument
164 executeICMP_ULT(GenericValue Src1, GenericValue Src2, Type *Ty) argument
[all...]
/freebsd-10.0-release/contrib/llvm/lib/Target/
H A DTarget.cpp91 unsigned long long LLVMSizeOfTypeInBits(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument
92 return unwrap(TD)->getTypeSizeInBits(unwrap(Ty));
95 unsigned long long LLVMStoreSizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument
96 return unwrap(TD)->getTypeStoreSize(unwrap(Ty));
99 unsigned long long LLVMABISizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument
100 return unwrap(TD)->getTypeAllocSize(unwrap(Ty));
103 unsigned LLVMABIAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument
104 return unwrap(TD)->getABITypeAlignment(unwrap(Ty));
107 unsigned LLVMCallFrameAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { argument
108 return unwrap(TD)->getCallFrameTypeAlignment(unwrap(Ty));
111 LLVMPreferredAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) argument
[all...]
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Analysis/
H A DBodyFarm.cpp28 static bool isDispatchBlock(QualType Ty) { argument
30 const BlockPointerType *BPT = Ty->getAs<BlockPointerType>();
51 BinaryOperator *makeAssignment(const Expr *LHS, const Expr *RHS, QualType Ty);
64 UnaryOperator *makeDereference(const Expr *Arg, QualType Ty);
67 Expr *makeIntegralCast(const Expr *Arg, QualType Ty);
73 ImplicitCastExpr *makeLvalueToRvalue(const Expr *Arg, QualType Ty);
87 QualType Ty) {
89 BO_Assign, Ty, VK_RValue,
122 UnaryOperator *ASTMaker::makeDereference(const Expr *Arg, QualType Ty) { argument
123 return new (C) UnaryOperator(const_cast<Expr*>(Arg), UO_Deref, Ty,
86 makeAssignment(const Expr *LHS, const Expr *RHS, QualType Ty) argument
127 makeLvalueToRvalue(const Expr *Arg, QualType Ty) argument
132 makeIntegralCast(const Expr *Arg, QualType Ty) argument
146 QualType Ty = C.getBOOLDecl() ? C.getBOOLType() : C.ObjCBuiltinBoolTy; local
178 QualType Ty = Block->getType(); local
246 QualType Ty = PV->getType(); local
[all...]
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DTargetInfo.cpp100 if (llvm::Type *Ty = getCoerceToType())
101 Ty->print(OS);
283 static bool is32Or64BitBasicType(QualType Ty, ASTContext &Context) { argument
285 if (const ComplexType *CTy = Ty->getAs<ComplexType>())
286 Ty = CTy->getElementType();
291 if (!Ty->getAs<BuiltinType>() && !Ty->hasPointerRepresentation() &&
292 !Ty->isEnumeralType() && !Ty->isBlockPointerType())
295 uint64_t Size = Context.getTypeSize(Ty);
308 canExpandIndirectArgument(QualType Ty, ASTContext &Context) argument
375 EmitVAArg(llvm::Value *VAListAddr, QualType Ty, CodeGenFunction &CGF) const argument
446 EmitVAArg(llvm::Value *VAListAddr, QualType Ty, CodeGenFunction &CGF) const argument
493 X86AdjustInlineAsmType(CodeGen::CodeGenFunction &CGF, StringRef Constraint, llvm::Type* Ty) argument
584 shouldReturnTypeInRegister(QualType Ty, ASTContext &Context, unsigned callingConvention) argument
721 isSSEVectorType(ASTContext &Context, QualType Ty) argument
725 isRecordWithSSEVectorType(ASTContext &Context, QualType Ty) argument
752 getTypeStackAlignInBytes(QualType Ty, unsigned Align) const argument
773 getIndirectResult(QualType Ty, bool ByVal, unsigned &FreeRegs) const argument
811 shouldUseInReg(QualType Ty, unsigned &FreeRegs, bool IsFastCall, bool &NeedsPadding) const argument
853 classifyArgumentType(QualType Ty, unsigned &FreeRegs, bool IsFastCall) const argument
961 EmitVAArg(llvm::Value *VAListAddr, QualType Ty, CodeGenFunction &CGF) const argument
1354 classify(QualType Ty, uint64_t OffsetBase, Class &Lo, Class &Hi) const argument
[all...]
H A DCGDebugInfo.h102 llvm::DIType CreateType(const BuiltinType *Ty);
103 llvm::DIType CreateType(const ComplexType *Ty);
104 llvm::DIType CreateQualifiedType(QualType Ty, llvm::DIFile F);
105 llvm::DIType CreateType(const TypedefType *Ty, llvm::DIFile F);
106 llvm::DIType CreateType(const ObjCObjectPointerType *Ty,
108 llvm::DIType CreateType(const PointerType *Ty, llvm::DIFile F);
109 llvm::DIType CreateType(const BlockPointerType *Ty, llvm::DIFile F);
110 llvm::DIType CreateType(const FunctionType *Ty, llvm::DIFile F);
111 llvm::DIType CreateType(const RecordType *Ty);
112 llvm::DIType CreateLimitedType(const RecordType *Ty);
[all...]
H A DCGRTTI.cpp34 GetAddrOfTypeName(QualType Ty, llvm::GlobalVariable::LinkageTypes Linkage);
38 llvm::Constant *GetAddrOfExternalRTTIDescriptor(QualType Ty);
41 void BuildVTablePointer(const Type *Ty);
58 void BuildObjCObjectTypeInfo(const ObjCObjectType *Ty);
62 void BuildPointerToMemberTypeInfo(const MemberPointerType *Ty);
108 llvm::Constant *BuildTypeInfo(QualType Ty, bool Force = false);
113 RTTIBuilder::GetAddrOfTypeName(QualType Ty, argument
117 CGM.getCXXABI().getMangleContext().mangleCXXRTTIName(Ty, Out);
135 llvm::Constant *RTTIBuilder::GetAddrOfExternalRTTIDescriptor(QualType Ty) { argument
139 CGM.getCXXABI().getMangleContext().mangleCXXRTTI(Ty, Ou
158 TypeInfoIsInStandardLibrary(const BuiltinType *Ty) argument
238 IsStandardLibraryRTTIDescriptor(QualType Ty) argument
255 ShouldUseExternalRTTIDescriptor(CodeGenModule &CGM, QualType Ty) argument
295 ContainsIncompleteClassType(QualType Ty) argument
320 getTypeInfoLinkage(CodeGenModule &CGM, QualType Ty) argument
389 BuildVTablePointer(const Type *Ty) argument
531 maybeUpdateRTTILinkage(CodeGenModule &CGM, llvm::GlobalVariable *GV, QualType Ty) argument
564 BuildTypeInfo(QualType Ty, bool Force) argument
952 BuildPointerToMemberTypeInfo(const MemberPointerType *Ty) argument
993 GetAddrOfRTTIDescriptor(QualType Ty, bool ForEH) argument
[all...]
H A DCodeGenTBAA.cpp103 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); local
105 if (llvm::MDNode *N = MetadataCache[Ty])
109 if (const BuiltinType *BTy = dyn_cast<BuiltinType>(Ty)) {
138 return MetadataCache[Ty] =
146 if (Ty->isPointerType())
147 return MetadataCache[Ty] = createTBAAScalarType("any pointer",
152 if (const EnumType *ETy = dyn_cast<EnumType>(Ty)) {
159 return MetadataCache[Ty] = getChar();
167 return MetadataCache[Ty] = getChar();
175 return MetadataCache[Ty]
241 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); local
270 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); local
[all...]
H A DCodeGenTypes.cpp52 llvm::StructType *Ty,
80 Ty->setName(OS.str());
102 bool CodeGenTypes::isRecordLayoutComplete(const Type *Ty) const {
104 RecordDeclTypes.find(Ty);
195 bool CodeGenTypes::isFuncTypeArgumentConvertible(QualType Ty) { argument
197 const TagType *TT = Ty->getAs<TagType>();
291 const Type *Ty = T.getTypePtr(); local
294 if (const RecordType *RT = dyn_cast<RecordType>(Ty))
298 llvm::DenseMap<const Type *, llvm::Type *>::iterator TCI = TypeCache.find(Ty);
305 switch (Ty
51 addRecordTypeName(const RecordDecl *RD, llvm::StructType *Ty, StringRef suffix) argument
633 llvm::StructType *Ty = Entry; local
[all...]
/freebsd-10.0-release/contrib/llvm/include/llvm/ADT/
H A DSTLExtras.h32 template<class Ty>
33 struct identity : public std::unary_function<Ty, Ty> {
34 Ty &operator()(Ty &self) const {
37 const Ty &operator()(const Ty &self) const {
42 template<class Ty>
43 struct less_ptr : public std::binary_function<Ty, Ty, boo
[all...]
/freebsd-10.0-release/contrib/llvm/lib/IR/
H A DConstants.cpp111 Constant *Constant::getNullValue(Type *Ty) { argument
112 switch (Ty->getTypeID()) {
114 return ConstantInt::get(Ty, 0);
116 return ConstantFP::get(Ty->getContext(),
119 return ConstantFP::get(Ty->getContext(),
122 return ConstantFP::get(Ty->getContext(),
125 return ConstantFP::get(Ty->getContext(),
128 return ConstantFP::get(Ty->getContext(),
131 return ConstantFP::get(Ty->getContext(),
135 return ConstantPointerNull::get(cast<PointerType>(Ty));
146 getIntegerValue(Type *Ty, const APInt &V) argument
163 getAllOnesValue(Type *Ty) argument
433 ConstantInt(IntegerType *Ty, const APInt& V) argument
452 getTrue(Type *Ty) argument
464 getFalse(Type *Ty) argument
492 get(Type *Ty, uint64_t V, bool isSigned) argument
502 get(IntegerType *Ty, uint64_t V, bool isSigned) argument
507 getSigned(IntegerType *Ty, int64_t V) argument
511 getSigned(Type *Ty, int64_t V) argument
515 get(Type *Ty, const APInt& V) argument
527 get(IntegerType* Ty, StringRef Str, uint8_t radix) argument
536 TypeToFloatSemantics(Type *Ty) argument
557 get(Type *Ty, double V) argument
574 get(Type *Ty, StringRef Str) argument
588 getNegativeZero(Type *Ty) argument
596 getZeroValueForNegation(Type *Ty) argument
618 Type *Ty; local
640 getInfinity(Type *Ty, bool Negative) argument
646 ConstantFP(Type *Ty, const APFloat& V) argument
747 get(ArrayType *Ty, ArrayRef<Constant*> V) argument
1160 isValueValidForType(Type *Ty, uint64_t Val) argument
1170 isValueValidForType(Type *Ty, int64_t Val) argument
1181 isValueValidForType(Type *Ty, const APFloat& Val) argument
1232 get(Type *Ty) argument
1315 get(PointerType *Ty) argument
1335 get(Type *Ty) argument
1430 getFoldedCast( Instruction::CastOps opc, Constant *C, Type *Ty) argument
1445 getCast(unsigned oc, Constant *C, Type *Ty) argument
1469 getZExtOrBitCast(Constant *C, Type *Ty) argument
1475 getSExtOrBitCast(Constant *C, Type *Ty) argument
1481 getTruncOrBitCast(Constant *C, Type *Ty) argument
1487 getPointerCast(Constant *S, Type *Ty) argument
1497 getIntegerCast(Constant *C, Type *Ty, bool isSigned) argument
1510 getFPCast(Constant *C, Type *Ty) argument
1522 getTrunc(Constant *C, Type *Ty) argument
1536 getSExt(Constant *C, Type *Ty) argument
1550 getZExt(Constant *C, Type *Ty) argument
1564 getFPTrunc(Constant *C, Type *Ty) argument
1576 getFPExtend(Constant *C, Type *Ty) argument
1588 getUIToFP(Constant *C, Type *Ty) argument
1599 getSIToFP(Constant *C, Type *Ty) argument
1610 getFPToUI(Constant *C, Type *Ty) argument
1621 getFPToSI(Constant *C, Type *Ty) argument
1744 getSizeOf(Type* Ty) argument
1754 getAlignOf(Type* Ty) argument
1773 getOffsetOf(Type* Ty, Constant *FieldNo) argument
2095 getBinOpIdentity(unsigned Opcode, Type *Ty) argument
2118 getBinOpAbsorber(unsigned Opcode, Type *Ty) argument
2176 isElementTypeCompatible(const Type *Ty) argument
2297 Type *Ty = ArrayType::get(Type::getInt8Ty(Context), Elts.size()); local
2302 Type *Ty = ArrayType::get(Type::getInt16Ty(Context), Elts.size()); local
2307 Type *Ty = ArrayType::get(Type::getInt32Ty(Context), Elts.size()); local
2312 Type *Ty = ArrayType::get(Type::getInt64Ty(Context), Elts.size()); local
2317 Type *Ty = ArrayType::get(Type::getFloatTy(Context), Elts.size()); local
2322 Type *Ty = ArrayType::get(Type::getDoubleTy(Context), Elts.size()); local
2350 Type *Ty = VectorType::get(Type::getInt8Ty(Context), Elts.size()); local
2355 Type *Ty = VectorType::get(Type::getInt16Ty(Context), Elts.size()); local
2360 Type *Ty = VectorType::get(Type::getInt32Ty(Context), Elts.size()); local
2365 Type *Ty = VectorType::get(Type::getInt64Ty(Context), Elts.size()); local
2370 Type *Ty = VectorType::get(Type::getFloatTy(Context), Elts.size()); local
2375 Type *Ty = VectorType::get(Type::getDoubleTy(Context), Elts.size()); local
[all...]
H A DDataLayout.cpp52 Type *Ty = ST->getElementType(i); local
53 unsigned TyAlign = ST->isPacked() ? 1 : DL.getABITypeAlignment(Ty);
63 StructSize += DL.getTypeAllocSize(Ty); // Consume space for this data item
359 Type *Ty) const {
395 unsigned Align = getTypeAllocSize(cast<VectorType>(Ty)->getElementType());
396 Align *= cast<VectorType>(Ty)->getNumElements();
447 const StructLayout *DataLayout::getStructLayout(StructType *Ty) const {
452 StructLayout *&SL = (*STM)[Ty];
457 int NumElts = Ty->getNumElements();
465 new (L) StructLayout(Ty, *thi
[all...]
/freebsd-10.0-release/contrib/llvm/include/llvm/
H A DDIBuilder.h149 /// @param Ty Original type.
154 DIDerivedType createTypedef(DIType Ty, StringRef Name, DIFile File,
158 DIType createFriend(DIType Ty, DIType FriendTy);
162 /// @param Ty Original type.
163 /// @param BaseTy Base type. Ty is inherits from base.
167 DIDerivedType createInheritance(DIType Ty, DIType BaseTy,
179 /// @param Ty Parent type.
183 uint64_t OffsetInBits, unsigned Flags, DIType Ty);
191 /// @param Ty Type of the static member.
195 DIFile File, unsigned LineNo, DIType Ty,
[all...]
/freebsd-10.0-release/contrib/llvm/include/llvm/Transforms/IPO/
H A DPassManagerBuilder.h120 static void addGlobalExtension(ExtensionPointTy Ty, ExtensionFn Fn);
121 void addExtension(ExtensionPointTy Ty, ExtensionFn Fn);
144 RegisterStandardPasses(PassManagerBuilder::ExtensionPointTy Ty, argument
146 PassManagerBuilder::addGlobalExtension(Ty, Fn);
/freebsd-10.0-release/contrib/llvm/lib/Analysis/
H A DConstantFolding.cpp482 Type *Ty = cast<PointerType>(CE->getType())->getElementType(); local
483 unsigned NumBits = Ty->getPrimitiveSizeInBits();
487 (isa<IntegerType>(Ty) || Ty->isFloatingPointTy())) {
506 if (Ty->isFloatingPointTy())
507 Res = ConstantExpr::getBitCast(Res, Ty);
729 Type *Ty = Ptr->getType(); local
730 assert(Ty->isPointerTy() && "Forming regular GEP of non-pointer type");
733 if (SequentialType *ATy = dyn_cast<SequentialType>(Ty)) {
746 IntegerType *IntPtrTy = TD->getIntPtrType(Ty
1198 ConstantFoldFP(double (*NativeFP)(double), double V, Type *Ty) argument
1220 ConstantFoldBinaryFP(double (*NativeFP)(double, double), double V, double W, Type *Ty) argument
1250 ConstantFoldConvertToInt(const APFloat &Val, bool roundTowardZero, Type *Ty) argument
1277 Type *Ty = F->getReturnType(); local
[all...]
H A DScalarEvolutionExpander.cpp27 /// ReuseOrCreateCast - Arrange for there to be a cast of V to Ty at IP,
31 Value *SCEVExpander::ReuseOrCreateCast(Value *V, Type *Ty, argument
51 if (U->getType() == Ty)
61 Ret = CastInst::Create(Op, V, Ty, "", IP);
74 Ret = CastInst::Create(Op, V, Ty, V->getName(), IP);
88 Value *SCEVExpander::InsertNoopCastOfTo(Value *V, Type *Ty) { argument
89 Instruction::CastOps Op = CastInst::getCastOpcode(V, false, Ty, false);
94 assert(SE.getTypeSizeInBits(V->getType()) == SE.getTypeSizeInBits(Ty) &&
99 if (V->getType() == Ty)
102 if (CI->getOperand(0)->getType() == Ty)
309 SimplifyAddOperands(SmallVectorImpl<const SCEV *> &Ops, Type *Ty, ScalarEvolution &SE) argument
338 SplitAddRecs(SmallVectorImpl<const SCEV *> &Ops, Type *Ty, ScalarEvolution &SE) argument
396 expandAddToGEP(const SCEV *const *op_begin, const SCEV *const *op_end, PointerType *PTy, Type *Ty, Value *V) argument
711 Type *Ty = SE.getEffectiveSCEVType(S->getType()); local
782 Type *Ty = SE.getEffectiveSCEVType(S->getType()); local
824 Type *Ty = SE.getEffectiveSCEVType(S->getType()); local
1404 Type *Ty = SE.getEffectiveSCEVType(S->getType()); local
1413 Type *Ty = SE.getEffectiveSCEVType(S->getType()); local
1422 Type *Ty = SE.getEffectiveSCEVType(S->getType()); local
1432 Type *Ty = LHS->getType(); local
1456 Type *Ty = LHS->getType(); local
1478 expandCodeFor(const SCEV *SH, Type *Ty, Instruction *IP) argument
1484 expandCodeFor(const SCEV *SH, Type *Ty) argument
1566 getOrInsertCanonicalInductionVariable(const Loop *L, Type *Ty) argument
[all...]
H A DTargetTransformInfo.cpp52 unsigned TargetTransformInfo::getOperationCost(unsigned Opcode, Type *Ty, argument
54 return PrevTTI->getOperationCost(Opcode, Ty, OpTy);
103 bool TargetTransformInfo::isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, argument
107 return PrevTTI->isLegalAddressingMode(Ty, BaseGV, BaseOffset, HasBaseReg,
115 bool TargetTransformInfo::isTypeLegal(Type *Ty) const {
116 return PrevTTI->isTypeLegal(Ty);
136 unsigned TargetTransformInfo::getIntImmCost(const APInt &Imm, Type *Ty) const {
137 return PrevTTI->getIntImmCost(Imm, Ty);
153 Type *Ty,
156 return PrevTTI->getArithmeticInstrCost(Opcode, Ty, Op1Inf
152 getArithmeticInstrCost(unsigned Opcode, Type *Ty, OperandValueKind Op1Info, OperandValueKind Op2Info) const argument
237 getOperationCost(unsigned Opcode, Type *Ty, Type *OpTy) const argument
453 isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, bool HasBaseReg, int64_t Scale) const argument
500 getArithmeticInstrCost(unsigned Opcode, Type *Ty, OperandValueKind, OperandValueKind) const argument
[all...]
/freebsd-10.0-release/contrib/llvm/include/llvm/Target/
H A DCostTable.h31 unsigned len, int ISD, TypeTy Ty) {
33 if (Tbl[i].ISD == ISD && Tbl[i].Type == Ty)
30 CostTableLookup(const CostTblEntry<TypeTy> *Tbl, unsigned len, int ISD, TypeTy Ty) argument
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DConstraintManager.cpp30 QualType Ty = Sym->getType(); local
31 DefinedSVal V = Loc::isLocType(Ty) ? getLocFromSymbol(State, Sym)
/freebsd-10.0-release/contrib/llvm/lib/CodeGen/
H A DBasicTargetTransformInfo.cpp33 unsigned getScalarizationOverhead(Type *Ty, bool Insert, bool Extract) const;
71 virtual bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV,
75 virtual bool isTypeLegal(Type *Ty) const;
88 virtual unsigned getArithmeticInstrCost(unsigned Opcode, Type *Ty,
106 virtual unsigned getAddressComputationCost(Type *Ty) const;
131 bool BasicTTI::isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, argument
139 return TLI->isLegalAddressingMode(AM, Ty);
146 bool BasicTTI::isTypeLegal(Type *Ty) const {
147 EVT T = TLI->getValueType(Ty);
171 unsigned BasicTTI::getScalarizationOverhead(Type *Ty, boo argument
198 getArithmeticInstrCost(unsigned Opcode, Type *Ty, OperandValueKind, OperandValueKind) const argument
[all...]
/freebsd-10.0-release/contrib/llvm/lib/Analysis/IPA/
H A DFindUsedTypes.cpp32 void FindUsedTypes::IncorporateType(Type *Ty) { argument
35 if (!UsedTypes.insert(Ty)) return; // Already contain Ty.
39 for (Type::subtype_iterator I = Ty->subtype_begin(), E = Ty->subtype_end();

Completed in 230 milliseconds

1234567891011>>