Lines Matching refs:castIsValid
2573 assert(castIsValid(op, S, Ty) && "Invalid cast!"); in Create()
2595 assert(castIsValid(op, S, Ty) && "Invalid cast!"); in Create()
3009 CastInst::castIsValid(Instruction::CastOps op, Value *S, Type *DstTy) { in castIsValid() function in CastInst
3127 assert(castIsValid(getOpcode(), S, Ty) && "Illegal Trunc"); in TruncInst()
3133 assert(castIsValid(getOpcode(), S, Ty) && "Illegal Trunc"); in TruncInst()
3139 assert(castIsValid(getOpcode(), S, Ty) && "Illegal ZExt"); in ZExtInst()
3145 assert(castIsValid(getOpcode(), S, Ty) && "Illegal ZExt"); in ZExtInst()
3150 assert(castIsValid(getOpcode(), S, Ty) && "Illegal SExt"); in SExtInst()
3156 assert(castIsValid(getOpcode(), S, Ty) && "Illegal SExt"); in SExtInst()
3162 assert(castIsValid(getOpcode(), S, Ty) && "Illegal FPTrunc"); in FPTruncInst()
3168 assert(castIsValid(getOpcode(), S, Ty) && "Illegal FPTrunc"); in FPTruncInst()
3174 assert(castIsValid(getOpcode(), S, Ty) && "Illegal FPExt"); in FPExtInst()
3180 assert(castIsValid(getOpcode(), S, Ty) && "Illegal FPExt"); in FPExtInst()
3186 assert(castIsValid(getOpcode(), S, Ty) && "Illegal UIToFP"); in UIToFPInst()
3192 assert(castIsValid(getOpcode(), S, Ty) && "Illegal UIToFP"); in UIToFPInst()
3198 assert(castIsValid(getOpcode(), S, Ty) && "Illegal SIToFP"); in SIToFPInst()
3204 assert(castIsValid(getOpcode(), S, Ty) && "Illegal SIToFP"); in SIToFPInst()
3210 assert(castIsValid(getOpcode(), S, Ty) && "Illegal FPToUI"); in FPToUIInst()
3216 assert(castIsValid(getOpcode(), S, Ty) && "Illegal FPToUI"); in FPToUIInst()
3222 assert(castIsValid(getOpcode(), S, Ty) && "Illegal FPToSI"); in FPToSIInst()
3228 assert(castIsValid(getOpcode(), S, Ty) && "Illegal FPToSI"); in FPToSIInst()
3234 assert(castIsValid(getOpcode(), S, Ty) && "Illegal PtrToInt"); in PtrToIntInst()
3240 assert(castIsValid(getOpcode(), S, Ty) && "Illegal PtrToInt"); in PtrToIntInst()
3246 assert(castIsValid(getOpcode(), S, Ty) && "Illegal IntToPtr"); in IntToPtrInst()
3252 assert(castIsValid(getOpcode(), S, Ty) && "Illegal IntToPtr"); in IntToPtrInst()
3258 assert(castIsValid(getOpcode(), S, Ty) && "Illegal BitCast"); in BitCastInst()
3264 assert(castIsValid(getOpcode(), S, Ty) && "Illegal BitCast"); in BitCastInst()
3270 assert(castIsValid(getOpcode(), S, Ty) && "Illegal AddrSpaceCast"); in AddrSpaceCastInst()
3276 assert(castIsValid(getOpcode(), S, Ty) && "Illegal AddrSpaceCast"); in AddrSpaceCastInst()