Home | History | Annotate | Download | only in IR

Lines Matching refs:PtrToInt

2093 /// # ptrtoint i32* %x to i32     ; on 32-bit plaforms only
2115 case Instruction::PtrToInt:
2136 if (getOpcode() == Instruction::PtrToInt)
2178 // PTRTOINT n/a Pointer n/a Integral Unsigned
2207 { 1, 0, 0,99,99, 0, 0,99,99,99, 7, 3, 0}, // PtrToInt |
2275 // ptrtoint, inttoptr -> bitcast (ptr -> ptr) if int size is >= ptr size.
2305 // inttoptr, ptrtoint -> bitcast if SrcSize<=PtrSize and SrcSize==DstSize
2363 "Illegal bitcast, ptrtoint sequence!");
2389 case PtrToInt: return new PtrToIntInst (S, Ty, Name, InsertBefore);
2411 case PtrToInt: return new PtrToIntInst (S, Ty, Name, InsertAtEnd);
2479 return Create(Instruction::PtrToInt, S, Ty, Name, InsertAtEnd);
2488 /// @brief Create a BitCast or a PtrToInt cast instruction
2501 return Create(Instruction::PtrToInt, S, Ty, Name, InsertBefore);
2724 return PtrToInt; // ptr -> int
2829 case Instruction::PtrToInt:
3006 ) : CastInst(Ty, PtrToInt, S, Name, InsertBefore) {
3007 assert(castIsValid(getOpcode(), S, Ty) && "Illegal PtrToInt");
3012 ) : CastInst(Ty, PtrToInt, S, Name, InsertAtEnd) {
3013 assert(castIsValid(getOpcode(), S, Ty) && "Illegal PtrToInt");