Lines Matching refs:getType

485       if (LI->getType()->isX86_MMXTy())
488 MergeInTypeForLoadOrStore(LI->getType(), Offset);
496 if (SI->getOperand(0)->getType()->isX86_MMXTy())
499 MergeInTypeForLoadOrStore(SI->getOperand(0)->getType(), Offset);
526 if (!GEPNonConstantIdx->getType()->isIntegerTy(32))
639 = ConvertScalar_ExtractValue(LoadedVal, LI->getType(), Offset,
710 PointerType* SPTy = cast<PointerType>(SrcPtr->getType());
711 PointerType* AIPTy = cast<PointerType>(NewAI->getType());
727 PointerType* DPTy = cast<PointerType>(MTI->getDest()->getType());
728 PointerType* AIPTy = cast<PointerType>(NewAI->getType());
774 Type *FromType = FromVal->getType();
805 if (V->getType() != ToType)
841 IntegerType *NTy = cast<IntegerType>(FromVal->getType());
861 ConstantInt::get(FromVal->getType(), ShAmt));
864 ConstantInt::get(FromVal->getType(), -ShAmt));
887 assert(FromVal->getType() == ToType && "Didn't convert right?");
910 Type *AllocaType = Old->getType();
915 uint64_t ValSize = DL.getTypeAllocSizeInBits(SV->getType());
924 if (SV->getType() != EltTy)
942 if (StructType *ST = dyn_cast<StructType>(SV->getType())) {
955 if (ArrayType *AT = dyn_cast<ArrayType>(SV->getType())) {
969 unsigned SrcWidth = DL.getTypeSizeInBits(SV->getType());
971 unsigned SrcStoreWidth = DL.getTypeStoreSizeInBits(SV->getType());
973 if (SV->getType()->isFloatingPointTy() || SV->getType()->isVectorTy())
975 else if (SV->getType()->isPointerTy())
976 SV = Builder.CreatePtrToInt(SV, DL.getIntPtrType(SV->getType()));
979 if (SV->getType() != AllocaType) {
980 if (SV->getType()->getPrimitiveSizeInBits() <
1009 SV = Builder.CreateShl(SV, ConstantInt::get(SV->getType(), ShAmt));
1012 SV = Builder.CreateLShr(SV, ConstantInt::get(SV->getType(), -ShAmt));
1369 Type *LoadTy = cast<PointerType>(PN->getType())->getElementType();
1634 Type *LIType = LI->getType();
1644 Type *SIType = SI->getOperand(0)->getType();
1694 Type *LIType = LI->getType();
1704 Type *SIType = SI->getOperand(0)->getType();
1918 Type *LIType = LI->getType();
1948 Type *SIType = Val->getType();
1986 BitCastInst *BCI = new BitCastInst(NewAI, AI->getType(), "", NewAI);
2012 if (Val->getType() != BC->getDestTy()) {
2110 if (Val->getType() != GEPI->getType())
2111 Val = new BitCastInst(Val, GEPI->getType(), Val->getName(), GEPI);
2136 unsigned AS = AI->getType()->getAddressSpace();
2199 cast<PointerType>(OtherPtr->getType())->getAddressSpace();
2223 PointerType::get(AI->getType()->getElementType(), AddrSpace);
2225 if (OtherPtr->getType() != NewTy)
2247 PointerType *OtherPtrTy = cast<PointerType>(OtherPtr->getType());
2265 Type *EltTy = cast<PointerType>(EltPtr->getType())->getElementType();
2309 assert(StoreVal->getType() == ValTy && "Type mismatch!");
2364 if (DL.getTypeSizeInBits(SrcVal->getType()) != AllocaSizeBits)
2386 Value *ShiftVal = ConstantInt::get(EltVal->getType(), Shift);
2400 if (EltVal->getType() == FieldTy) {
2408 PointerType::getUnqual(EltVal->getType()));
2432 Value *ShiftVal = ConstantInt::get(EltVal->getType(), Shift);
2442 if (EltVal->getType() == ArrayEltTy) {
2451 PointerType::getUnqual(EltVal->getType()));
2498 cast<PointerType>(SrcField->getType())->getElementType();
2515 if (SrcField->getType() != FieldIntTy)
2520 if (SrcField->getType() != ResultVal->getType())
2521 SrcField = new ZExtInst(SrcField, ResultVal->getType(), "", LI);
2534 Value *ShiftVal = ConstantInt::get(SrcField->getType(), Shift);
2547 if (DL.getTypeSizeInBits(LI->getType()) != AllocaSizeBits)
2548 ResultVal = new TruncInst(ResultVal, LI->getType(), "", LI);