Home
last modified time | relevance | path

Searched refs:NTy (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp841 IntegerType *NTy = cast<IntegerType>(FromVal->getType()); in ConvertScalar_ExtractValue() local
850 ShAmt = DL.getTypeStoreSizeInBits(NTy) - in ConvertScalar_ExtractValue()
859 if (ShAmt > 0 && (unsigned)ShAmt < NTy->getBitWidth()) in ConvertScalar_ExtractValue()
862 else if (ShAmt < 0 && (unsigned)-ShAmt < NTy->getBitWidth()) in ConvertScalar_ExtractValue()
868 if (LIBitWidth < NTy->getBitWidth()) in ConvertScalar_ExtractValue()
872 else if (LIBitWidth > NTy->getBitWidth()) in ConvertScalar_ExtractValue()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1538 Type *NTy = IntegerType::get(ICI.getContext(), ExactLogBase2 + 1); in visitICmpInstWithInstAndIntCst() local
1539 Value *Trunc = Builder->CreateTrunc(LHSI->getOperand(0), NTy); in visitICmpInstWithInstAndIntCst()
1543 Trunc, Constant::getNullValue(NTy)); in visitICmpInstWithInstAndIntCst()
1737 Type *NTy = IntegerType::get(ICI.getContext(), TypeBits - Amt); in visitICmpInstWithInstAndIntCst() local
1741 NTy); in visitICmpInstWithInstAndIntCst()
1743 Builder->CreateTrunc(LHSI->getOperand(0), NTy), in visitICmpInstWithInstAndIntCst()