Lines Matching refs:getType

157     Type *IntPtrTy = TD->getIntPtrType(AI.getType());
158 if (AI.getArraySize()->getType() != IntPtrTy) {
184 ? TD->getIntPtrType(AI.getType())
196 return ReplaceInstUsesWith(AI, Constant::getNullValue(AI.getType()));
213 AI.setOperand(0, ConstantInt::get(AI.getArraySize()->getType(), 1));
242 if (AI.getType() != EntryAI->getType())
243 return new BitCastInst(EntryAI, AI.getType());
267 = ConstantExpr::getPointerBitCastOrAddrSpaceCast(TheSrc, AI.getType());
288 PointerType *DestTy = cast<PointerType>(CI->getType());
290 if (PointerType *SrcTy = dyn_cast<PointerType>(CastOp->getType())) {
312 SrcTy = cast<PointerType>(CastOp->getType());
322 LI.getType()->isPtrOrPtrVectorTy()) &&
334 return new BitCastInst(NewLoad, LI.getType());
347 getOrEnforceKnownAlignment(Op, TD->getPrefTypeAlignment(LI.getType()),TD);
350 TD->getABITypeAlignment(LI.getType());
383 new StoreInst(UndefValue::get(LI.getType()),
384 Constant::getNullValue(Op->getType()), &LI);
385 return ReplaceInstUsesWith(LI, UndefValue::get(LI.getType()));
396 new StoreInst(UndefValue::get(LI.getType()),
397 Constant::getNullValue(Op->getType()), &LI);
398 return ReplaceInstUsesWith(LI, UndefValue::get(LI.getType()));
457 Type *DestPTy = cast<PointerType>(CI->getType())->getElementType();
458 PointerType *SrcTy = dyn_cast<PointerType>(CastOp->getType());
504 cast<PointerType>(CI->getType())->getAddressSpace() ||
515 Type* CastSrcTy = SIOp0->getType();
521 if (SIOp0->getType()->isPointerTy())
573 getOrEnforceKnownAlignment(Ptr, TD->getPrefTypeAlignment(Val->getType()),
577 TD->getABITypeAlignment(Val->getType());
612 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy())) {
650 SI.setOperand(0, UndefValue::get(Val->getType()));
679 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy()));
743 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy())) {
792 PHINode *PN = PHINode::Create(MergedVal->getType(), 2, "storemerge");