Searched refs:NTy (Results 1 – 4 of 4) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | ScalarReplAggregates.cpp | 732 IntegerType *NTy = cast<IntegerType>(FromVal->getType()); in ConvertScalar_ExtractValue() local 741 ShAmt = TD.getTypeStoreSizeInBits(NTy) - in ConvertScalar_ExtractValue() 750 if (ShAmt > 0 && (unsigned)ShAmt < NTy->getBitWidth()) in ConvertScalar_ExtractValue() 753 else if (ShAmt < 0 && (unsigned)-ShAmt < NTy->getBitWidth()) in ConvertScalar_ExtractValue() 759 if (LIBitWidth < NTy->getBitWidth()) in ConvertScalar_ExtractValue() 763 else if (LIBitWidth > NTy->getBitWidth()) in ConvertScalar_ExtractValue()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonISelLoweringHVX.cpp | 997 EVT NTy = getTypeToTransformTo(*DAG.getContext(), Ty); in LowerHvxConcatVectors() local 999 Elems[i] = DAG.getNode(ISD::SIGN_EXTEND_INREG, dl, NTy, in LowerHvxConcatVectors() 1000 DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, NTy, in LowerHvxConcatVectors() 1007 Elems[i] = DAG.getSExtOrTrunc(V, dl, NTy); in LowerHvxConcatVectors() 1009 Elems[i] = DAG.getUNDEF(NTy); in LowerHvxConcatVectors()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 1863 Type *NTy = IntegerType::get(ICI.getContext(), ExactLogBase2 + 1); in visitICmpInstWithInstAndIntCst() local 1864 Value *Trunc = Builder->CreateTrunc(LHSI->getOperand(0), NTy); in visitICmpInstWithInstAndIntCst() 1868 Trunc, Constant::getNullValue(NTy)); in visitICmpInstWithInstAndIntCst() 2062 Type *NTy = IntegerType::get(ICI.getContext(), TypeBits - Amt); in visitICmpInstWithInstAndIntCst() local 2066 NTy); in visitICmpInstWithInstAndIntCst() 2068 Builder->CreateTrunc(LHSI->getOperand(0), NTy), in visitICmpInstWithInstAndIntCst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 1717 Type *NTy = IntegerType::get(Cmp.getContext(), ExactLogBase2 + 1); in foldICmpAndConstant() local 1719 NTy = VectorType::get(NTy, And->getType()->getVectorNumElements()); in foldICmpAndConstant() 1720 Value *Trunc = Builder.CreateTrunc(X, NTy); in foldICmpAndConstant() 1723 return new ICmpInst(NewPred, Trunc, Constant::getNullValue(NTy)); in foldICmpAndConstant()
|