Home
last modified time | relevance | path

Searched refs:getZExtValue (Results 1 – 25 of 473) sorted by relevance

12345678910>>...19

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600ISelDAGToDAG.cpp72 CurDAG->getIntPtrConstant(Cst->getZExtValue() / 4, SDLoc(Addr), true); in SelectGlobalValueConstantOffset()
137 Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32); in SelectADDRIndirect()
141 Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32); in SelectADDRIndirect()
145 Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32); in SelectADDRIndirect()
160 isInt<16>(IMMOffset->getZExtValue())) { in SelectADDRVTX_READ()
163 Offset = CurDAG->getTargetConstant(IMMOffset->getZExtValue(), SDLoc(Addr), in SelectADDRVTX_READ()
168 isInt<16>(IMMOffset->getZExtValue())) { in SelectADDRVTX_READ()
172 Offset = CurDAG->getTargetConstant(IMMOffset->getZExtValue(), SDLoc(Addr), in SelectADDRVTX_READ()
H A DAMDGPUISelDAGToDAG.cpp71 if (ShiftAmt->getZExtValue() == 16) { in isExtractHiElt()
597 Imm = C->getZExtValue(); in Select()
627 uint32_t WidthVal = Width->getZExtValue(); in Select()
1336 if (isUInt<32>(C1->getZExtValue())) in SelectMUBUF()
2233 uint32_t BVal = B->getZExtValue(); in SelectS_BFEFromShifts()
2234 uint32_t CVal = C->getZExtValue(); in SelectS_BFEFromShifts()
2578 ImmOffset = ConstOffset->getZExtValue(); in SelectDS_GWS()
3029 unsigned SrcSign = C->getZExtValue(); in SelectVOP3PModsNeg()
3043 unsigned SrcVal = C->getZExtValue(); in SelectWMMAOpSelVOP3PMods()
3353 Key = ShiftAmt->getZExtValue() / 8; in SelectSWMMACIndex8()
[all …]
H A DAMDGPUUnifyMetadata.cpp64 auto VersionMajor = CMajor->getZExtValue(); in unifyVersionMD()
66 auto VersionMinor = CMinor->getZExtValue(); in unifyVersionMD()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZOperands.td206 uint64_t Value = N->getZExtValue() >> 32;
328 SystemZ::isImmLL(uint32_t(~N->getZExtValue()));
333 SystemZ::isImmLH(uint32_t(~N->getZExtValue()));
427 SystemZ::isImmLL(uint64_t(~N->getZExtValue()));
432 SystemZ::isImmLH(uint64_t(~N->getZExtValue()));
437 SystemZ::isImmHL(uint64_t(~N->getZExtValue()));
442 SystemZ::isImmHH(uint64_t(~N->getZExtValue()));
459 SystemZ::isImmLF(uint64_t(~N->getZExtValue()));
464 SystemZ::isImmHF(uint64_t(~N->getZExtValue()));
470 SystemZ::isImmLH(uint64_t(-N->getZExtValue()));
[all …]
H A DSystemZSelectionDAGInfo.cpp69 CSize->getZExtValue()); in EmitTargetCodeForMemcpy()
99 uint64_t Bytes = CSize->getZExtValue(); in EmitTargetCodeForMemset()
107 uint64_t ByteVal = CByte->getZExtValue(); in EmitTargetCodeForMemset()
142 if (CByte && CByte->getZExtValue() == 0) in EmitTargetCodeForMemset()
150 if (CByte && CByte->getZExtValue() == 0) in EmitTargetCodeForMemset()
179 uint64_t Bytes = CSize->getZExtValue(); in EmitTargetCodeForMemcmp()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryLocation.cpp183 return MemoryLocation(Arg, LocationSize::precise(LenCI->getZExtValue()), in getForArgument()
194 cast<ConstantInt>(II->getArgOperand(0))->getZExtValue()), in getForArgument()
221 cast<ConstantInt>(II->getArgOperand(1))->getZExtValue()), in getForArgument()
269 Size = LocationSize::upperBound(Len->getZExtValue()); in getForArgument()
280 Size = ArgIdx == 0 ? LocationSize::precise(Len->getZExtValue()) in getForArgument()
281 : LocationSize::upperBound(Len->getZExtValue()); in getForArgument()
300 return MemoryLocation(Arg, LocationSize::precise(LenCI->getZExtValue()), in getForArgument()
309 return MemoryLocation(Arg, LocationSize::precise(LenCI->getZExtValue()), in getForArgument()
316 return MemoryLocation(Arg, LocationSize::precise(LenCI->getZExtValue()), in getForArgument()
326 Arg, LocationSize::upperBound(LenCI->getZExtValue()), AATags); in getForArgument()
H A DTypeBasedAliasAnalysis.cpp231 return mdconst::extract<ConstantInt>(Node->getOperand(2))->getZExtValue(); in getOffset()
237 return mdconst::extract<ConstantInt>(Node->getOperand(3))->getZExtValue(); in getSize()
324 : mdconst::extract<ConstantInt>(Operands[2])->getZExtValue(); in getField()
342 mdconst::extract<ConstantInt>(Operands[Idx + 1])->getZExtValue(); in getField()
354 mdconst::extract<ConstantInt>(Operands[TheIdx + 1])->getZExtValue(); in getField()
767 if (InnerOffset->getZExtValue() + InnerSize->getZExtValue() <= Offset) in shiftTBAAStruct()
770 uint64_t NewSize = InnerSize->getZExtValue(); in shiftTBAAStruct()
771 uint64_t NewOffset = InnerOffset->getZExtValue() - Offset; in shiftTBAAStruct()
772 if (InnerOffset->getZExtValue() < Offset) { in shiftTBAAStruct()
774 NewSize -= Offset - InnerOffset->getZExtValue(); in shiftTBAAStruct()
H A DAssumeBundleQueries.cpp63 ->getZExtValue(); in hasAttributeInAssume()
87 uint64_t Val = CI->getZExtValue(); in fillMapFromAssume()
111 return ConstInt->getZExtValue(); in getKnowledgeFromBundle()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64MachineFunctionInfo.cpp48 if (Sign->getZExtValue()) { in GetSignReturnAddress()
51 return {true, All->getZExtValue()}; in GetSignReturnAddress()
73 return BKey->getZExtValue(); in ShouldSignWithBKey()
108 Bool = ModVal->getZExtValue(); in AArch64FunctionInfo()
123 ProbeSize = PS->getZExtValue(); in AArch64FunctionInfo()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DPseudoProbe.cpp59 Probe.Id = II->getIndex()->getZExtValue(); in extractProbe()
61 Probe.Attr = II->getAttributes()->getZExtValue(); in extractProbe()
62 Probe.Factor = II->getFactor()->getZExtValue() / in extractProbe()
84 auto OrigFactor = II->getFactor()->getZExtValue(); in setProbeDistributionFactor()
H A DModule.cpp539 return cast<ConstantInt>(Val->getValue())->getZExtValue(); in getNumberRegisterParameters()
546 return cast<ConstantInt>(Val->getValue())->getZExtValue(); in getDwarfVersion()
558 return cast<ConstantInt>(Val->getValue())->getZExtValue(); in getCodeViewFlag()
581 cast<ConstantInt>(Val->getValue())->getZExtValue()); in getPICLevel()
597 cast<ConstantInt>(Val->getValue())->getZExtValue()); in getPIELevel()
611 cast<ConstantInt>(Val->getValue())->getZExtValue()); in getCodeModel()
629 return cast<ConstantInt>(Val->getValue())->getZExtValue(); in getLargeDataThreshold()
658 return cast<ConstantInt>(Val->getValue())->getZExtValue(); in getSemanticInterposition()
682 return cast<ConstantInt>(Val->getValue())->getZExtValue() > 0; in getDirectAccessExternalData()
760 return CI->getZExtValue(); in getOverrideStackAlignment()
[all …]
H A DOperator.cpp84 Offset = SL->getElementOffset(OpC->getZExtValue()); in getMaxPreservedAlignment()
89 const uint64_t ElemCount = OpC ? OpC->getZExtValue() : 1; in getMaxPreservedAlignment()
150 unsigned ElementIdx = ConstOffset->getZExtValue(); in accumulateConstantOffset()
212 unsigned ElementIdx = ConstOffset->getZExtValue(); in collectOffset()
H A DProfDataUtils.cpp117 Weights[Idx - WeightsIdx] = Weight->getZExtValue(); in extractFromBranchWeightMD()
168 TotalVal += V->getValue().getZExtValue(); in extractProfTotalWeight()
177 .getZExtValue(); in extractProfTotalWeight()
H A DProfileSummary.cpp121 Val = cast<ConstantInt>(ValMD->getValue())->getZExtValue(); in getVal()
171 Summary.emplace_back(cast<ConstantInt>(Op0->getValue())->getZExtValue(), in getSummaryFromMD()
172 cast<ConstantInt>(Op1->getValue())->getZExtValue(), in getSummaryFromMD()
173 cast<ConstantInt>(Op2->getValue())->getZExtValue()); in getSummaryFromMD()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DStatepoint.h88 return cast<ConstantInt>(getArgOperand(IDPos))->getZExtValue(); in getID()
95 cast<ConstantInt>(NumPatchBytesVal)->getZExtValue(); in getNumPatchBytes()
102 return cast<ConstantInt>(getArgOperand(NumCallArgsPos))->getZExtValue(); in getNumCallArgs()
106 return cast<ConstantInt>(getArgOperand(FlagsPos))->getZExtValue(); in getFlags()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMMachineFunctionInfo.cpp36 return BTE->getZExtValue(); in GetBranchTargetEnforcement()
53 if (Sign->getZExtValue()) { in GetSignReturnAddress()
56 return {true, All->getZExtValue()}; in GetSignReturnAddress()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DExternalFunctions.cpp161 *I8Ptr = (int8_t) AV.IntVal.getZExtValue(); in ffiValueFor()
166 *I16Ptr = (int16_t) AV.IntVal.getZExtValue(); in ffiValueFor()
171 *I32Ptr = (int32_t) AV.IntVal.getZExtValue(); in ffiValueFor()
176 *I64Ptr = (int64_t) AV.IntVal.getZExtValue(); in ffiValueFor()
395 sprintf(Buffer, FmtBuf, uint32_t(Args[ArgNo++].IntVal.getZExtValue())); in lle_X_sprintf()
411 sprintf(Buffer, FmtBuf, Args[ArgNo++].IntVal.getZExtValue()); in lle_X_sprintf()
413 sprintf(Buffer, FmtBuf,uint32_t(Args[ArgNo++].IntVal.getZExtValue())); in lle_X_sprintf()
498 size_t len = (size_t)Args[2].IntVal.getZExtValue(); in lle_X_memset()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DDXILUpgrade.cpp26 auto X = mdconst::extract<ConstantInt>(N->getOperand(0))->getZExtValue(); in handleValVerMetadata()
27 auto Y = mdconst::extract<ConstantInt>(N->getOperand(1))->getZExtValue(); in handleValVerMetadata()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMAddressingModes.h655 uint32_t Sign = Imm.lshr(15).getZExtValue() & 1; in getFP16Imm()
657 int64_t Mantissa = Imm.getZExtValue() & 0x3ff; // 10 bits in getFP16Imm()
693 uint32_t Sign = Imm.lshr(31).getZExtValue() & 1; in getFP32Imm()
695 int64_t Mantissa = Imm.getZExtValue() & 0x7fffff; // 23 bits in getFP32Imm()
721 uint64_t Sign = Imm.lshr(63).getZExtValue() & 1; in getFP64Imm()
723 uint64_t Mantissa = Imm.getZExtValue() & 0xfffffffffffffULL; in getFP64Imm()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVISelLowering.cpp62 Info.align = Align(AlignOp->getZExtValue()); in getTgtMemIntrinsic()
65 cast<ConstantInt>(I.getOperand(AlignIdx - 1))->getZExtValue()); in getTgtMemIntrinsic()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFInstrInfo.td93 [{return isUInt<32>(N->getZExtValue()); }]>;
113 [{return (N->getZExtValue() == ISD::SETEQ);}]>;
115 [{return (N->getZExtValue() == ISD::SETNE);}]>;
117 [{return (N->getZExtValue() == ISD::SETGE);}]>;
119 [{return (N->getZExtValue() == ISD::SETGT);}]>;
125 [{return (N->getZExtValue() == ISD::SETLE);}]>;
127 [{return (N->getZExtValue() == ISD::SETLT);}]>;
133 [{return (N->getZExtValue() == ISD::SETEQ);}]>;
135 [{return (N->getZExtValue() == ISD::SETNE);}]>;
137 [{return (N->getZExtValue() == ISD::SETGE);}]>;
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp456 unsigned PosOffset = (-*AddC).getZExtValue(); in commonShiftTransforms()
625 unsigned InnerShAmt = C1->getZExtValue(); in foldShiftedShift()
1022 unsigned ShAmtC = C->getZExtValue(); in visitShl()
1043 unsigned ShrAmt = C1->getZExtValue(); in visitShl()
1068 unsigned ShrAmt = C1->getZExtValue(); in visitShl()
1101 unsigned ShrAmtC = C1->getZExtValue(); in visitShl()
1258 unsigned ShAmtC = C->getZExtValue(); in visitLShr()
1277 unsigned ShlAmtC = C1->getZExtValue(); in visitLShr()
1292 unsigned ShlAmtC = C1->getZExtValue(); in visitLShr()
1580 unsigned ShAmt = ShAmtAPInt->getZExtValue(); in visitAShr()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchISelDAGToDAG.cpp163 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), SDLoc(Op), in SelectInlineAsmMemoryOperand()
176 isAligned(Align(4ULL), CN->getZExtValue())) { in SelectInlineAsmMemoryOperand()
178 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), SDLoc(Op), in SelectInlineAsmMemoryOperand()
309 if (C && C->getZExtValue() == UINT64_C(0xFFFFFFFF)) { in selectZExti32()
363 SplatVal = CurDAG->getTargetConstant(ImmValue.getZExtValue(), SDLoc(N), in selectVSplatImm()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86SelectionDAGInfo.cpp70 ConstantSize->getZExtValue() > Subtarget.getMaxInlineSizeThreshold()) in EmitTargetCodeForMemset()
73 uint64_t SizeVal = ConstantSize->getZExtValue(); in EmitTargetCodeForMemset()
80 uint64_t Val = ValC->getZExtValue() & 255; in EmitTargetCodeForMemset()
286 ConstantSize->getZExtValue(), in EmitTargetCodeForMemcpy()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DIntegralAP.h48 : Extended.getZExtValue(); in truncateCast()
52 : V.trunc(BitSize).getZExtValue(); in truncateCast()
254 *R = IntegralAP(A.V.shl(B.V.getZExtValue())); in shiftLeft()
259 unsigned ShiftAmount = B.V.getZExtValue(); in shiftRight()

12345678910>>...19