| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZOperands.td | 339 return isUInt<1>(N->getZExtValue()); 343 return isUInt<2>(N->getZExtValue()); 347 return isUInt<3>(N->getZExtValue()); 351 return isUInt<4>(N->getZExtValue()); 357 return isUInt<4>(N->getZExtValue()); 361 return isUInt<6>(N->getZExtValue()); 369 return isUInt<8>(N->getZExtValue()); 375 return isUInt<12>(N->getZExtValue()); 387 return isUInt<16>(N->getZExtValue()); 492 return isUInt<16>(N->getZExtValue()); [all …]
|
| H A D | SystemZSelectionDAGInfo.cpp | 57 Chain, Dst, Src, CSize->getZExtValue()); in EmitTargetCodeForMemcpy() 86 uint64_t Bytes = CSize->getZExtValue(); in EmitTargetCodeForMemset() 94 uint64_t ByteVal = CByte->getZExtValue(); in EmitTargetCodeForMemset() 129 if (CByte && CByte->getZExtValue() == 0) in EmitTargetCodeForMemset() 143 if (CByte && CByte->getZExtValue() == 0) { in EmitTargetCodeForMemset() 197 uint64_t Bytes = CSize->getZExtValue(); in EmitTargetCodeForMemcmp()
|
| H A D | SystemZISelDAGToDAG.cpp | 738 uint64_t AndMask = MaskNode->getZExtValue(); in detectOrAndInsertion() 799 uint64_t Mask = MaskNode->getZExtValue(); in expandRxSBG() 805 Mask |= Known.Zero.getZExtValue(); in expandRxSBG() 822 uint64_t Mask = ~MaskNode->getZExtValue(); in expandRxSBG() 828 Mask &= ~Known.One.getZExtValue(); in expandRxSBG() 1185 unsigned Elem = ElemN->getZExtValue(); in tryGather() 1227 unsigned Elem = ElemN->getZExtValue(); in tryScatter() 1535 uint64_t Val = Op1->getZExtValue(); in Select() 1877 if (FalseOp->getZExtValue() != 0) in expandSelectBoolean() 1886 int CCValid = CCValidOp->getZExtValue(); in expandSelectBoolean() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Support/ |
| H A D | KnownBits.cpp | 173 unsigned Shift = RHS.getConstant().getZExtValue(); in shl() 188 MinTrailingZeros += MinShiftAmount.getZExtValue(); in shl() 196 uint64_t ShiftAmtZeroMask = (~RHS.Zero).getZExtValue(); in shl() 197 uint64_t ShiftAmtOneMask = RHS.One.getZExtValue(); in shl() 226 unsigned Shift = RHS.getConstant().getZExtValue(); in lshr() 241 MinLeadingZeros += MinShiftAmount.getZExtValue(); in lshr() 250 uint64_t ShiftAmtOneMask = RHS.One.getZExtValue(); in lshr() 279 unsigned Shift = RHS.getConstant().getZExtValue(); in ashr() 294 MinLeadingZeros += MinShiftAmount.getZExtValue(); in ashr() 298 MinLeadingOnes += MinShiftAmount.getZExtValue(); in ashr() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | MemoryLocation.cpp | 116 Size = LocationSize::precise(C->getValue().getZExtValue()); in getForSource() 137 Size = LocationSize::precise(C->getValue().getZExtValue()); in getForDest() 168 return MemoryLocation(Arg, LocationSize::precise(LenCI->getZExtValue()), in getForArgument() 179 cast<ConstantInt>(II->getArgOperand(0))->getZExtValue()), in getForArgument() 206 cast<ConstantInt>(II->getArgOperand(1))->getZExtValue()), in getForArgument() 240 return MemoryLocation(Arg, LocationSize::precise(LenCI->getZExtValue()), in getForArgument() 249 return MemoryLocation(Arg, LocationSize::precise(LenCI->getZExtValue()), in getForArgument() 256 return MemoryLocation(Arg, LocationSize::precise(LenCI->getZExtValue()), in getForArgument() 266 Arg, LocationSize::upperBound(LenCI->getZExtValue()), AATags); in getForArgument()
|
| H A D | TypeBasedAliasAnalysis.cpp | 232 return mdconst::extract<ConstantInt>(Node->getOperand(2))->getZExtValue(); in getOffset() 238 return mdconst::extract<ConstantInt>(Node->getOperand(3))->getZExtValue(); in getSize() 322 ->getZExtValue(); in getField() 339 ->getZExtValue(); in getField() 351 ->getZExtValue(); in getField() 770 if (InnerOffset->getZExtValue() + InnerSize->getZExtValue() <= Offset) in shiftTBAAStruct() 773 uint64_t NewSize = InnerSize->getZExtValue(); in shiftTBAAStruct() 774 uint64_t NewOffset = InnerOffset->getZExtValue() - Offset; in shiftTBAAStruct() 775 if (InnerOffset->getZExtValue() < Offset) { in shiftTBAAStruct() 777 NewSize -= Offset - InnerOffset->getZExtValue(); in shiftTBAAStruct()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | PseudoProbe.cpp | 51 Probe.Id = II->getIndex()->getZExtValue(); in extractProbe() 53 Probe.Attr = II->getAttributes()->getZExtValue(); in extractProbe() 54 Probe.Factor = II->getFactor()->getZExtValue() / in extractProbe() 73 auto OrigFactor = II->getFactor()->getZExtValue(); in setProbeDistributionFactor() 104 uint32_t OldAttr = Inst.getAttributes()->getZExtValue(); in addPseudoProbeAttribute()
|
| H A D | Module.cpp | 556 return cast<ConstantInt>(Val->getValue())->getZExtValue(); in getNumberRegisterParameters() 563 return cast<ConstantInt>(Val->getValue())->getZExtValue(); in getDwarfVersion() 575 return cast<ConstantInt>(Val->getValue())->getZExtValue(); in getCodeViewFlag() 598 cast<ConstantInt>(Val->getValue())->getZExtValue()); in getPICLevel() 612 cast<ConstantInt>(Val->getValue())->getZExtValue()); in getPIELevel() 626 cast<ConstantInt>(Val->getValue())->getZExtValue()); in getCodeModel() 656 return cast<ConstantInt>(Val->getValue())->getZExtValue(); in getSemanticInterposition() 669 return Val && (cast<ConstantInt>(Val->getValue())->getZExtValue() > 0); in getRtLibUseGOT() 678 return Val && (cast<ConstantInt>(Val->getValue())->getZExtValue() > 0); in getUwtable() 686 Val ? cast<ConstantInt>(Val->getValue())->getZExtValue() : 0); in getFramePointer() [all …]
|
| H A D | Operator.cpp | 46 Offset = SL->getElementOffset(OpC->getZExtValue()); in getMaxPreservedAlignment() 53 ElemCount = OpC->getZExtValue(); in getMaxPreservedAlignment() 116 unsigned ElementIdx = ConstOffset->getZExtValue(); in accumulateConstantOffset() 179 unsigned ElementIdx = ConstOffset->getZExtValue(); in collectOffset()
|
| H A D | ProfileSummary.cpp | 122 Val = cast<ConstantInt>(ValMD->getValue())->getZExtValue(); in getVal() 172 Summary.emplace_back(cast<ConstantInt>(Op0->getValue())->getZExtValue(), in getSummaryFromMD() 173 cast<ConstantInt>(Op1->getValue())->getZExtValue(), in getSummaryFromMD() 174 cast<ConstantInt>(Op2->getValue())->getZExtValue()); in getSummaryFromMD()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64MachineFunctionInfo.cpp | 45 if (Sign->getZExtValue()) { in GetSignReturnAddress() 48 return {true, All->getZExtValue()}; in GetSignReturnAddress() 70 return BKey->getZExtValue(); in ShouldSignWithBKey() 93 BranchTargetEnforcement = BTE->getZExtValue(); in AArch64FunctionInfo()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Statepoint.h | 90 return cast<ConstantInt>(getArgOperand(IDPos))->getZExtValue(); in getID() 97 cast<ConstantInt>(NumPatchBytesVal)->getZExtValue(); in getNumPatchBytes() 104 return cast<ConstantInt>(getArgOperand(NumCallArgsPos))->getZExtValue(); in getNumCallArgs() 108 return cast<ConstantInt>(getArgOperand(FlagsPos))->getZExtValue(); in getFlags()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUISelDAGToDAG.cpp | 339 if (ShiftAmt->getZExtValue() == 16) { in isExtractHiElt() 876 Imm = C->getZExtValue(); in Select() 903 uint32_t OffsetVal = Offset->getZExtValue(); in Select() 904 uint32_t WidthVal = Width->getZExtValue(); in Select() 1383 unsigned OffsetValue0 = C1->getZExtValue(); in SelectDSReadWrite2() 1397 unsigned OffsetValue0 = C->getZExtValue(); in SelectDSReadWrite2() 1474 if (isUInt<32>(C1->getZExtValue())) in SelectMUBUF() 2227 uint32_t BVal = B->getZExtValue(); in SelectS_BFEFromShifts() 2228 uint32_t CVal = C->getZExtValue(); in SelectS_BFEFromShifts() 2254 uint32_t MaskVal = Mask->getZExtValue(); in SelectS_BFE() [all …]
|
| H A D | AMDGPUInstCombineIntrinsic.cpp | 293 uint32_t Mask = CMask->getZExtValue(); in instCombineIntrinsic() 415 Width = CWidth->getZExtValue(); in instCombineIntrinsic() 430 Offset = COffset->getZExtValue(); in instCombineIntrinsic() 467 unsigned EnBits = En->getZExtValue(); in instCombineIntrinsic() 559 int64_t CCVal = CC->getZExtValue(); in instCombineIntrinsic() 732 if (!C || !C->getZExtValue()) in instCombineIntrinsic() 744 if (BC->isZeroValue() || RM->getZExtValue() != 0xF || in instCombineIntrinsic() 745 BM->getZExtValue() != 0xF || isa<UndefValue>(Old)) in instCombineIntrinsic() 760 if (!FetchInvalid->getZExtValue() && !BoundCtrl->getZExtValue()) in instCombineIntrinsic() 981 unsigned DMaskVal = DMask->getZExtValue() & 0xf; in simplifyAMDGCNMemoryIntrinsicDemanded()
|
| H A D | AMDGPUUnifyMetadata.cpp | 64 auto VersionMajor = CMajor->getZExtValue(); in unifyVersionMD() 66 auto VersionMinor = CMinor->getZExtValue(); in unifyVersionMD()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | ExternalFunctions.cpp | 151 *I8Ptr = (int8_t) AV.IntVal.getZExtValue(); in ffiValueFor() 156 *I16Ptr = (int16_t) AV.IntVal.getZExtValue(); in ffiValueFor() 161 *I32Ptr = (int32_t) AV.IntVal.getZExtValue(); in ffiValueFor() 166 *I64Ptr = (int64_t) AV.IntVal.getZExtValue(); in ffiValueFor() 377 sprintf(Buffer, FmtBuf, uint32_t(Args[ArgNo++].IntVal.getZExtValue())); in lle_X_sprintf() 393 sprintf(Buffer, FmtBuf, Args[ArgNo++].IntVal.getZExtValue()); in lle_X_sprintf() 395 sprintf(Buffer, FmtBuf,uint32_t(Args[ArgNo++].IntVal.getZExtValue())); in lle_X_sprintf() 477 size_t len = (size_t)Args[2].IntVal.getZExtValue(); in lle_X_memset()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
| H A D | ARMAddressingModes.h | 668 uint32_t Sign = Imm.lshr(15).getZExtValue() & 1; in getFP16Imm() 670 int64_t Mantissa = Imm.getZExtValue() & 0x3ff; // 10 bits in getFP16Imm() 706 uint32_t Sign = Imm.lshr(31).getZExtValue() & 1; in getFP32Imm() 708 int64_t Mantissa = Imm.getZExtValue() & 0x7fffff; // 23 bits in getFP32Imm() 734 uint64_t Sign = Imm.lshr(63).getZExtValue() & 1; in getFP64Imm() 736 uint64_t Mantissa = Imm.getZExtValue() & 0xfffffffffffffULL; in getFP64Imm()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsSEISelDAGToDAG.cpp | 79 uint64_t RegNum = cast<ConstantSDNode>(RegIdx)->getZExtValue(); in getMSACtrlReg() 298 if (!isAligned(Alignment, CN->getZExtValue())) in selectAddrFrameIndexOffset() 302 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), SDLoc(Addr), in selectAddrFrameIndexOffset() 446 unsigned CnstOff = CN->getZExtValue(); in selectIntAddrLSL2MM() 837 cast<ConstantSDNode>(Node->getOperand(1))->getZExtValue(); in trySelect() 890 switch (cast<ConstantSDNode>(Node->getOperand(0))->getZExtValue()) { in trySelect() 907 cast<ConstantSDNode>(Node->getOperand(1))->getZExtValue(); in trySelect() 1129 const unsigned Lo = SplatValue.getLoBits(16).getZExtValue(); in trySelect() 1138 const unsigned Lo = SplatValue.getLoBits(16).getZExtValue(); in trySelect() 1161 const unsigned Lo = SplatValue.getLoBits(16).getZExtValue(); in trySelect() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VectorCombine.cpp | 177 OffsetEltIndex = Offset.udiv(ScalarSizeInBytes).getZExtValue(); in vectorizeLoadInsert() 187 Alignment = commonAlignment(Alignment, Offset.getZExtValue()); in vectorizeLoadInsert() 243 unsigned Index0 = cast<ConstantInt>(Ext0->getIndexOperand())->getZExtValue(); in getShuffleExtract() 313 unsigned Ext0Index = cast<ConstantInt>(Ext0->getOperand(1))->getZExtValue(); in isExtractExtractCheap() 314 unsigned Ext1Index = cast<ConstantInt>(Ext1->getOperand(1))->getZExtValue(); in isExtractExtractCheap() 401 Value *Shuf = createShiftShuffle(X, cast<ConstantInt>(C)->getZExtValue(), in translateExtract() 412 assert(cast<ConstantInt>(Ext0->getIndexOperand())->getZExtValue() == in foldExtExtCmp() 413 cast<ConstantInt>(Ext1->getIndexOperand())->getZExtValue() && in foldExtExtCmp() 431 assert(cast<ConstantInt>(Ext0->getIndexOperand())->getZExtValue() == in foldExtExtBinop() 432 cast<ConstantInt>(Ext1->getIndexOperand())->getZExtValue() && in foldExtExtBinop() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFInstrInfo.td | 85 [{return (N->getZExtValue() == ISD::SETEQ);}]>; 87 [{return (N->getZExtValue() == ISD::SETNE);}]>; 89 [{return (N->getZExtValue() == ISD::SETGE);}]>; 91 [{return (N->getZExtValue() == ISD::SETGT);}]>; 97 [{return (N->getZExtValue() == ISD::SETLE);}]>; 99 [{return (N->getZExtValue() == ISD::SETLT);}]>; 105 [{return (N->getZExtValue() == ISD::SETEQ);}]>; 107 [{return (N->getZExtValue() == ISD::SETNE);}]>; 109 [{return (N->getZExtValue() == ISD::SETGE);}]>; 111 [{return (N->getZExtValue() == ISD::SETGT);}]>; [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | UndefResultChecker.cpp | 73 return (unsigned)RHS->getZExtValue() > LHS->countLeadingZeros(); in isLeftShiftResultUnrepresentable() 143 OS << '\'' << I->getZExtValue() << "\', which is"; in checkPostStmt() 163 << LHS->getSExtValue() << "\' by \'" << RHS->getZExtValue() in checkPostStmt()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyISelDAGToDAG.cpp | 131 cast<ConstantSDNode>(Node->getOperand(2).getNode())->getZExtValue(); in Select() 165 unsigned IntNo = cast<ConstantSDNode>(Node->getOperand(0))->getZExtValue(); in Select() 185 unsigned IntNo = cast<ConstantSDNode>(Node->getOperand(1))->getZExtValue(); in Select()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86InstCombineIntrinsic.cpp | 575 uint8_t Imm = CInt->getZExtValue(); in simplifyX86insertps() 643 unsigned Index = APIndex.getZExtValue(); in simplifyX86extrq() 720 unsigned Index = APIndex.getZExtValue(); in simplifyX86insertq() 888 Indexes[I] = Index.getZExtValue(); in simplifyX86vpermilvar() 946 uint64_t Shift = C->getZExtValue(); in instCombineIntrinsic() 982 uint64_t Result = InC->getZExtValue(); in instCombineIntrinsic() 1015 uint64_t Src = SrcC->getZExtValue(); in instCombineIntrinsic() 1016 uint64_t Mask = MaskC->getZExtValue(); in instCombineIntrinsic() 1059 uint64_t Src = SrcC->getZExtValue(); in instCombineIntrinsic() 1060 uint64_t Mask = MaskC->getZExtValue(); in instCombineIntrinsic() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineShifts.cpp | 541 unsigned InnerShAmt = C1->getZExtValue(); in foldShiftedShift() 913 unsigned ShAmt = ShAmtAPInt->getZExtValue(); in visitShl() 934 unsigned ShrAmt = ShOp1->getZExtValue(); in visitShl() 955 unsigned ShrAmt = ShOp1->getZExtValue(); in visitShl() 980 unsigned AmtSum = ShAmt + ShOp1->getZExtValue(); in visitShl() 1053 unsigned ShAmt = ShAmtAPInt->getZExtValue(); in visitLShr() 1073 unsigned ShlAmt = ShOp1->getZExtValue(); in visitLShr() 1087 unsigned ShlAmt = ShOp1->getZExtValue(); in visitLShr() 1159 unsigned AmtSum = ShAmt + ShOp1->getZExtValue(); in visitLShr() 1280 unsigned ShAmt = ShAmtAPInt->getZExtValue(); in visitAShr() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/ |
| H A D | AArch64AddressingModes.h | 368 uint32_t Sign = Imm.lshr(15).getZExtValue() & 1; in getFP16Imm() 370 int32_t Mantissa = Imm.getZExtValue() & 0x3ff; // 10 bits in getFP16Imm() 394 uint32_t Sign = Imm.lshr(31).getZExtValue() & 1; in getFP32Imm() 396 int64_t Mantissa = Imm.getZExtValue() & 0x7fffff; // 23 bits in getFP32Imm() 422 uint64_t Sign = Imm.lshr(63).getZExtValue() & 1; in getFP64Imm() 424 uint64_t Mantissa = Imm.getZExtValue() & 0xfffffffffffffULL; in getFP64Imm()
|