Home | History | Annotate | Download | only in IR

Lines Matching refs:IntToPtr

2118     case Instruction::IntToPtr:
2138 else if (getOpcode() == Instruction::IntToPtr)
2179 // INTTOPTR n/a Integral Unsigned Pointer n/a
2208 { 99,99,99,99,99,99,99,99,99,11,99,15, 0}, // IntToPtr |
2275 // ptrtoint, inttoptr -> bitcast (ptr -> ptr) if int size is >= ptr size.
2305 // inttoptr, ptrtoint -> bitcast if SrcSize<=PtrSize and SrcSize==DstSize
2351 "Illegal inttoptr, bitcast sequence!");
2390 case IntToPtr: return new IntToPtrInst (S, Ty, Name, InsertBefore);
2412 case IntToPtr: return new IntToPtrInst (S, Ty, Name, InsertAtEnd);
2756 return IntToPtr; // int -> ptr
2837 case Instruction::IntToPtr:
3018 ) : CastInst(Ty, IntToPtr, S, Name, InsertBefore) {
3019 assert(castIsValid(getOpcode(), S, Ty) && "Illegal IntToPtr");
3024 ) : CastInst(Ty, IntToPtr, S, Name, InsertAtEnd) {
3025 assert(castIsValid(getOpcode(), S, Ty) && "Illegal IntToPtr");