Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:IntPtrTy

3263     Type *IntPtrTy = TLI->getDataLayout()->getIntPtrType(Addr->getType());
3319 if (V->getType() != IntPtrTy)
3320 V = Builder.CreateIntCast(V, IntPtrTy, /*isSigned=*/true, "sunkaddr");
3328 if (V->getType() == IntPtrTy) {
3330 } else if (cast<IntegerType>(IntPtrTy)->getBitWidth() <
3332 V = Builder.CreateTrunc(V, IntPtrTy, "sunkaddr");
3346 V = Builder.CreateMul(V, ConstantInt::get(IntPtrTy, AddrMode.Scale),
3356 Value *V = ConstantInt::get(IntPtrTy, AddrMode.BaseOffs);
3382 Type *IntPtrTy = TLI->getDataLayout()->getIntPtrType(Addr->getType());
3393 V = Builder.CreatePtrToInt(V, IntPtrTy, "sunkaddr");
3394 if (V->getType() != IntPtrTy)
3395 V = Builder.CreateIntCast(V, IntPtrTy, /*isSigned=*/true, "sunkaddr");
3402 if (V->getType() == IntPtrTy) {
3405 V = Builder.CreatePtrToInt(V, IntPtrTy, "sunkaddr");
3406 } else if (cast<IntegerType>(IntPtrTy)->getBitWidth() <
3408 V = Builder.CreateTrunc(V, IntPtrTy, "sunkaddr");
3421 V = Builder.CreateMul(V, ConstantInt::get(IntPtrTy, AddrMode.Scale),
3431 Value *V = Builder.CreatePtrToInt(AddrMode.BaseGV, IntPtrTy, "sunkaddr");
3440 Value *V = ConstantInt::get(IntPtrTy, AddrMode.BaseOffs);