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

12

/freebsd-13-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-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DCmpInstAnalysis.h54 Constant *getPredForICmpCode(unsigned Code, bool Sign, Type *OpTy,
/freebsd-13-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-13-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-13-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-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNRegPressure.cpp110 int Sign = 1; local
113 Sign = -1;
120 Value[Kind] += Sign;
129 Sign * SIRegisterInfo::getNumCoveredRegs(~PrevMask & NewMask);
133 Value[Kind] += Sign * MRI.getPressureSets(Reg).getWeight();
H A DAMDGPUCodeGenPrepare.cpp1059 Value *Sign = nullptr; local
1064 Sign = IsDiv ? Builder.CreateXor(SignX, SignY) : SignX;
1136 Res = Builder.CreateXor(Res, Sign);
1137 Res = Builder.CreateSub(Res, Sign);
H A DAMDGPUISelLowering.cpp1638 bool Sign) const {
1657 if (Sign)
1660 ISD::NodeType ToFp = Sign ? ISD::SINT_TO_FP : ISD::UINT_TO_FP;
1661 ISD::NodeType ToInt = Sign ? ISD::FP_TO_SINT : ISD::FP_TO_UINT;
1665 if (Sign) {
1734 if (Sign) {
2685 SDValue Sign = DAG.getNode(ISD::SRL, DL, MVT::i32, UH, local
2687 Sign = DAG.getNode(ISD::AND, DL, MVT::i32, Sign,
2690 V = DAG.getNode(ISD::OR, DL, MVT::i32, Sign,
[all...]
/freebsd-13-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-13-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DSpecifiers.h108 /*DeclSpec::TSS*/ unsigned Sign : 2;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/BinaryFormat/
H A DDwarf.cpp232 StringRef llvm::dwarf::DecimalSignString(unsigned Sign) { argument
233 switch (Sign) {
/freebsd-13-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-13-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerDriver.cpp126 long Sign = 1; local
129 Sign = -1;
137 return Res * Sign;
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DDwarf.h460 StringRef DecimalSignString(unsigned Sign);
/freebsd-13-stable/crypto/heimdal/appl/gssmask/
H A Dgssmask.c564 HandleOP(Sign)
1051 S(Sign),
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DStdLibraryFunctionsChecker.cpp383 const Signature Sign; member in class:__anon2306::StdLibraryFunctionsChecker::Summary
394 : Sign(ArgTys, RetTy), InvalidationKd(InvalidationKd) {}
416 bool Result = Sign.matches(FD) && validateByConstraints(FD);
/freebsd-13-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-13-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFloat.h290 /// \name Sign operations.
586 /// Sign bit of the number.
1098 static APFloat copySign(APFloat Value, const APFloat &Sign) { argument
1099 Value.copySign(Sign);
/freebsd-13-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-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp2068 SDValue Sign = TLO.DAG.getNode(ISD::FGETSIGN, dl, Ty, Src); local
2071 Sign = TLO.DAG.getNode(ISD::ZERO_EXTEND, dl, VT, Sign);
2075 TLO.DAG.getNode(ISD::SHL, dl, VT, Sign, ShAmt));
4361 // gcc prints these as sign extended. Sign extend value to 64 bits
6298 SDValue Sign = DAG.getNode(ISD::SRA, dl, IntVT,
6301 Sign = DAG.getSExtOrTrunc(Sign, dl, DstVT);
6322 DAG.getNode(ISD::XOR, dl, DstVT, R, Sign), Sign);
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp3686 HiL = MIRBuilder.buildAShr(HalfTy, InH, ShiftAmt); // Sign of Hi part.
4638 auto Sign = MIRBuilder.buildAShr(SrcTy, AndSignMask, SignLowBit); local
4639 Sign = MIRBuilder.buildSExt(DstTy, Sign);
4662 auto XorSign = MIRBuilder.buildXor(DstTy, R, Sign);
4663 auto Ret = MIRBuilder.buildSub(DstTy, XorSign, Sign);
4772 auto Sign = MIRBuilder.buildLShr(S32, UH, MIRBuilder.buildConstant(S32, 16)); local
4773 Sign = MIRBuilder.buildAnd(S32, Sign, MIRBuilder.buildConstant(S32, 0x8000));
4776 V = MIRBuilder.buildOr(S32, Sign,
[all...]
/freebsd-13-stable/crypto/heimdal/lib/hx509/
H A Dks_p11.c154 ret = P11FUNC(p11rsa->p, Sign,
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMapping.h185 void extractTerms(Counter C, int Sign, SmallVectorImpl<Term> &Terms);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.cpp3342 int Sign = 1;
3358 Sign = -1;
3397 .addImm(Sign * (int)ThisVal);
3404 assert(Sign == 1 && "SEH directives should always have a positive sign");
6824 int Sign = 1;
6840 Sign *= -1;
6850 Offset = MI.getOperand(2).getImm() * Sign;

Completed in 211 milliseconds

12