| /freebsd-12.1/contrib/llvm/include/llvm/Support/ |
| H A D | KnownBits.h | 131 KnownBits zextOrTrunc(unsigned BitWidth) { in zextOrTrunc() function 132 return KnownBits(Zero.zextOrTrunc(BitWidth), One.zextOrTrunc(BitWidth)); in zextOrTrunc()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Utility/ |
| H A D | Scalar.cpp | 479 m_integer = m_integer.zextOrTrunc(sizeof(slong_t) * 8); in Promote() 484 m_integer = m_integer.zextOrTrunc(sizeof(ulong_t) * 8); in Promote() 489 m_integer = m_integer.zextOrTrunc(sizeof(slonglong_t) * 8); in Promote() 500 m_integer = m_integer.zextOrTrunc(BITWIDTH_INT128); in Promote() 506 m_integer = m_integer.zextOrTrunc(BITWIDTH_INT256); in Promote() 616 m_integer = m_integer.zextOrTrunc(BITWIDTH_INT128); in Promote() 622 m_integer = m_integer.zextOrTrunc(BITWIDTH_INT256); in Promote() 716 m_integer = m_integer.zextOrTrunc(BITWIDTH_INT128); in Promote() 722 m_integer = m_integer.zextOrTrunc(BITWIDTH_INT256); in Promote() 814 m_integer = m_integer.zextOrTrunc(BITWIDTH_INT256); in Promote() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | FunctionLoweringInfo.cpp | 403 LOI->Known = LOI->Known.zextOrTrunc(BitWidth); in GetLiveOutRegInfo() 441 APInt Val = CI->getValue().zextOrTrunc(BitWidth); in ComputePHILiveOutRegInfo() 474 APInt Val = CI->getValue().zextOrTrunc(BitWidth); in ComputePHILiveOutRegInfo()
|
| H A D | SelectionDAG.cpp | 1195 APInt NewVal = Elt->getValue().zextOrTrunc(EltVT.getSizeInBits()); in getConstant() 1221 .zextOrTrunc(ViaEltSizeInBits), DL, in getConstant() 3063 Known.One &= Known2.One.zextOrTrunc(Known.One.getBitWidth()); in computeKnownBits() 3064 Known.Zero &= Known2.Zero.zextOrTrunc(Known.Zero.getBitWidth()); in computeKnownBits() 3079 Known.One &= Known2.One.zextOrTrunc(Known.One.getBitWidth()); in computeKnownBits() 3080 Known.Zero &= Known2.Zero.zextOrTrunc(Known.Zero.getBitWidth()); in computeKnownBits() 3240 return Const->getAPIntValue().zextOrTrunc(BitWidth).isPowerOf2(); in isKnownToBeAPowerOfTwo() 3262 return C->getAPIntValue().zextOrTrunc(BitWidth).isPowerOf2(); in isKnownToBeAPowerOfTwo() 4105 return getConstant(Val.zextOrTrunc(VT.getSizeInBits()), DL, VT, in getNode() 9127 SplatValue.insertBits(CN->getAPIntValue().zextOrTrunc(EltWidth), BitPos); in isConstantSplat()
|
| H A D | DAGCombiner.cpp | 4654 for (SplatValue = SplatValue.zextOrTrunc(BitWidth); in visitAND() 4664 Constant &= SplatValue.lshr(i*BitWidth).zextOrTrunc(BitWidth); in visitAND() 5446 if (OppLHSAmt != ExtractFromAmt - NeededShiftAmt.zextOrTrunc( in extractShiftForRotate() 8193 APInt C = cast<ConstantSDNode>(Op)->getAPIntValue().zextOrTrunc(EVTBits); in tryToFoldExtendOfConstant() 10396 zextOrTrunc(SrcBitSize).zext(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR() 10423 getAPIntValue().zextOrTrunc(SrcBitSize); in ConstantFoldBITCASTofBUILD_VECTOR() 14226 .zextOrTrunc(ElementSizeBits), in MergeStoresOfConstantsOrVecElts() 14290 .zextOrTrunc(ElementSizeBits) in MergeStoresOfConstantsOrVecElts() 14291 .zextOrTrunc(SizeInBits); in MergeStoresOfConstantsOrVecElts() 14295 .zextOrTrunc(ElementSizeBits) in MergeStoresOfConstantsOrVecElts() [all …]
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | ConstantRange.h | 253 ConstantRange zextOrTrunc(uint32_t BitWidth) const;
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCalls.cpp | 360 Count |= SubElt->getValue().zextOrTrunc(64); in simplifyX86immShift() 835 APInt APIndex = CIIndex->getValue().zextOrTrunc(6); in simplifyX86extrq() 887 Elt = Elt.zextOrTrunc(Length); in simplifyX86extrq() 914 APIndex = APIndex.zextOrTrunc(6); in simplifyX86insertq() 915 APLength = APLength.zextOrTrunc(6); in simplifyX86insertq() 979 V10 = V10.zextOrTrunc(Length).zextOrTrunc(64).shl(Index); in simplifyX86insertq() 1079 Index = Index.zextOrTrunc(32).getLoBits(2); in simplifyX86vpermilvar() 3004 APInt Len = V11.zextOrTrunc(6); in visitCallInst() 3005 APInt Idx = V11.lshr(8).zextOrTrunc(6); in visitCallInst() 3037 APInt Len = CILength->getValue().zextOrTrunc(6); in visitCallInst() [all …]
|
| H A D | InstCombineSimplifyDemanded.cpp | 365 APInt InputDemandedMask = DemandedMask.zextOrTrunc(SrcBitWidth); in SimplifyDemandedUseBits() 369 Known = InputKnown.zextOrTrunc(BitWidth); in SimplifyDemandedUseBits() 737 APInt DemandedElts = DemandedMask.zextOrTrunc(ArgWidth); in SimplifyDemandedUseBits() 1415 APInt SubUndef = UndefElts2.lshr(OutIdx * Ratio).zextOrTrunc(Ratio); in SimplifyDemandedVectorElts()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | StackSafetyAnalysis.cpp | 241 ConstantRange Offset = SE.getUnsignedRange(Expr).zextOrTrunc(PointerSize); in offsetFromAlloca() 256 SE.getUnsignedRange(Expr).zextOrTrunc(PointerSize); in getAccessRange()
|
| H A D | ConstantFolding.cpp | 736 return ConstantInt::get(Op0->getType(), Offs1.zextOrTrunc(OpSize) - in SymbolicallyEvaluateBinop() 737 Offs2.zextOrTrunc(OpSize)); in SymbolicallyEvaluateBinop() 885 BasePtr = Base->getValue().zextOrTrunc(BitWidth); in SymbolicallyEvaluateGEP()
|
| H A D | MemoryBuiltins.cpp | 548 I = I.zextOrTrunc(IntTyBits); in CheckedZextOrTrunc()
|
| H A D | ValueTracking.cpp | 917 uint64_t ShiftAmtKZ = Known.Zero.zextOrTrunc(64).getZExtValue(); in computeKnownBitsFromShiftOperator() 918 uint64_t ShiftAmtKO = Known.One.zextOrTrunc(64).getZExtValue(); in computeKnownBitsFromShiftOperator() 1132 Known = Known.zextOrTrunc(SrcBitWidth); in computeKnownBitsFromOperator() 1134 Known = Known.zextOrTrunc(BitWidth); in computeKnownBitsFromOperator()
|
| H A D | BasicAliasAnalysis.cpp | 1960 MinDiff.zextOrTrunc(Var0.Scale.getBitWidth()) * Var0.Scale.abs(); in constantOffsetHeuristic()
|
| /freebsd-12.1/contrib/llvm/include/llvm/ADT/ |
| H A D | APSInt.h | 94 return APSInt(zextOrTrunc(width), IsUnsigned); in extOrTrunc()
|
| H A D | APInt.h | 1371 APInt zextOrTrunc(unsigned width) const;
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 742 GV.IntVal = GV.IntVal.zextOrTrunc(IntWidth); in getConstantValue() 748 GV.IntVal = GV.IntVal.zextOrTrunc(PtrWidth); in getConstantValue()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | ConstantRange.cpp | 705 ConstantRange ConstantRange::zextOrTrunc(uint32_t DstTySize) const { in zextOrTrunc() function in ConstantRange
|
| /freebsd-12.1/contrib/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.cpp | 2585 Ops.push_back(DAG.getConstant(CInt.zextOrTrunc(32), dl, MVT::i32)); in skipExtensionForVectorMULL() 6747 CnstBits |= SplatBits.zextOrTrunc(VT.getSizeInBits()); in resolveBuildVector() 6748 UndefBits |= (SplatBits ^ SplatUndef).zextOrTrunc(VT.getSizeInBits()); in resolveBuildVector() 6761 uint64_t Value = Bits.zextOrTrunc(64).getZExtValue(); in tryAdvSIMDModImm64() 6783 uint64_t Value = Bits.zextOrTrunc(64).getZExtValue(); in tryAdvSIMDModImm32() 6831 uint64_t Value = Bits.zextOrTrunc(64).getZExtValue(); in tryAdvSIMDModImm16() 6870 uint64_t Value = Bits.zextOrTrunc(64).getZExtValue(); in tryAdvSIMDModImm321s() 6901 uint64_t Value = Bits.zextOrTrunc(64).getZExtValue(); in tryAdvSIMDModImm8() 6922 uint64_t Value = Bits.zextOrTrunc(64).getZExtValue(); in tryAdvSIMDModImmFP() 7221 Const->getAPIntValue().zextOrTrunc(BitSize).getZExtValue()); in LowerBUILD_VECTOR()
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Execution.cpp | 826 exit(GV.IntVal.zextOrTrunc(32).getZExtValue()); in exitCalled() 1481 Src.IntVal = Src.IntVal.zextOrTrunc(PtrSize); in executeIntToPtrInst()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Expression/ |
| H A D | IRInterpreter.cpp | 351 resolved_value.zextOrTrunc(llvm::NextPowerOf2(constant_size) * 8)); in ResolveConstant()
|
| /freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyISelLowering.cpp | 1225 APInt Shift = SplatConst->getAPIntValue().zextOrTrunc(32); in LowerShift()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | IRForTarget.cpp | 1255 lldb_private::Scalar scalar = int_initializer->getValue().zextOrTrunc( in MaterializeInitializer()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGExpr.cpp | 3579 ConstLength = ConstLength.zextOrTrunc(PointerWidthInBits); in EmitOMPArraySectionExpr() 3585 ConstLowerBound = ConstLowerBound.zextOrTrunc(PointerWidthInBits); in EmitOMPArraySectionExpr() 3637 ConstLength = ConstLength.zextOrTrunc(PointerWidthInBits); in EmitOMPArraySectionExpr()
|
| H A D | CGExprCXX.cpp | 757 llvm::APInt adjustedCount = count.zextOrTrunc(sizeWidth); in EmitCXXNewAllocSize()
|
| /freebsd-12.1/contrib/llvm/lib/Target/Sparc/ |
| H A D | SparcISelLowering.cpp | 3066 SDValue Lo = DAG.getConstant(V.zextOrTrunc(32), DL, MVT::i32); in bitcastConstantFPToInt() 3067 SDValue Hi = DAG.getConstant(V.lshr(32).zextOrTrunc(32), DL, MVT::i32); in bitcastConstantFPToInt()
|