HomeSort by relevance Sort by last modified time
    Searched full:apint (Results 51 - 75 of 293) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/llvm/lib/Support/
CMakeLists.txt 32 APInt.cpp
Android.mk 8 APInt.cpp \
  /external/llvm/lib/Target/XCore/
XCoreSelectionDAGInfo.cpp 35 DAG.MaskedValueIsZero(Size, APInt(SizeBitWidth, 3))) {
XCoreISelLowering.cpp 420 APInt KnownZero, KnownOne;
685 APInt HighMask = APInt::getHighBitsSet(64, 32);
    [all...]
  /external/llvm/lib/Transforms/Scalar/
Float2Int.cpp 16 #include "llvm/ADT/APInt.h"
201 APInt Min = APInt::getMinValue(BW).zextOrSelf(MaxIntegerBW+1);
202 APInt Max = APInt::getMaxValue(BW).zextOrSelf(MaxIntegerBW+1);
210 APInt SMin = APInt::getSignedMinValue(BW).sextOrSelf(MaxIntegerBW+1);
211 APInt SMax = APInt::getSignedMaxValue(BW).sextOrSelf(MaxIntegerBW+1);
Reassociate.cpp 131 const APInt &getConstPart() const { return ConstPart; }
153 APInt ConstPart;
186 bool CombineXorOpnd(Instruction *I, XorOpnd *Opnd1, APInt &ConstOpnd,
189 APInt &ConstOpnd, Value *&Res);
225 ConstPart = APInt::getNullValue(V->getType()->getIntegerBitWidth());
418 static void IncorporateWeight(APInt &LHS, const APInt &RHS, unsigned Opcode) {
421 // and the APInt sum LHS + RHS may not be correct if it wraps (it is correct
469 APInt CM = APInt::getOneBitSet(Bitwidth, CarmichaelShift(Bitwidth))
    [all...]
StraightLineStrengthReduce.cpp 395 APInt One(Idx->getBitWidth(), 1);
480 APInt One(RHS->getBitWidth(), 1);
522 static void unifyBitWidth(APInt &A, APInt &B) {
534 APInt Idx = C.Index->getValue(), BasisIdx = Basis.Index->getValue();
536 APInt IndexOffset = Idx - BasisIdx;
540 APInt ElementSize(
544 APInt Q, R;
545 APInt::sdivrem(IndexOffset, ElementSize, Q, R);
  /external/llvm/unittests/ExecutionEngine/MCJIT/
MCJITTestBase.h 88 Value *ReturnVal = ConstantInt::get(Context, APInt(32, returnCode));
142 Constant *IV = ConstantInt::get(Context, APInt(32, InitialValue));
174 Value *Zero = ConstantInt::get(Context, APInt(32, 0));
185 Value *One = ConstantInt::get(Context, APInt(32, 1));
  /external/llvm/lib/Analysis/
ConstantFolding.cpp 87 APInt Result(IT->getBitWidth(), 0);
237 APInt &Offset, const DataLayout &DL) {
241 Offset = APInt(BitWidth, 0);
261 APInt TmpOffset(BitWidth, 0);
440 APInt Offset;
464 APInt ResultVal = APInt(IntType->getBitWidth(), 0);
565 APInt StrVal(NumBits, 0);
566 APInt SingleChar(NumBits, 0);
631 APInt KnownZero0(BitWidth, 0), KnownOne0(BitWidth, 0)
    [all...]
ScalarEvolution.cpp 327 const SCEV *ScalarEvolution::getConstant(const APInt &Val) {
545 const APInt &LA = LC->getValue()->getValue();
546 const APInt &RA = RC->getValue()->getValue();
767 APInt NumeratorVal = Numerator->getValue()->getValue();
768 APInt DenominatorVal = D->getValue()->getValue();
777 APInt QuotientVal(NumeratorVal.getBitWidth(), 0);
778 APInt RemainderVal(NumeratorVal.getBitWidth(), 0);
779 APInt::sdivrem(NumeratorVal, DenominatorVal, QuotientVal, RemainderVal);
    [all...]
ScalarEvolutionAliasAnalysis.cpp 130 APInt ASizeInt(BitWidth, LocA.Size);
131 APInt BSizeInt(BitWidth, LocB.Size);
  /external/llvm/lib/CodeGen/SelectionDAG/
SelectionDAG.cpp     [all...]
DAGCombiner.cpp 181 APInt Demanded = APInt::getAllOnesValue(BitWidth);
185 bool SimplifyDemandedBits(SDValue Op, const APInt &Demanded);
356 SDValue GetDemandedBits(SDValue V, const APInt &Mask);
695 static bool isConstantSplatVector(SDNode *N, APInt& SplatValue) {
700 APInt SplatUndef;
    [all...]
  /external/llvm/lib/Target/Sparc/
SparcISelLowering.h 64 APInt &KnownZero,
65 APInt &KnownOne,
  /external/mesa3d/src/gallium/drivers/radeon/
AMDGPUISelLowering.h 68 APInt &KnownZero,
69 APInt &KnownOne,
  /external/llvm/lib/Transforms/InstCombine/
InstCombineAndOrXor.cpp 205 const APInt &AndRHSV = AndRHS->getValue();
212 const APInt& AddRHS = OpRHS->getValue();
240 APInt ShlMask(APInt::getHighBitsSet(BitWidth, BitWidth-OpRHSVal));
260 APInt ShrMask(APInt::getLowBitsSet(BitWidth, BitWidth - OpRHSVal));
280 APInt ShrMask(APInt::getLowBitsSet(BitWidth, BitWidth - OpRHSVal));
348 const APInt& V = Val->getValue();
394 APInt Mask(APInt::getLowBitsSet(BitWidth, MB-1))
    [all...]
  /external/llvm/include/llvm/IR/
PatternMatch.h 161 const APInt *&Res;
162 apint_match(const APInt *&R) : Res(R) {}
179 /// specified pointer to the contained APInt.
180 inline apint_match m_APInt(const APInt *&Res) { return Res; }
185 const APInt &CIV = CI->getValue();
217 /// satisfy a specified predicate, and bind them to an APInt.
219 const APInt *&Res;
220 api_pred_ty(const APInt *&R) : Res(R) {}
240 bool isValue(const APInt &C) { return C == 1; }
245 inline api_pred_ty<is_one> m_One(const APInt *&V) { return V;
    [all...]
MDBuilder.h 24 class APInt;
68 MDNode *createRange(const APInt &Lo, const APInt &Hi);
  /external/llvm/lib/ExecutionEngine/Interpreter/
ExternalFunctions.cpp 229 case 8: Result.IntVal = APInt(8 , *(int8_t *) ret.data()); break;
230 case 16: Result.IntVal = APInt(16, *(int16_t*) ret.data()); break;
231 case 32: Result.IntVal = APInt(32, *(int32_t*) ret.data()); break;
232 case 64: Result.IntVal = APInt(64, *(int64_t*) ret.data()); break;
341 GV.IntVal = APInt(32, strlen(FmtStr));
437 GV.IntVal = APInt(32, sscanf(Args[0], Args[1], Args[2], Args[3], Args[4],
453 GV.IntVal = APInt(32, scanf( Args[0], Args[1], Args[2], Args[3], Args[4],
  /external/llvm/include/llvm/Analysis/
TargetTransformInfo.h 361 unsigned getIntImmCost(const APInt &Imm, Type *Ty) const;
366 unsigned getIntImmCost(unsigned Opc, unsigned Idx, const APInt &Imm,
368 unsigned getIntImmCost(Intrinsic::ID IID, unsigned Idx, const APInt &Imm,
558 virtual unsigned getIntImmCost(const APInt &Imm, Type *Ty) = 0;
559 virtual unsigned getIntImmCost(unsigned Opc, unsigned Idx, const APInt &Imm,
562 const APInt &Imm, Type *Ty) = 0;
689 unsigned getIntImmCost(const APInt &Imm, Type *Ty) override {
692 unsigned getIntImmCost(unsigned Opc, unsigned Idx, const APInt &Imm,
696 unsigned getIntImmCost(Intrinsic::ID IID, unsigned Idx, const APInt &Imm,
    [all...]
  /external/llvm/lib/IR/
LLVMContextImpl.h 21 #include "llvm/ADT/APInt.h"
50 static inline APInt getEmptyKey() {
51 APInt V(nullptr, 0);
55 static inline APInt getTombstoneKey() {
56 APInt V(nullptr, 0);
60 static unsigned getHashValue(const APInt &Key) {
63 static bool isEqual(const APInt &LHS, const APInt &RHS) {
871 typedef DenseMap<APInt, ConstantInt *, DenseMapAPIntKeyInfo> IntMapTy;
    [all...]
  /external/clang/include/clang/Lex/
LiteralSupport.h 91 /// GetIntegerValue - Convert this numeric literal value to an APInt that
93 /// value read is larger than the APInt's bits will hold), set Val to the low
95 bool GetIntegerValue(llvm::APInt &Val);
  /external/llvm/lib/Target/SystemZ/
SystemZTargetTransformInfo.cpp 34 unsigned SystemZTTIImpl::getIntImmCost(const APInt &Imm, Type *Ty) {
67 const APInt &Imm, Type *Ty) {
185 const APInt &Imm, Type *Ty) {
  /external/llvm/lib/Target/AArch64/
AArch64ISelLowering.h 232 void computeKnownBitsForTargetNode(const SDValue Op, APInt &KnownZero,
233 APInt &KnownOne, const SelectionDAG &DAG,
339 bool shouldConvertConstantLoadToIntImm(const APInt &Imm,
459 SDValue BuildSDIVPow2(SDNode *N, const APInt &Divisor, SelectionDAG &DAG,
  /external/llvm/lib/Target/BPF/
BPFISelLowering.h 83 bool shouldConvertConstantLoadToIntImm(const APInt &Imm,

Completed in 2351 milliseconds

1 23 4 5 6 7 8 91011>>