Lines Matching defs:Ty
370 Constant *Constant::getNullValue(Type *Ty) { in getNullValue()
400 Constant *Constant::getIntegerValue(Type *Ty, const APInt &V) { in getIntegerValue()
417 Constant *Constant::getAllOnesValue(Type *Ty) { in getAllOnesValue()
770 Type *Ty = C->getType(); in replaceUndefsWith() local
797 Type *Ty = C->getType(); in mergeUndefsWith() local
843 ConstantInt::ConstantInt(Type *Ty, const APInt &V) in ConstantInt()
868 Constant *ConstantInt::getTrue(Type *Ty) { in getTrue()
876 Constant *ConstantInt::getFalse(Type *Ty) { in getFalse()
884 Constant *ConstantInt::getBool(Type *Ty, bool V) { in getBool()
925 Constant *ConstantInt::get(Type *Ty, uint64_t V, bool isSigned) { in get()
935 ConstantInt *ConstantInt::get(IntegerType *Ty, uint64_t V, bool isSigned) { in get()
939 Constant *ConstantInt::get(Type *Ty, const APInt& V) { in get()
951 ConstantInt *ConstantInt::get(IntegerType* Ty, StringRef Str, uint8_t radix) { in get()
964 Constant *ConstantFP::get(Type *Ty, double V) { in get()
980 Constant *ConstantFP::get(Type *Ty, const APFloat &V) { in get()
992 Constant *ConstantFP::get(Type *Ty, StringRef Str) { in get()
1005 Constant *ConstantFP::getNaN(Type *Ty, bool Negative, uint64_t Payload) { in getNaN()
1016 Constant *ConstantFP::getQNaN(Type *Ty, bool Negative, APInt *Payload) { in getQNaN()
1027 Constant *ConstantFP::getSNaN(Type *Ty, bool Negative, APInt *Payload) { in getSNaN()
1038 Constant *ConstantFP::getZero(Type *Ty, bool Negative) { in getZero()
1057 Type *Ty = Type::getFloatingPointTy(Context, V.getSemantics()); in get() local
1084 Constant *ConstantFP::getInfinity(Type *Ty, bool Negative) { in getInfinity()
1094 ConstantFP::ConstantFP(Type *Ty, const APFloat &V) in ConstantFP()
1136 Type *Ty = getType(); in getElementCount() local
1171 Type *Ty = getType(); in getNumElements() local
1292 Constant *ConstantArray::get(ArrayType *Ty, ArrayRef<Constant*> V) { in get()
1298 Constant *ConstantArray::getImpl(ArrayType *Ty, ArrayRef<Constant*> V) { in getImpl()
1402 auto *Ty = FixedVectorType::get(V.front()->getType(), V.size()); in get() local
1525 Constant *ConstantExpr::getWithOperands(ArrayRef<Constant *> Ops, Type *Ty, in getWithOperands()
1575 bool ConstantInt::isValueValidForType(Type *Ty, uint64_t Val) { in isValueValidForType()
1582 bool ConstantInt::isValueValidForType(Type *Ty, int64_t Val) { in isValueValidForType()
1589 bool ConstantFP::isValueValidForType(Type *Ty, const APFloat& Val) { in isValueValidForType()
1650 ConstantAggregateZero *ConstantAggregateZero::get(Type *Ty) { in get()
1800 ConstantPointerNull *ConstantPointerNull::get(PointerType *Ty) { in get()
1817 ConstantTargetNone *ConstantTargetNone::get(TargetExtType *Ty) { in get()
1833 UndefValue *UndefValue::get(Type *Ty) { in get()
1852 PoisonValue *PoisonValue::get(Type *Ty) { in get()
2166 static Constant *getFoldedCast(Instruction::CastOps opc, Constant *C, Type *Ty, in getFoldedCast()
2184 Constant *ConstantExpr::getCast(unsigned oc, Constant *C, Type *Ty, in getCast()
2209 Constant *ConstantExpr::getTruncOrBitCast(Constant *C, Type *Ty) { in getTruncOrBitCast()
2215 Constant *ConstantExpr::getPointerCast(Constant *S, Type *Ty) { in getPointerCast()
2231 Type *Ty) { in getPointerBitCastOrAddrSpaceCast()
2241 Constant *ConstantExpr::getTrunc(Constant *C, Type *Ty, bool OnlyIfReduced) { in getTrunc()
2442 Constant *ConstantExpr::getSizeOf(Type* Ty) { in getSizeOf()
2452 Constant *ConstantExpr::getAlignOf(Type* Ty) { in getAlignOf()
2465 Constant *ConstantExpr::getGetElementPtr(Type *Ty, Constant *C, in getGetElementPtr()
2625 Type *Ty = C->getType(); in getExactLogBase2() local
2653 Constant *ConstantExpr::getBinOpIdentity(unsigned Opcode, Type *Ty, in getBinOpIdentity()
2698 Constant *ConstantExpr::getIntrinsicIdentity(Intrinsic::ID ID, Type *Ty) { in getIntrinsicIdentity()
2715 Constant *ConstantExpr::getIdentity(Instruction *I, Type *Ty, in getIdentity()
2724 Constant *ConstantExpr::getBinOpAbsorber(unsigned Opcode, Type *Ty) { in getBinOpAbsorber()
2789 bool ConstantDataSequential::isElementTypeCompatible(Type *Ty) { in isElementTypeCompatible()
2835 Constant *ConstantDataSequential::getImpl(StringRef Elements, Type *Ty) { in getImpl()
2920 Type *Ty = ArrayType::get(ElementType, Elts.size()); in getFP() local
2926 Type *Ty = ArrayType::get(ElementType, Elts.size()); in getFP() local
2933 Type *Ty = ArrayType::get(ElementType, Elts.size()); in getFP() local
2955 auto *Ty = FixedVectorType::get(Type::getInt8Ty(Context), Elts.size()); in get() local
2960 auto *Ty = FixedVectorType::get(Type::getInt16Ty(Context), Elts.size()); in get() local
2965 auto *Ty = FixedVectorType::get(Type::getInt32Ty(Context), Elts.size()); in get() local
2970 auto *Ty = FixedVectorType::get(Type::getInt64Ty(Context), Elts.size()); in get() local
2975 auto *Ty = FixedVectorType::get(Type::getFloatTy(Context), Elts.size()); in get() local
2980 auto *Ty = FixedVectorType::get(Type::getDoubleTy(Context), Elts.size()); in get() local
2995 auto *Ty = FixedVectorType::get(ElementType, Elts.size()); in getFP() local
3002 auto *Ty = FixedVectorType::get(ElementType, Elts.size()); in getFP() local
3010 auto *Ty = FixedVectorType::get(ElementType, Elts.size()); in getFP() local