Home
last modified time | relevance | path

Searched refs:zextOrTrunc (Results 1 – 21 of 21) 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.cpp2444 return getConstant(Val.zextOrTrunc(VT.getSizeInBits()), VT); in getNode()
6170 SplatValue |= CN->getAPIntValue().zextOrTrunc(EltBitSize). in isConstantSplat()
6171 zextOrTrunc(sz) << BitPos; in isConstantSplat()
6173 SplatValue |= CN->getValueAPF().bitcastToAPInt().zextOrTrunc(sz) <<BitPos; in isConstantSplat()
DDAGCombiner.cpp2504 for (SplatValue = SplatValue.zextOrTrunc(BitWidth); in visitAND()
2511 Constant &= SplatValue.lshr(i*BitWidth).zextOrTrunc(BitWidth); in visitAND()
2525 Constant.zextOrTrunc(Load->getMemoryVT().getScalarType().getSizeInBits()); in visitAND()
5601 zextOrTrunc(SrcBitSize).zext(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()
5631 getAPIntValue().zextOrTrunc(SrcBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()
DLegalizeDAG.cpp656 bitcastToAPInt().zextOrTrunc(32), in OptimizeFloatStore()
666 zextOrTrunc(64), MVT::i64); in OptimizeFloatStore()
/external/llvm/include/llvm/Support/
DConstantRange.h199 ConstantRange zextOrTrunc(uint32_t BitWidth) const;
/external/llvm/include/llvm/ADT/
DAPSInt.h84 return APSInt(zextOrTrunc(width), IsUnsigned); in extOrTrunc()
DAPInt.h1098 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.cpp927 CR.zextOrTrunc(NewBits))) in getZeroExtendExpr()
3369 ConstantRange ExtStartRange = StartRange.zextOrTrunc(BitWidth*2+1); in getUnsignedRange()
3372 MaxBECountRange.zextOrTrunc(BitWidth*2+1); in getUnsignedRange()
3373 ConstantRange ExtEndRange = EndRange.zextOrTrunc(BitWidth*2+1); in getUnsignedRange()
3523 MaxBECountRange.zextOrTrunc(BitWidth*2+1); in getSignedRange()
DConstantFolding.cpp693 BasePtr = Base->getValue().zextOrTrunc(BitWidth); in SymbolicallyEvaluateGEP()
/external/llvm/lib/Support/
DConstantRange.cpp515 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()
1059 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.cpp655 GV.IntVal = GV.IntVal.zextOrTrunc(PtrWidth); in getConstantValue()
/external/clang/lib/AST/
DExprConstant.cpp1253 Res |= EltAsInt.zextOrTrunc(VecSize).rotr(i*EltSize+BaseEltSize); in EvalAndBitcastToAPInt()
1255 Res |= EltAsInt.zextOrTrunc(VecSize).rotl(i*EltSize); in EvalAndBitcastToAPInt()
3654 Elt = SValInt.rotl(i*EltSize+EltSize).zextOrTrunc(EltSize); in VisitCastExpr()
3656 Elt = SValInt.rotr(i*EltSize).zextOrTrunc(EltSize); in VisitCastExpr()
DASTContext.cpp2047 ArySize.zextOrTrunc(Target->getPointerWidth(getTargetAddressSpace(EltTy))); in getConstantArrayType()
/external/clang/lib/CodeGen/
DCGExprCXX.cpp621 llvm::APInt adjustedCount = count.zextOrTrunc(sizeWidth); in EmitCXXNewAllocSize()
/external/clang/lib/Sema/
DSemaDeclCXX.cpp7428 = ArrayTy->getSize().zextOrTrunc(S.Context.getTypeSize(SizeType)); in BuildSingleCopyAssign()
7838 = Array->getSize().zextOrTrunc(Size.getBitWidth()); in DefineImplicitCopyAssignment()
8381 = Array->getSize().zextOrTrunc(Size.getBitWidth()); in DefineImplicitMoveAssignment()
DSemaDecl.cpp10457 EnumVal = EnumVal.zextOrTrunc(Context.getIntWidth(EltTy)); in CheckEnumConstant()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp4868 Ops.push_back(DAG.getConstant(CInt.zextOrTrunc(32), MVT::i32)); in SkipExtension()