HomeSort by: relevance | last modified time | path
    Searched refs:IsSigned (Results 1 - 25 of 104) sorted by relevancy

1 2 3 4 5

  /src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
APFixedPoint.h 35 FixedPointSemantics(unsigned Width, unsigned Scale, bool IsSigned,
37 : Width(Width), Scale(Scale), IsSigned(IsSigned),
40 assert(!(IsSigned && HasUnsignedPadding) &&
46 bool isSigned() const { return IsSigned; }
56 if (IsSigned || (!IsSigned && HasUnsignedPadding))
80 bool IsSigned) {
81 return FixedPointSemantics(Width, /*Scale=*/0, IsSigned,
    [all...]
APFloat.h 668 unsigned int Width, bool IsSigned, roundingMode RM,
670 opStatus convertFromAPInt(const APInt &Input, bool IsSigned, roundingMode RM);
672 unsigned int InputSize, bool IsSigned,
675 unsigned int InputSize, bool IsSigned,
1108 unsigned int Width, bool IsSigned, roundingMode RM,
1111 convertToInteger(Input, Width, IsSigned, RM, IsExact));
1115 opStatus convertFromAPInt(const APInt &Input, bool IsSigned,
1117 APFLOAT_DISPATCH_ON_SEMANTICS(convertFromAPInt(Input, IsSigned, RM));
1120 unsigned int InputSize, bool IsSigned,
1123 convertFromSignExtendedInteger(Input, InputSize, IsSigned, RM))
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Basic/Targets/
AVR.h 156 IntType getIntTypeByWidth(unsigned BitWidth, bool IsSigned) const final {
158 return BitWidth == 16 ? (IsSigned ? SignedInt : UnsignedInt)
159 : TargetInfo::getIntTypeByWidth(BitWidth, IsSigned);
162 IntType getLeastIntTypeByWidth(unsigned BitWidth, bool IsSigned) const final {
165 ? (IsSigned ? SignedInt : UnsignedInt)
166 : TargetInfo::getLeastIntTypeByWidth(BitWidth, IsSigned);
WebAssembly.h 114 IntType getIntTypeByWidth(unsigned BitWidth, bool IsSigned) const final {
116 return BitWidth == 64 ? (IsSigned ? SignedLongLong : UnsignedLongLong)
117 : TargetInfo::getIntTypeByWidth(BitWidth, IsSigned);
120 IntType getLeastIntTypeByWidth(unsigned BitWidth, bool IsSigned) const final {
123 ? (IsSigned ? SignedLongLong : UnsignedLongLong)
124 : TargetInfo::getLeastIntTypeByWidth(BitWidth, IsSigned);
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGRecordLayout.h 74 unsigned IsSigned : 1;
96 : Offset(), Size(), IsSigned(), StorageSize(), StorageOffset(),
99 CGBitFieldInfo(unsigned Offset, unsigned Size, bool IsSigned,
101 : Offset(Offset), Size(Size), IsSigned(IsSigned),
  /src/external/apache2/llvm/dist/clang/lib/Basic/
TargetInfo.cpp 250 unsigned BitWidth, bool IsSigned) const {
252 return IsSigned ? SignedChar : UnsignedChar;
254 return IsSigned ? SignedShort : UnsignedShort;
256 return IsSigned ? SignedInt : UnsignedInt;
258 return IsSigned ? SignedLong : UnsignedLong;
260 return IsSigned ? SignedLongLong : UnsignedLongLong;
265 bool IsSigned) const {
267 return IsSigned ? SignedChar : UnsignedChar;
269 return IsSigned ? SignedShort : UnsignedShort;
271 return IsSigned ? SignedInt : UnsignedInt
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
SimplifyIndVar.h 72 bool IsSigned = false;
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
AMDGPUCodeGenPrepare.cpp 94 bool isSigned(const BinaryOperator &I) const;
98 bool isSigned(const SelectInst &I) const;
173 bool IsDiv, bool IsSigned) const;
177 bool IsDiv, bool IsSigned) const;
246 bool AMDGPUCodeGenPrepare::isSigned(const BinaryOperator &I) const {
251 bool AMDGPUCodeGenPrepare::isSigned(const SelectInst &I) const {
253 cast<ICmpInst>(I.getOperand(0))->isSigned() : false;
332 if (isSigned(I)) {
372 if (I.isSigned()) {
400 if (isSigned(I))
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm-c/
ExecutionEngine.h 55 LLVMBool IsSigned);
64 LLVMBool IsSigned);
  /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
IVDescriptors.h 75 ExactFPMathInst(ExactFP), RecurrenceType(RT), IsSigned(Signed),
231 bool isSigned() const { return IsSigned; }
257 bool IsSigned = false;
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineInternal.h 220 bool OptimizeOverflowCheck(Instruction::BinaryOps BinaryOp, bool IsSigned,
266 const Instruction &CxtI, bool IsSigned) const {
267 return IsSigned ? willNotOverflowSignedAdd(LHS, RHS, CxtI)
284 const Instruction &CxtI, bool IsSigned) const {
285 return IsSigned ? willNotOverflowSignedSub(LHS, RHS, CxtI)
302 const Instruction &CxtI, bool IsSigned) const {
303 return IsSigned ? willNotOverflowSignedMul(LHS, RHS, CxtI)
309 bool IsSigned) const {
311 case Instruction::Add: return willNotOverflowAdd(LHS, RHS, CxtI, IsSigned);
312 case Instruction::Sub: return willNotOverflowSub(LHS, RHS, CxtI, IsSigned);
    [all...]
InstCombineMulDivRem.cpp 691 bool IsSigned) {
693 Product = IsSigned ? C1.smul_ov(C2, Overflow) : C1.umul_ov(C2, Overflow);
699 bool IsSigned) {
707 if (IsSigned && C1.isMinSignedValue() && C2.isAllOnesValue())
710 APInt Remainder(C1.getBitWidth(), /*val=*/0ULL, IsSigned);
711 if (IsSigned)
725 bool IsSigned = I.getOpcode() == Instruction::SDiv;
743 if ((IsSigned && match(Op0, m_SDiv(m_Value(X), m_APInt(C1)))) ||
744 (!IsSigned && match(Op0, m_UDiv(m_Value(X), m_APInt(C1))))) {
745 APInt Product(C1->getBitWidth(), /*val=*/0ULL, IsSigned);
    [all...]
InstCombineAddSub.cpp 1017 // the remainder operation in IsSigned. Returns true if such a match is
1019 static bool MatchRem(Value *E, Value *&Op, APInt &C, bool &IsSigned) {
1021 IsSigned = false;
1023 IsSigned = true;
1039 // by IsSigned, where C is a constant. Returns the constant value in C and the
1041 static bool MatchDiv(Value *E, Value *&Op, APInt &C, bool IsSigned) {
1043 if (IsSigned && match(E, m_SDiv(m_Value(Op), m_APInt(AI)))) {
1047 if (!IsSigned) {
1062 static bool MulWillOverflow(APInt &C0, APInt &C1, bool IsSigned) {
1064 if (IsSigned)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Frontend/
InitPreprocessor.cpp 165 /// signedness of 'isSigned' and with a value suffix of 'ValSuffix' (e.g. LL).
167 StringRef ValSuffix, bool isSigned,
169 llvm::APInt MaxVal = isSigned ? llvm::APInt::getSignedMaxValue(TypeWidth)
171 Builder.defineMacro(MacroName, MaxVal.toString(10, isSigned) + ValSuffix);
184 bool IsSigned = TI.isTypeSigned(Ty);
186 for (const char *Fmt = IsSigned ? "di" : "ouxX"; *Fmt; ++Fmt) {
212 bool IsSigned = TI.isTypeSigned(Ty);
217 Ty = IsSigned ? TI.getInt64Type() : TI.getUInt64Type();
222 Ty = IsSigned ? TI.getInt16Type() : TI.getUInt16Type();
224 const char *Prefix = IsSigned ? "__INT" : "__UINT"
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
PPCFastISel.cpp 132 bool SelectIToFP(const Instruction *I, bool IsSigned);
133 bool SelectFPToI(const Instruction *I, bool IsSigned);
179 unsigned SrcReg, bool IsSigned);
180 unsigned PPCMoveToFPReg(MVT VT, unsigned SrcReg, bool IsSigned);
1017 bool IsSigned) {
1022 if (!PPCEmitIntExt(MVT::i32, SrcReg, MVT::i64, TmpReg, !IsSigned))
1041 if (!IsSigned) {
1052 if (!PPCEmitLoad(MVT::f64, ResultReg, Addr, RC, !IsSigned, LoadOpc))
1061 bool PPCFastISel::SelectIToFP(const Instruction *I, bool IsSigned) {
1089 Opc = IsSigned ? PPC::EFSCFSI : PPC::EFSCFUI
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/
ExecutionEngineBindings.cpp 42 LLVMBool IsSigned) {
44 GenVal->IntVal = APInt(unwrap<IntegerType>(Ty)->getBitWidth(), N, IsSigned);
74 LLVMBool IsSigned) {
76 if (IsSigned)
  /src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
NVPTXISelDAGToDAG.h 100 static unsigned GetConvertOpcode(MVT DestTy, MVT SrcTy, bool IsSigned);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
InductiveRangeCheckElimination.cpp 152 bool &IsSigned);
199 bool isEmpty(ScalarEvolution &SE, bool IsSigned) const {
202 if (IsSigned)
297 Value *&Length, bool &IsSigned) {
314 IsSigned = true;
325 IsSigned = true;
342 IsSigned = false;
376 bool IsSigned;
377 if (!parseRangeCheckICmp(L, ICI, SE, Index, Length, IsSigned))
681 bool IsSigned = ICmpInst::isSigned(Pred)
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/ubsan/
ubsan_handlers.cc 115 bool IsSigned = Data->Type.isSignedIntegerTy();
116 ErrorType ET = IsSigned ? ErrorType::SignedIntegerOverflow
123 if (!IsSigned && !Opts.FromUnrecoverableHandler &&
131 << (IsSigned ? "signed" : "unsigned") << Value(Data->Type, LHS)
154 bool IsSigned = Data->Type.isSignedIntegerTy();
155 ErrorType ET = IsSigned ? ErrorType::SignedIntegerOverflow
161 if (!IsSigned && flags()->silence_unsigned_overflow)
166 if (IsSigned)
  /src/external/gpl3/gcc/dist/libsanitizer/ubsan/
ubsan_handlers.cpp 213 bool IsSigned = Data->Type.isSignedIntegerTy();
214 ErrorType ET = IsSigned ? ErrorType::SignedIntegerOverflow
221 if (!IsSigned && !Opts.FromUnrecoverableHandler &&
229 << (IsSigned ? "signed" : "unsigned") << Value(Data->Type, LHS)
252 bool IsSigned = Data->Type.isSignedIntegerTy();
253 ErrorType ET = IsSigned ? ErrorType::SignedIntegerOverflow
259 if (!IsSigned && flags()->silence_unsigned_overflow)
264 if (IsSigned)
  /src/external/gpl3/gcc.old/dist/libsanitizer/ubsan/
ubsan_handlers.cpp 213 bool IsSigned = Data->Type.isSignedIntegerTy();
214 ErrorType ET = IsSigned ? ErrorType::SignedIntegerOverflow
221 if (!IsSigned && !Opts.FromUnrecoverableHandler &&
229 << (IsSigned ? "signed" : "unsigned") << Value(Data->Type, LHS)
252 bool IsSigned = Data->Type.isSignedIntegerTy();
253 ErrorType ET = IsSigned ? ErrorType::SignedIntegerOverflow
259 if (!IsSigned && flags()->silence_unsigned_overflow)
264 if (IsSigned)
  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
Constants.h 98 static Constant *get(Type *Ty, uint64_t V, bool IsSigned = false);
102 /// to fit the type, unless IsSigned is true, in which case the value will
106 static ConstantInt *get(IntegerType *Ty, uint64_t V, bool IsSigned = false);
211 bool isMaxValue(bool IsSigned) const {
212 if (IsSigned)
223 bool isMinValue(bool IsSigned) const {
224 if (IsSigned)
1141 bool IsSigned ///< Whether C should be treated as signed or not
  /src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/
SystemZTargetTransformInfo.h 78 bool hasDivRemOp(Type *DataType, bool IsSigned);
  /src/external/apache2/llvm/dist/llvm/lib/Target/M68k/
M68kInstrInfo.h 307 bool ExpandMOVSZX_RR(MachineInstrBuilder &MIB, bool IsSigned, MVT MVTDst,
311 bool ExpandMOVSZX_RM(MachineInstrBuilder &MIB, bool IsSigned,
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
SimplifyIndVar.cpp 92 bool IsSigned);
294 } else if (ICmpInst::isSigned(OriginalPred) &&
377 bool IsSigned) {
384 if (!UsedAsNumerator && !IsSigned)
393 bool IsNumeratorNonNegative = !IsSigned || SE->isKnownNonNegative(N);
403 auto LT = IsSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT;
419 if (!IsSigned || !SE->isKnownNonNegative(D))
464 if (!willNotOverflow(SE, WO->getBinaryOp(), WO->isSigned(), LHS, RHS))
473 if (WO->isSigned())
505 if (!willNotOverflow(SE, SI->getBinaryOp(), SI->isSigned(), LHS, RHS)
    [all...]

Completed in 52 milliseconds

1 2 3 4 5