Home
last modified time | relevance | path

Searched refs:CastOp (Results 1 – 3 of 3) sorted by relevance

/freebsd-10-stable/contrib/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp286 Value *CastOp = CI->getOperand(0); in InstCombineLoadCast() local
290 if (PointerType *SrcTy = dyn_cast<PointerType>(CastOp->getType())) { in InstCombineLoadCast()
304 if (Constant *CSrc = dyn_cast<Constant>(CastOp)) in InstCombineLoadCast()
311 CastOp = ConstantExpr::getGetElementPtr(CSrc, Idxs); in InstCombineLoadCast()
312 SrcTy = cast<PointerType>(CastOp->getType()); in InstCombineLoadCast()
330 IC.Builder->CreateLoad(CastOp, LI.isVolatile(), CI->getName()); in InstCombineLoadCast()
455 Value *CastOp = CI->getOperand(0); in InstCombineStoreToCast() local
458 PointerType *SrcTy = dyn_cast<PointerType>(CastOp->getType()); in InstCombineStoreToCast()
528 CastOp = IC.Builder->CreateInBoundsGEP(CastOp, NewGEPIndices); in InstCombineStoreToCast()
533 SI.setOperand(1, CastOp); in InstCombineStoreToCast()
/freebsd-10-stable/contrib/llvm/lib/Analysis/
DBasicAliasAnalysis.cpp249 Value *CastOp = cast<CastInst>(V)->getOperand(0); in GetLinearExpression() local
251 unsigned SmallWidth = CastOp->getType()->getPrimitiveSizeInBits(); in GetLinearExpression()
256 Value *Result = GetLinearExpression(CastOp, Scale, Offset, Extension, in GetLinearExpression()
DScalarEvolution.cpp5096 if (Constant *CastOp = BuildConstantFromSCEV(SS->getOperand())) in BuildConstantFromSCEV() local
5097 return ConstantExpr::getSExt(CastOp, SS->getType()); in BuildConstantFromSCEV()
5102 if (Constant *CastOp = BuildConstantFromSCEV(SZ->getOperand())) in BuildConstantFromSCEV() local
5103 return ConstantExpr::getZExt(CastOp, SZ->getType()); in BuildConstantFromSCEV()
5108 if (Constant *CastOp = BuildConstantFromSCEV(ST->getOperand())) in BuildConstantFromSCEV() local
5109 return ConstantExpr::getTrunc(CastOp, ST->getType()); in BuildConstantFromSCEV()