Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp256 LOI->KnownZero = LOI->KnownZero.zextOrTrunc(BitWidth); in GetLiveOutRegInfo()
257 LOI->KnownOne = LOI->KnownOne.zextOrTrunc(BitWidth); in GetLiveOutRegInfo()
297 APInt Val = CI->getValue().zextOrTrunc(BitWidth); in ComputePHILiveOutRegInfo()
332 APInt Val = CI->getValue().zextOrTrunc(BitWidth); in ComputePHILiveOutRegInfo()
DSelectionDAG.cpp2390 return getConstant(Val.zextOrTrunc(VT.getSizeInBits()), VT); in getNode()
6082 SplatValue |= CN->getAPIntValue().zextOrTrunc(EltBitSize). in isConstantSplat()
6083 zextOrTrunc(sz) << BitPos; in isConstantSplat()
6085 SplatValue |= CN->getValueAPF().bitcastToAPInt().zextOrTrunc(sz) <<BitPos; in isConstantSplat()
DDAGCombiner.cpp2496 Constant &= SplatValue.lshr(i*BitWidth).zextOrTrunc(BitWidth); in visitAND()
2510 Constant.zextOrTrunc(Load->getMemoryVT().getScalarType().getSizeInBits()); in visitAND()
5546 zextOrTrunc(SrcBitSize).zext(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()
5576 getAPIntValue().zextOrTrunc(SrcBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()
DLegalizeDAG.cpp652 bitcastToAPInt().zextOrTrunc(32), in OptimizeFloatStore()
662 zextOrTrunc(64), MVT::i64); in OptimizeFloatStore()
/external/llvm/include/llvm/Support/
DConstantRange.h195 ConstantRange zextOrTrunc(uint32_t BitWidth) const;
/external/llvm/include/llvm/ADT/
DAPSInt.h84 return APSInt(zextOrTrunc(width), IsUnsigned); in extOrTrunc()
DAPInt.h1068 APInt zextOrTrunc(unsigned width) const;
/external/llvm/lib/Analysis/
DValueTracking.cpp432 KnownZero = KnownZero.zextOrTrunc(SrcBitWidth); in ComputeMaskedBits()
433 KnownOne = KnownOne.zextOrTrunc(SrcBitWidth); in ComputeMaskedBits()
435 KnownZero = KnownZero.zextOrTrunc(BitWidth); in ComputeMaskedBits()
436 KnownOne = KnownOne.zextOrTrunc(BitWidth); in ComputeMaskedBits()
DScalarEvolution.cpp934 CR.zextOrTrunc(NewBits))) in getZeroExtendExpr()
3378 ConstantRange ExtStartRange = StartRange.zextOrTrunc(BitWidth*2+1); in getUnsignedRange()
3381 MaxBECountRange.zextOrTrunc(BitWidth*2+1); in getUnsignedRange()
3382 ConstantRange ExtEndRange = EndRange.zextOrTrunc(BitWidth*2+1); in getUnsignedRange()
3532 MaxBECountRange.zextOrTrunc(BitWidth*2+1); in getSignedRange()
DConstantFolding.cpp673 BasePtr = Base->getValue().zextOrTrunc(BitWidth); in SymbolicallyEvaluateGEP()
/external/llvm/lib/Support/
DConstantRange.cpp461 ConstantRange ConstantRange::zextOrTrunc(uint32_t DstTySize) const { in zextOrTrunc() function in ConstantRange
DAPInt.cpp1002 APInt APInt::zextOrTrunc(unsigned width) const { in zextOrTrunc() function in APInt
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp577 exit(GV.IntVal.zextOrTrunc(32).getZExtValue()); in exitCalled()
1030 Src.IntVal = Src.IntVal.zextOrTrunc(PtrSize); in executeIntToPtrInst()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp37 Demanded = Demanded.zextOrTrunc(OpC->getValue().getBitWidth()); in ShrinkDemandedConstant()
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp654 GV.IntVal = GV.IntVal.zextOrTrunc(PtrWidth); in getConstantValue()
/external/clang/lib/AST/
DExprConstant.cpp1255 Res |= EltAsInt.zextOrTrunc(VecSize).rotr(i*EltSize+BaseEltSize); in EvalAndBitcastToAPInt()
1257 Res |= EltAsInt.zextOrTrunc(VecSize).rotl(i*EltSize); in EvalAndBitcastToAPInt()
3722 Elt = SValInt.rotl(i*EltSize+EltSize).zextOrTrunc(EltSize); in VisitCastExpr()
3724 Elt = SValInt.rotr(i*EltSize).zextOrTrunc(EltSize); in VisitCastExpr()
DASTContext.cpp1690 ArySize.zextOrTrunc(Target->getPointerWidth(getTargetAddressSpace(EltTy))); in getConstantArrayType()
/external/clang/lib/CodeGen/
DCGExprCXX.cpp583 llvm::APInt adjustedCount = count.zextOrTrunc(sizeWidth); in EmitCXXNewAllocSize()
/external/clang/lib/Sema/
DSemaDeclCXX.cpp7514 = ArrayTy->getSize().zextOrTrunc(S.Context.getTypeSize(SizeType)); in BuildSingleCopyAssign()
7910 = Array->getSize().zextOrTrunc(Size.getBitWidth()); in DefineImplicitCopyAssignment()
8449 = Array->getSize().zextOrTrunc(Size.getBitWidth()); in DefineImplicitMoveAssignment()
DSemaDecl.cpp10055 EnumVal = EnumVal.zextOrTrunc(Context.getIntWidth(EltTy)); in CheckEnumConstant()