Searched defs:MidTy (Results 1 - 3 of 3) sorted by relevance

/external/llvm/lib/IR/
H A DConstantFold.cpp86 Type *MidTy = Op->getType(); local
96 return CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy, DstTy,
H A DInstructions.cpp2118 /// * %F = firstOpcode SrcTy %x to MidTy
2119 /// * %S = secondOpcode MidTy %F to DstTy
2125 Type *SrcTy, Type *MidTy, Type *DstTy, Type *SrcIntPtrTy, Type *MidIntPtrTy,
2185 if ((isFirstBitcast && isa<VectorType>(SrcTy) != isa<VectorType>(MidTy)) ||
2186 (isSecondBitcast && isa<VectorType>(MidTy) != isa<VectorType>(DstTy)))
2228 unsigned MidSize = MidTy->getScalarSizeInBits();
2269 PointerType *MidPtrTy = dyn_cast<PointerType>(MidTy);
2290 PointerType *MidPtrTy = dyn_cast<PointerType>(MidTy);
2318 // where the MidTy is not the same for the two cast instructions.
2123 isEliminableCastPair( Instruction::CastOps firstOp, Instruction::CastOps secondOp, Type *SrcTy, Type *MidTy, Type *DstTy, Type *SrcIntPtrTy, Type *MidIntPtrTy, Type *DstIntPtrTy) argument
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp242 Type *MidTy = CI->getType(); // B from above local
249 Type *MidIntPtrTy = TD && MidTy->isPtrOrPtrVectorTy() ?
250 TD->getIntPtrType(MidTy) : 0;
253 unsigned Res = CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy,

Completed in 362 milliseconds