/external/llvm/lib/CodeGen/SelectionDAG/ |
D | FunctionLoweringInfo.cpp | 521 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()
|
D | SelectionDAG.cpp | 2749 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()
|
D | LegalizeDAG.cpp | 657 bitcastToAPInt().zextOrTrunc(32), in OptimizeFloatStore() 667 zextOrTrunc(64), MVT::i64); in OptimizeFloatStore()
|
D | DAGCombiner.cpp | 2914 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/ |
D | ConstantRange.h | 209 ConstantRange zextOrTrunc(uint32_t BitWidth) const;
|
/external/llvm/include/llvm/ADT/ |
D | APSInt.h | 84 return APSInt(zextOrTrunc(width), IsUnsigned); in extOrTrunc()
|
D | APInt.h | 1195 APInt LLVM_ATTRIBUTE_UNUSED_RESULT zextOrTrunc(unsigned width) const;
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 664 return ConstantInt::get(Op0->getType(), Offs1.zextOrTrunc(OpSize) - in SymbolicallyEvaluateBinop() 665 Offs2.zextOrTrunc(OpSize)); in SymbolicallyEvaluateBinop() 795 BasePtr = Base->getValue().zextOrTrunc(BitWidth); in SymbolicallyEvaluateGEP()
|
D | ValueTracking.cpp | 1155 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()
|
D | ScalarEvolution.cpp | 1444 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/ |
D | ExecutionEngine.cpp | 721 GV.IntVal = GV.IntVal.zextOrTrunc(IntWidth); in getConstantValue() 727 GV.IntVal = GV.IntVal.zextOrTrunc(PtrWidth); in getConstantValue()
|
/external/llvm/lib/IR/ |
D | ConstantRange.cpp | 529 ConstantRange ConstantRange::zextOrTrunc(uint32_t DstTySize) const { in zextOrTrunc() function in ConstantRange
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 38 Demanded = Demanded.zextOrTrunc(OpC->getValue().getBitWidth()); in ShrinkDemandedConstant()
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
D | Execution.cpp | 826 exit(GV.IntVal.zextOrTrunc(32).getZExtValue()); in exitCalled() 1482 Src.IntVal = Src.IntVal.zextOrTrunc(PtrSize); in executeIntToPtrInst()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 1805 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()
|
D | AArch64ISelDAGToDAG.cpp | 1624 APInt SignificantBitsToBeInserted = BitsToBeInserted.zextOrTrunc(BitWidth); in isBitfieldDstMask()
|
/external/clang/lib/CodeGen/ |
D | CGExprCXX.cpp | 575 llvm::APInt adjustedCount = count.zextOrTrunc(sizeWidth); in EmitCXXNewAllocSize()
|
D | CGBuiltin.cpp | 3283 uint64_t ZExtValue = Value.zextOrTrunc(IsThumb ? 16 : 32).getZExtValue(); in EmitARMBuiltinExpr()
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 1607 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()
|
D | ASTContext.cpp | 2462 ArySize.zextOrTrunc(Target->getPointerWidth(getTargetAddressSpace(EltTy))); in getConstantArrayType()
|
/external/llvm/lib/Support/ |
D | APInt.cpp | 1015 APInt APInt::zextOrTrunc(unsigned width) const { in zextOrTrunc() function in APInt
|
/external/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 2955 OtherOffset.zextOrTrunc(64).getZExtValue()); in visitMemTransferInst()
|
/external/clang/lib/Sema/ |
D | SemaDeclCXX.cpp | 9889 = ArrayTy->getSize().zextOrTrunc(S.Context.getTypeSize(SizeType)); in buildSingleCopyAssignRecursively()
|
D | SemaDecl.cpp | 13395 EnumVal = EnumVal.zextOrTrunc(Context.getIntWidth(EltTy)); in CheckEnumConstant()
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 5851 Ops.push_back(DAG.getConstant(CInt.zextOrTrunc(32), MVT::i32)); in SkipExtensionForVMULL()
|