Lines Matching refs:CastInst
387 ArraySize = CastInst::CreateIntegerCast(ArraySize, IntPtrTy, false,
390 ArraySize = CastInst::CreateIntegerCast(ArraySize, IntPtrTy, false,
2039 // CastInst Class
2042 void CastInst::anchor() {}
2045 bool CastInst::isIntegerCast() const {
2058 bool CastInst::isLosslessCast() const {
2075 /// This function determines if the CastInst does not require any bits to be
2083 bool CastInst::isNoopCast(Instruction::CastOps Opcode,
2111 bool CastInst::isNoopCast(Type *IntPtrTy) const {
2123 unsigned CastInst::isEliminableCastPair(
2288 CastInst *CastInst::Create(Instruction::CastOps op, Value *S, Type *Ty,
2291 // Construct and return the appropriate CastInst subclass
2309 CastInst *CastInst::Create(Instruction::CastOps op, Value *S, Type *Ty,
2312 // Construct and return the appropriate CastInst subclass
2330 CastInst *CastInst::CreateZExtOrBitCast(Value *S, Type *Ty,
2338 CastInst *CastInst::CreateZExtOrBitCast(Value *S, Type *Ty,
2346 CastInst *CastInst::CreateSExtOrBitCast(Value *S, Type *Ty,
2354 CastInst *CastInst::CreateSExtOrBitCast(Value *S, Type *Ty,
2362 CastInst *CastInst::CreateTruncOrBitCast(Value *S, Type *Ty,
2370 CastInst *CastInst::CreateTruncOrBitCast(Value *S, Type *Ty,
2378 CastInst *CastInst::CreatePointerCast(Value *S, Type *Ty,
2391 CastInst *CastInst::CreatePointerCast(Value *S, Type *Ty,
2403 CastInst *CastInst::CreateIntegerCast(Value *C, Type *Ty,
2417 CastInst *CastInst::CreateIntegerCast(Value *C, Type *Ty,
2431 CastInst *CastInst::CreateFPCast(Value *C, Type *Ty,
2444 CastInst *CastInst::CreateFPCast(Value *C, Type *Ty,
2459 bool CastInst::isCastable(Type *SrcTy, Type *DestTy) {
2528 CastInst::getCastOpcode(
2620 // CastInst SubClass Constructors
2623 /// Check that the construction parameters for a CastInst are correct. This
2628 CastInst::castIsValid(Instruction::CastOps op, Value *S, Type *DstTy) {
2710 ) : CastInst(Ty, Trunc, S, Name, InsertBefore) {
2716 ) : CastInst(Ty, Trunc, S, Name, InsertAtEnd) {
2722 ) : CastInst(Ty, ZExt, S, Name, InsertBefore) {
2728 ) : CastInst(Ty, ZExt, S, Name, InsertAtEnd) {
2733 ) : CastInst(Ty, SExt, S, Name, InsertBefore) {
2739 ) : CastInst(Ty, SExt, S, Name, InsertAtEnd) {
2745 ) : CastInst(Ty, FPTrunc, S, Name, InsertBefore) {
2751 ) : CastInst(Ty, FPTrunc, S, Name, InsertAtEnd) {
2757 ) : CastInst(Ty, FPExt, S, Name, InsertBefore) {
2763 ) : CastInst(Ty, FPExt, S, Name, InsertAtEnd) {
2769 ) : CastInst(Ty, UIToFP, S, Name, InsertBefore) {
2775 ) : CastInst(Ty, UIToFP, S, Name, InsertAtEnd) {
2781 ) : CastInst(Ty, SIToFP, S, Name, InsertBefore) {
2787 ) : CastInst(Ty, SIToFP, S, Name, InsertAtEnd) {
2793 ) : CastInst(Ty, FPToUI, S, Name, InsertBefore) {
2799 ) : CastInst(Ty, FPToUI, S, Name, InsertAtEnd) {
2805 ) : CastInst(Ty, FPToSI, S, Name, InsertBefore) {
2811 ) : CastInst(Ty, FPToSI, S, Name, InsertAtEnd) {
2817 ) : CastInst(Ty, PtrToInt, S, Name, InsertBefore) {
2823 ) : CastInst(Ty, PtrToInt, S, Name, InsertAtEnd) {
2829 ) : CastInst(Ty, IntToPtr, S, Name, InsertBefore) {
2835 ) : CastInst(Ty, IntToPtr, S, Name, InsertAtEnd) {
2841 ) : CastInst(Ty, BitCast, S, Name, InsertBefore) {
2847 ) : CastInst(Ty, BitCast, S, Name, InsertAtEnd) {