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

1 2

  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
SimplifyIndVar.h 72 bool IsSigned = false;
  /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),
CGRecordLayoutBuilder.cpp 241 Info.IsSigned = FD->getType()->isSignedIntegerOrEnumerationType();
851 bool IsSigned = FD->getType()->isSignedIntegerOrEnumerationType();
874 return CGBitFieldInfo(Offset, Size, IsSigned, StorageSize, StorageOffset);
1044 << " Offset:" << Offset << " Size:" << Size << " IsSigned:" << 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;
TargetTransformInfo.h 668 bool hasDivRemOp(Type *DataType, bool IsSigned) const;
1341 ReductionFlags() : IsMaxOp(false), IsSigned(false), NoNaN(false) {}
1343 bool IsSigned; ///< Whether the operation is a signed int reduction.
1519 virtual bool hasDivRemOp(Type *DataType, bool IsSigned) = 0;
1900 bool hasDivRemOp(Type *DataType, bool IsSigned) override {
1901 return Impl.hasDivRemOp(DataType, IsSigned);
  /src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
RISCVExpandAtomicPseudoInsts.cpp 428 bool IsSigned = BinOp == AtomicRMWInst::Min || BinOp == AtomicRMWInst::Max;
430 static_cast<AtomicOrdering>(MI.getOperand(IsSigned ? 7 : 6).getImm());
  /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/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/include/llvm/Frontend/OpenMP/
OMPIRBuilder.h 269 /// means counting down. \param IsSigned Whether Start, Stop
284 bool IsSigned, bool InclusiveStop,
952 bool IsSigned = false;
  /src/external/apache2/llvm/dist/llvm/include/llvm/MC/
MCFragment.h 417 bool IsSigned;
426 : MCFragment(FT_LEB, false, Sec), IsSigned(IsSigned_), Value(&Value_) {
432 bool isSigned() const { return IsSigned; }
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
IVDescriptors.cpp 118 bool IsSigned = false;
126 // must be positive (i.e., IsSigned = false), because if this were not the
141 // If the value is not known to be non-negative, we set IsSigned to true,
144 IsSigned = true;
157 IsSigned);
259 bool IsSigned = false;
466 // then extend this value back to the original width. If IsSigned is false,
474 std::tie(ComputedType, IsSigned) =
502 IsSigned, IsOrdered, CastInsts);
  /src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
MipsInstructionSelector.cpp 513 bool IsSigned = I.getOpcode() == G_SREM || I.getOpcode() == G_SDIV;
518 TII.get(IsSigned ? Mips::PseudoSDIV : Mips::PseudoUDIV))
  /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/lib/Target/AArch64/MCTargetDesc/
AArch64InstPrinter.cpp 80 bool IsSigned = (Opcode == AArch64::SBFMXri || Opcode == AArch64::SBFMWri);
89 if (IsSigned)
95 if (IsSigned)
102 if (Is64Bit && IsSigned)
153 O << '\t' << (IsSigned ? "sbfiz" : "ubfiz") << '\t'
161 O << '\t' << (IsSigned ? "sbfx" : "ubfx") << '\t'
  /src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
WebAssemblyFastISel.cpp 168 unsigned getRegForPromotedValue(const Value *V, bool IsSigned);
574 bool IsSigned) {
575 return IsSigned ? getRegForSignedValue(V) : getRegForUnsignedValue(V);
1029 bool IsSigned = false;
1051 IsSigned = true;
1055 IsSigned = true;
1059 IsSigned = true;
1063 IsSigned = true;
1069 unsigned LHS = getRegForPromotedValue(ICmp->getOperand(0), IsSigned);
1073 unsigned RHS = getRegForPromotedValue(ICmp->getOperand(1), IsSigned);
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
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/llvm/lib/Target/AArch64/
AArch64InstrInfo.cpp 1001 unsigned IsSigned = MI.getOperand(3).getImm();
1002 return !IsSigned;
  /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/lib/Target/AVR/
AVRISelLowering.cpp 422 bool IsSigned = (Opcode == ISD::SDIVREM);
431 LC = IsSigned ? RTLIB::SDIVREM_I8 : RTLIB::UDIVREM_I8;
434 LC = IsSigned ? RTLIB::SDIVREM_I16 : RTLIB::UDIVREM_I16;
437 LC = IsSigned ? RTLIB::SDIVREM_I32 : RTLIB::UDIVREM_I32;
448 Entry.IsSExt = IsSigned;
449 Entry.IsZExt = !IsSigned;
464 .setSExtResult(IsSigned)
465 .setZExtResult(!IsSigned);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
IndVarSimplify.cpp 514 bool IsSigned = Cast->getOpcode() == Instruction::SExt;
515 if (!IsSigned && Cast->getOpcode() != Instruction::ZExt)
546 WI.IsSigned = IsSigned;
551 if (WI.IsSigned != IsSigned)
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/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...]
  /src/external/apache2/llvm/dist/llvm/lib/IR/
AutoUpgrade.cpp 1306 bool IsSigned) {
1314 Pred = IsSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT;
1317 Pred = IsSigned ? ICmpInst::ICMP_SLE : ICmpInst::ICMP_ULE;
1320 Pred = IsSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT;
1323 Pred = IsSigned ? ICmpInst::ICMP_SGE : ICmpInst::ICMP_UGE;
1434 static Value *upgradePMULDQ(IRBuilder<> &Builder, CallInst &CI, bool IsSigned) {
1441 if (IsSigned) {
2340 bool IsSigned;
2343 IsSigned = false;
2346 IsSigned = true
    [all...]

Completed in 57 milliseconds

1 2