Home
last modified time | relevance | path

Searched refs:zextOrTrunc (Results 1 – 25 of 25) sorted by relevance

/external/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp521 LOI->KnownZero = LOI->KnownZero.zextOrTrunc(BitWidth); in GetLiveOutRegInfo()
522 LOI->KnownOne = LOI->KnownOne.zextOrTrunc(BitWidth); in GetLiveOutRegInfo()
562 APInt Val = CI->getValue().zextOrTrunc(BitWidth); in ComputePHILiveOutRegInfo()
597 APInt Val = CI->getValue().zextOrTrunc(BitWidth); in ComputePHILiveOutRegInfo()
DSelectionDAG.cpp2749 return getConstant(Val.zextOrTrunc(VT.getSizeInBits()), VT, in getNode()
6825 SplatValue |= CN->getAPIntValue().zextOrTrunc(EltBitSize). in isConstantSplat()
6826 zextOrTrunc(sz) << BitPos; in isConstantSplat()
6828 SplatValue |= CN->getValueAPF().bitcastToAPInt().zextOrTrunc(sz) <<BitPos; in isConstantSplat()
DLegalizeDAG.cpp657 bitcastToAPInt().zextOrTrunc(32), in OptimizeFloatStore()
667 zextOrTrunc(64), MVT::i64); in OptimizeFloatStore()
DDAGCombiner.cpp2914 for (SplatValue = SplatValue.zextOrTrunc(BitWidth); in visitAND()
2924 Constant &= SplatValue.lshr(i*BitWidth).zextOrTrunc(BitWidth); in visitAND()
2940 Constant.zextOrTrunc(Load->getMemoryVT().getScalarType().getSizeInBits()); in visitAND()
7019 zextOrTrunc(SrcBitSize).zext(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()
7046 getAPIntValue().zextOrTrunc(SrcBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()
/external/llvm/include/llvm/IR/
DConstantRange.h209 ConstantRange zextOrTrunc(uint32_t BitWidth) const;
/external/llvm/include/llvm/ADT/
DAPSInt.h84 return APSInt(zextOrTrunc(width), IsUnsigned); in extOrTrunc()
DAPInt.h1195 APInt LLVM_ATTRIBUTE_UNUSED_RESULT zextOrTrunc(unsigned width) const;
/external/llvm/lib/Analysis/
DConstantFolding.cpp664 return ConstantInt::get(Op0->getType(), Offs1.zextOrTrunc(OpSize) - in SymbolicallyEvaluateBinop()
665 Offs2.zextOrTrunc(OpSize)); in SymbolicallyEvaluateBinop()
795 BasePtr = Base->getValue().zextOrTrunc(BitWidth); in SymbolicallyEvaluateGEP()
DValueTracking.cpp1155 KnownZero = KnownZero.zextOrTrunc(SrcBitWidth); in computeKnownBits()
1156 KnownOne = KnownOne.zextOrTrunc(SrcBitWidth); in computeKnownBits()
1158 KnownZero = KnownZero.zextOrTrunc(BitWidth); in computeKnownBits()
1159 KnownOne = KnownOne.zextOrTrunc(BitWidth); in computeKnownBits()
DScalarEvolution.cpp1444 CR.zextOrTrunc(NewBits))) in getZeroExtendExpr()
3976 MaxBECountRange.zextOrTrunc(BitWidth * 2 + 1); in getRange()
3989 StartURange.zextOrTrunc(BitWidth * 2 + 1); in getRange()
3990 ConstantRange ZExtEndURange = EndURange.zextOrTrunc(BitWidth * 2 + 1); in getRange()
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp721 GV.IntVal = GV.IntVal.zextOrTrunc(IntWidth); in getConstantValue()
727 GV.IntVal = GV.IntVal.zextOrTrunc(PtrWidth); in getConstantValue()
/external/llvm/lib/IR/
DConstantRange.cpp529 ConstantRange ConstantRange::zextOrTrunc(uint32_t DstTySize) const { in zextOrTrunc() function in ConstantRange
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp38 Demanded = Demanded.zextOrTrunc(OpC->getValue().getBitWidth()); in ShrinkDemandedConstant()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp826 exit(GV.IntVal.zextOrTrunc(32).getZExtValue()); in exitCalled()
1482 Src.IntVal = Src.IntVal.zextOrTrunc(PtrSize); in executeIntToPtrInst()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp1805 Ops.push_back(DAG.getConstant(CInt.zextOrTrunc(32), MVT::i32)); in skipExtensionForVectorMULL()
5343 CnstBits |= SplatBits.zextOrTrunc(VT.getSizeInBits()); in resolveBuildVector()
5344 UndefBits |= (SplatBits ^ SplatUndef).zextOrTrunc(VT.getSizeInBits()); in resolveBuildVector()
5376 CnstBits = CnstBits.zextOrTrunc(64); in LowerVectorAND()
5576 CnstBits = CnstBits.zextOrTrunc(64); in LowerVectorOR()
5687 CnstBits = CnstBits.zextOrTrunc(64); in LowerBUILD_VECTOR()
DAArch64ISelDAGToDAG.cpp1624 APInt SignificantBitsToBeInserted = BitsToBeInserted.zextOrTrunc(BitWidth); in isBitfieldDstMask()
/external/clang/lib/CodeGen/
DCGExprCXX.cpp575 llvm::APInt adjustedCount = count.zextOrTrunc(sizeWidth); in EmitCXXNewAllocSize()
DCGBuiltin.cpp3283 uint64_t ZExtValue = Value.zextOrTrunc(IsThumb ? 16 : 32).getZExtValue(); in EmitARMBuiltinExpr()
/external/clang/lib/AST/
DExprConstant.cpp1607 Res |= EltAsInt.zextOrTrunc(VecSize).rotr(i*EltSize+BaseEltSize); in EvalAndBitcastToAPInt()
1609 Res |= EltAsInt.zextOrTrunc(VecSize).rotl(i*EltSize); in EvalAndBitcastToAPInt()
5587 Elt = SValInt.rotl(i*EltSize+EltSize).zextOrTrunc(EltSize); in VisitCastExpr()
5589 Elt = SValInt.rotr(i*EltSize).zextOrTrunc(EltSize); in VisitCastExpr()
DASTContext.cpp2462 ArySize.zextOrTrunc(Target->getPointerWidth(getTargetAddressSpace(EltTy))); in getConstantArrayType()
/external/llvm/lib/Support/
DAPInt.cpp1015 APInt APInt::zextOrTrunc(unsigned width) const { in zextOrTrunc() function in APInt
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp2955 OtherOffset.zextOrTrunc(64).getZExtValue()); in visitMemTransferInst()
/external/clang/lib/Sema/
DSemaDeclCXX.cpp9889 = ArrayTy->getSize().zextOrTrunc(S.Context.getTypeSize(SizeType)); in buildSingleCopyAssignRecursively()
DSemaDecl.cpp13395 EnumVal = EnumVal.zextOrTrunc(Context.getIntWidth(EltTy)); in CheckEnumConstant()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp5851 Ops.push_back(DAG.getConstant(CInt.zextOrTrunc(32), MVT::i32)); in SkipExtensionForVMULL()