Lines Matching defs:Ty
195 Constant *Constant::getNullValue(Type *Ty) { in getNullValue()
232 Constant *Constant::getIntegerValue(Type *Ty, const APInt &V) { in getIntegerValue()
249 Constant *Constant::getAllOnesValue(Type *Ty) { in getAllOnesValue()
503 ConstantInt::ConstantInt(IntegerType *Ty, const APInt &V) in ConstantInt()
522 Constant *ConstantInt::getTrue(Type *Ty) { in getTrue()
534 Constant *ConstantInt::getFalse(Type *Ty) { in getFalse()
560 Constant *ConstantInt::get(Type *Ty, uint64_t V, bool isSigned) { in get()
570 ConstantInt *ConstantInt::get(IntegerType *Ty, uint64_t V, bool isSigned) { in get()
574 ConstantInt *ConstantInt::getSigned(IntegerType *Ty, int64_t V) { in getSigned()
578 Constant *ConstantInt::getSigned(Type *Ty, int64_t V) { in getSigned()
582 Constant *ConstantInt::get(Type *Ty, const APInt& V) { in get()
594 ConstantInt *ConstantInt::get(IntegerType* Ty, StringRef Str, uint8_t radix) { in get()
607 static const fltSemantics *TypeToFloatSemantics(Type *Ty) { in TypeToFloatSemantics()
625 Constant *ConstantFP::get(Type *Ty, double V) { in get()
642 Constant *ConstantFP::get(Type *Ty, StringRef Str) { in get()
655 Constant *ConstantFP::getNaN(Type *Ty, bool Negative, unsigned Type) { in getNaN() argument
666 Constant *ConstantFP::getNegativeZero(Type *Ty) { in getNegativeZero()
678 Constant *ConstantFP::getZeroValueForNegation(Type *Ty) { in getZeroValueForNegation()
693 Type *Ty; in get() local
715 Constant *ConstantFP::getInfinity(Type *Ty, bool Negative) { in getInfinity()
725 ConstantFP::ConstantFP(Type *Ty, const APFloat &V) in ConstantFP()
765 Type *Ty = getType(); in getNumElements() local
798 Type *Ty = getType(); in getNumElements() local
892 Constant *ConstantArray::get(ArrayType *Ty, ArrayRef<Constant*> V) { in get()
898 Constant *ConstantArray::getImpl(ArrayType *Ty, ArrayRef<Constant*> V) { in getImpl()
1001 VectorType *Ty = VectorType::get(V.front()->getType(), V.size()); in get() local
1128 Constant *ConstantExpr::getWithOperands(ArrayRef<Constant *> Ops, Type *Ty, in getWithOperands()
1189 bool ConstantInt::isValueValidForType(Type *Ty, uint64_t Val) { in isValueValidForType()
1199 bool ConstantInt::isValueValidForType(Type *Ty, int64_t Val) { in isValueValidForType()
1210 bool ConstantFP::isValueValidForType(Type *Ty, const APFloat& Val) { in isValueValidForType()
1261 ConstantAggregateZero *ConstantAggregateZero::get(Type *Ty) { in get()
1329 ConstantPointerNull *ConstantPointerNull::get(PointerType *Ty) { in get()
1342 UndefValue *UndefValue::get(Type *Ty) { in get()
1439 static Constant *getFoldedCast(Instruction::CastOps opc, Constant *C, Type *Ty, in getFoldedCast()
1457 Constant *ConstantExpr::getCast(unsigned oc, Constant *C, Type *Ty, in getCast()
1496 Constant *ConstantExpr::getZExtOrBitCast(Constant *C, Type *Ty) { in getZExtOrBitCast()
1502 Constant *ConstantExpr::getSExtOrBitCast(Constant *C, Type *Ty) { in getSExtOrBitCast()
1508 Constant *ConstantExpr::getTruncOrBitCast(Constant *C, Type *Ty) { in getTruncOrBitCast()
1514 Constant *ConstantExpr::getPointerCast(Constant *S, Type *Ty) { in getPointerCast()
1530 Type *Ty) { in getPointerBitCastOrAddrSpaceCast()
1540 Constant *ConstantExpr::getIntegerCast(Constant *C, Type *Ty, bool isSigned) { in getIntegerCast()
1552 Constant *ConstantExpr::getFPCast(Constant *C, Type *Ty) { in getFPCast()
1564 Constant *ConstantExpr::getTrunc(Constant *C, Type *Ty, bool OnlyIfReduced) { in getTrunc()
1578 Constant *ConstantExpr::getSExt(Constant *C, Type *Ty, bool OnlyIfReduced) { in getSExt()
1592 Constant *ConstantExpr::getZExt(Constant *C, Type *Ty, bool OnlyIfReduced) { in getZExt()
1606 Constant *ConstantExpr::getFPTrunc(Constant *C, Type *Ty, bool OnlyIfReduced) { in getFPTrunc()
1618 Constant *ConstantExpr::getFPExtend(Constant *C, Type *Ty, bool OnlyIfReduced) { in getFPExtend()
1630 Constant *ConstantExpr::getUIToFP(Constant *C, Type *Ty, bool OnlyIfReduced) { in getUIToFP()
1641 Constant *ConstantExpr::getSIToFP(Constant *C, Type *Ty, bool OnlyIfReduced) { in getSIToFP()
1652 Constant *ConstantExpr::getFPToUI(Constant *C, Type *Ty, bool OnlyIfReduced) { in getFPToUI()
1663 Constant *ConstantExpr::getFPToSI(Constant *C, Type *Ty, bool OnlyIfReduced) { in getFPToSI()
1813 Constant *ConstantExpr::getSizeOf(Type* Ty) { in getSizeOf()
1823 Constant *ConstantExpr::getAlignOf(Type* Ty) { in getAlignOf()
1842 Constant *ConstantExpr::getOffsetOf(Type* Ty, Constant *FieldNo) { in getOffsetOf()
1894 Constant *ConstantExpr::getGetElementPtr(Type *Ty, Constant *C, in getGetElementPtr()
2220 Constant *ConstantExpr::getBinOpIdentity(unsigned Opcode, Type *Ty) { in getBinOpIdentity()
2239 Constant *ConstantExpr::getBinOpAbsorber(unsigned Opcode, Type *Ty) { in getBinOpAbsorber()
2299 bool ConstantDataSequential::isElementTypeCompatible(Type *Ty) { in isElementTypeCompatible()
2344 Constant *ConstantDataSequential::getImpl(StringRef Elements, Type *Ty) { in getImpl()
2417 Type *Ty = ArrayType::get(Type::getInt8Ty(Context), Elts.size()); in get() local
2422 Type *Ty = ArrayType::get(Type::getInt16Ty(Context), Elts.size()); in get() local
2427 Type *Ty = ArrayType::get(Type::getInt32Ty(Context), Elts.size()); in get() local
2432 Type *Ty = ArrayType::get(Type::getInt64Ty(Context), Elts.size()); in get() local
2437 Type *Ty = ArrayType::get(Type::getFloatTy(Context), Elts.size()); in get() local
2442 Type *Ty = ArrayType::get(Type::getDoubleTy(Context), Elts.size()); in get() local
2454 Type *Ty = ArrayType::get(Type::getHalfTy(Context), Elts.size()); in getFP() local
2460 Type *Ty = ArrayType::get(Type::getFloatTy(Context), Elts.size()); in getFP() local
2466 Type *Ty = ArrayType::get(Type::getDoubleTy(Context), Elts.size()); in getFP() local
2489 Type *Ty = VectorType::get(Type::getInt8Ty(Context), Elts.size()); in get() local
2494 Type *Ty = VectorType::get(Type::getInt16Ty(Context), Elts.size()); in get() local
2499 Type *Ty = VectorType::get(Type::getInt32Ty(Context), Elts.size()); in get() local
2504 Type *Ty = VectorType::get(Type::getInt64Ty(Context), Elts.size()); in get() local
2509 Type *Ty = VectorType::get(Type::getFloatTy(Context), Elts.size()); in get() local
2514 Type *Ty = VectorType::get(Type::getDoubleTy(Context), Elts.size()); in get() local
2526 Type *Ty = VectorType::get(Type::getHalfTy(Context), Elts.size()); in getFP() local
2532 Type *Ty = VectorType::get(Type::getFloatTy(Context), Elts.size()); in getFP() local
2538 Type *Ty = VectorType::get(Type::getDoubleTy(Context), Elts.size()); in getFP() local