Searched refs:Sign (Results 1 - 25 of 33) sorted by relevance

12

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/
H A DLEB128.cpp31 int Sign = Value >> (8 * sizeof(Value) - 1); local
37 IsMore = Value != Sign || ((Byte ^ Sign) & 0x40) != 0;
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DCmpInstAnalysis.h54 Constant *getPredForICmpCode(unsigned Code, bool Sign, Type *OpTy,
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DCmpInstAnalysis.cpp42 Constant *llvm::getPredForICmpCode(unsigned Code, bool Sign, Type *OpTy, argument
48 case 1: Pred = Sign ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; break;
50 case 3: Pred = Sign ? ICmpInst::ICMP_SGE : ICmpInst::ICMP_UGE; break;
51 case 4: Pred = Sign ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; break;
53 case 6: Pred = Sign ? ICmpInst::ICMP_SLE : ICmpInst::ICMP_ULE; break;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMAddressingModes.h633 uint8_t Sign = (Imm >> 7) & 0x1; local
642 I |= Sign << 31;
654 uint32_t Sign = Imm.lshr(15).getZExtValue() & 1; local
669 return ((int)Sign << 7) | (Exp << 4) | Mantissa;
680 uint32_t Sign = Imm.lshr(31).getZExtValue() & 1; local
697 return ((int)Sign << 7) | (Exp << 4) | Mantissa;
708 uint64_t Sign = Imm.lshr(63).getZExtValue() & 1; local
725 return ((int)Sign << 7) | (Exp << 4) | Mantissa;
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DSpecifiers.h106 /*DeclSpec::TSS*/ unsigned Sign : 2;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64AddressingModes.h346 uint8_t Sign = (Imm >> 7) & 0x1; local
356 I |= Sign << 31;
368 uint32_t Sign = Imm.lshr(15).getZExtValue() & 1; local
383 return ((int)Sign << 7) | (Exp << 4) | Mantissa;
394 uint32_t Sign = Imm.lshr(31).getZExtValue() & 1; local
411 return ((int)Sign << 7) | (Exp << 4) | Mantissa;
422 uint64_t Sign = Imm.lshr(63).getZExtValue() & 1; local
439 return ((int)Sign << 7) | (Exp << 4) | Mantissa;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNRegPressure.cpp104 int Sign = 1; local
107 Sign = -1;
117 Value[Kind] += Sign;
127 Sign * (~PrevMask & NewMask).getNumLanes();
131 Value[Kind] += Sign * MRI.getPressureSets(Reg).getWeight();
H A DAMDGPUCodeGenPrepare.cpp780 Value *Sign = nullptr; local
786 Sign = IsDiv ? Builder.CreateXor(LHSign, RHSign) : LHSign;
877 Res = Builder.CreateXor(Res, Sign);
878 Res = Builder.CreateSub(Res, Sign);
H A DAMDGPUISelLowering.cpp1527 bool Sign) const {
1546 if (Sign)
1549 ISD::NodeType ToFp = Sign ? ISD::SINT_TO_FP : ISD::UINT_TO_FP;
1550 ISD::NodeType ToInt = Sign ? ISD::FP_TO_SINT : ISD::FP_TO_UINT;
1554 if (Sign) {
1621 if (Sign) {
2700 SDValue Sign = DAG.getNode(ISD::SRL, DL, MVT::i32, UH, local
2702 Sign = DAG.getNode(ISD::AND, DL, MVT::i32, Sign,
2705 V = DAG.getNode(ISD::OR, DL, MVT::i32, Sign,
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCOptAddrMode.cpp124 int64_t Sign = 1; local
127 Sign = -1;
131 Amount = Sign * MI.getOperand(2).getImm();
/freebsd-12-stable/contrib/llvm-project/llvm/lib/BinaryFormat/
H A DDwarf.cpp232 StringRef llvm::dwarf::DecimalSignString(unsigned Sign) { argument
233 switch (Sign) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DBitTracker.cpp542 BitValue Sign = Res[W-1];
544 Res.fill(W-Sh, W, Sign);
668 BitValue Sign = Res[FromN-1];
669 // Sign-extend "inreg".
670 Res.fill(FromN, W, Sign);
H A DHexagonBitTracker.cpp822 // Sign- and zero-extension:
1201 const BT::BitValue &Sign = Res[BitNum-1];
1203 Res[i] = BT::BitValue::ref(Sign);
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerDriver.cpp125 long Sign = 1; local
128 Sign = -1;
136 return Res * Sign;
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DDwarf.h459 StringRef DecimalSignString(unsigned Sign);
/freebsd-12-stable/crypto/heimdal/appl/gssmask/
H A Dgssmask.c564 HandleOP(Sign)
1051 S(Sign),
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/
H A DTypeLoc.h604 return static_cast<TypeSpecifierSign>(getWrittenBuiltinSpecs().Sign);
615 getWrittenBuiltinSpecs().Sign = written;
661 wbs.Sign = TSS_unspecified;
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFloat.h285 /// \name Sign operations.
578 /// Sign bit of the number.
1082 static APFloat copySign(APFloat Value, const APFloat &Sign) { argument
1083 Value.copySign(Sign);
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DMinimalSymbolDumper.cpp695 char Sign = Delta > 0 ? '+' : '-';
696 P.format(" line {0} ({1}{2})", LineOffset, Sign, std::abs(Delta));
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp1910 SDValue Sign = TLO.DAG.getNode(ISD::FGETSIGN, dl, Ty, Src); local
1913 Sign = TLO.DAG.getNode(ISD::ZERO_EXTEND, dl, VT, Sign);
1917 TLO.DAG.getNode(ISD::SHL, dl, VT, Sign, ShAmt));
4142 // gcc prints these as sign extended. Sign extend value to 64 bits
6069 SDValue Sign = DAG.getNode(ISD::SRA, dl, IntVT,
6072 Sign = DAG.getSExtOrTrunc(Sign, dl, DstVT);
6093 DAG.getNode(ISD::XOR, dl, DstVT, R, Sign), Sign);
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMapping.h184 void extractTerms(Counter C, int Sign, SmallVectorImpl<Term> &Terms);
/freebsd-12-stable/crypto/heimdal/lib/hx509/
H A Dks_p11.c154 ret = P11FUNC(p11rsa->p, Sign,
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.cpp3113 int Sign = 1; local
3129 Sign = -1;
3160 .addImm(Sign * (int)ThisVal);
3167 assert(Sign == 1 && "SEH directives should always have a positive sign");
6517 int Sign = 1; local
6532 Sign *= -1;
6542 Offset = MI.getOperand(2).getImm() * Sign;
/freebsd-12-stable/contrib/llvm-project/clang/utils/TableGen/
H A DNeonEmitter.cpp218 void makeInteger(unsigned ElemWidth, bool Sign) { argument
220 Kind = Sign ? SInt : UInt;
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
H A DDeclSpec.cpp1058 writtenBS.Sign = getTypeSpecSign();
1114 // Sign specifiers are not allowed with vector bool. (PIM 2.1)

Completed in 439 milliseconds

12