Home
last modified time | relevance | path

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

12345678910>>...19

/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZOperands.td176 uint64_t Value = N->getZExtValue() & 0x000000000000FFFFULL;
182 uint64_t Value = (N->getZExtValue() & 0x00000000FFFF0000ULL) >> 16;
188 uint64_t Value = (N->getZExtValue() & 0x0000FFFF00000000ULL) >> 32;
194 uint64_t Value = (N->getZExtValue() & 0xFFFF000000000000ULL) >> 48;
200 uint64_t Value = N->getZExtValue() & 0x00000000FFFFFFFFULL;
206 uint64_t Value = N->getZExtValue() >> 32;
212 uint64_t Value = (-N->getZExtValue() & 0x00000000FFFF0000ULL) >> 16;
217 uint64_t Value = -N->getZExtValue() & 0x00000000FFFFFFFFULL;
223 return CurDAG->getTargetConstant(int8_t(N->getZExtValue()), SDLoc(N),
229 return CurDAG->getTargetConstant(uint8_t(N->getZExtValue()), SDLo
[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()
H A DSystemZTargetTransformInfo.cpp94 if (isUInt<32>(Imm.getZExtValue())) in getIntImmCost()
97 if ((Imm.getZExtValue() & 0xffffffff) == 0) in getIntImmCost()
148 if (isUInt<32>(Imm.getZExtValue())) in getIntImmCostInst()
156 if (isUInt<32>(Imm.getZExtValue())) in getIntImmCostInst()
174 if (isUInt<32>(Imm.getZExtValue())) in getIntImmCostInst()
177 if ((Imm.getZExtValue() & 0xffffffff) == 0) in getIntImmCostInst()
187 if (isUInt<32>(~Imm.getZExtValue())) in getIntImmCostInst()
190 if ((Imm.getZExtValue() & 0xffffffff) == 0xffffffff) in getIntImmCostInst()
195 if (TII->isRxSBGMask(Imm.getZExtValue(), BitSize, Start, End)) in getIntImmCostInst()
251 if (isUInt<32>(Imm.getZExtValue())) in getIntImmCostIntrin()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600ISelDAGToDAG.cpp83 CurDAG->getIntPtrConstant(Cst->getZExtValue() / 4, SDLoc(Addr), true); in SelectGlobalValueConstantOffset()
148 Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32); in SelectADDRIndirect()
152 Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32); in SelectADDRIndirect()
156 Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32); in SelectADDRIndirect()
171 isInt<16>(IMMOffset->getZExtValue())) { in SelectADDRVTX_READ()
174 Offset = CurDAG->getTargetConstant(IMMOffset->getZExtValue(), SDLoc(Addr), in SelectADDRVTX_READ()
180 isInt<16>(IMMOffset->getZExtValue())) { in SelectADDRVTX_READ()
184 Offset = CurDAG->getTargetConstant(IMMOffset->getZExtValue(), SDLoc(Addr), in SelectADDRVTX_READ()
H A DAMDGPUISelDAGToDAG.cpp71 if (ShiftAmt->getZExtValue() == 16) { in isExtractHiElt()
597 Imm = FP->getValueAPF().bitcastToAPInt().getZExtValue(); in Select()
602 Imm = C->getZExtValue(); in Select()
631 uint32_t OffsetVal = Offset->getZExtValue(); in Select()
632 uint32_t WidthVal = Width->getZExtValue(); in Select()
817 Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32); in SelectADDRIndirect()
821 Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32); in SelectADDRIndirect()
825 Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32); in SelectADDRIndirect()
1091 Offset = CurDAG->getTargetConstant(C1->getZExtValue(), DL, MVT::i16); in SelectDS1Addr1Offset()
1137 if (isDSOffsetLegal(SDValue(), CAddr->getZExtValue())) { in SelectDS1Addr1Offset()
[all …]
H A DAMDGPUUnifyMetadata.cpp64 auto VersionMajor = CMajor->getZExtValue(); in unifyVersionMD()
66 auto VersionMinor = CMinor->getZExtValue(); in unifyVersionMD()
H A DAMDGPUInstCombineIntrinsic.cpp610 CMask->getZExtValue() & fcAllFlags)); in instCombineIntrinsic()
683 Width = CWidth->getZExtValue(); in instCombineIntrinsic()
698 Offset = COffset->getZExtValue(); in instCombineIntrinsic()
736 unsigned EnBits = En->getZExtValue(); in instCombineIntrinsic()
844 int64_t CCVal = CC->getZExtValue(); in instCombineIntrinsic()
1016 if (!C || !C->getZExtValue()) in instCombineIntrinsic()
1028 if (BC->isZeroValue() || RM->getZExtValue() != 0xF || in instCombineIntrinsic()
1029 BM->getZExtValue() != 0xF || isa<UndefValue>(Old)) in instCombineIntrinsic()
1057 if (!FetchInvalid->getZExtValue() && !BoundCtrl->getZExtValue()) in instCombineIntrinsic()
1139 unsigned Exponent = (Fsrc.bitcastToAPInt().getZExtValue() >> 52) & 0x7ff; in instCombineIntrinsic()
[all …]
/freebsd/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.cpp232 return mdconst::extract<ConstantInt>(Node->getOperand(2))->getZExtValue(); in getOffset()
238 return mdconst::extract<ConstantInt>(Node->getOperand(3))->getZExtValue(); in getSize()
325 : mdconst::extract<ConstantInt>(Operands[2])->getZExtValue(); in getField()
343 mdconst::extract<ConstantInt>(Operands[Idx + 1])->getZExtValue(); in getField()
355 mdconst::extract<ConstantInt>(Operands[TheIdx + 1])->getZExtValue(); in getField()
768 if (InnerOffset->getZExtValue() + InnerSize->getZExtValue() <= Offset) in shiftTBAAStruct()
771 uint64_t NewSize = InnerSize->getZExtValue(); in shiftTBAAStruct()
772 uint64_t NewOffset = InnerOffset->getZExtValue() - Offset; in shiftTBAAStruct()
773 if (InnerOffset->getZExtValue() < Offset) { in shiftTBAAStruct()
775 NewSize -= Offset - InnerOffset->getZExtValue(); in shiftTBAAStruct()
H A DMemoryProfileInfo.cpp104 return mdconst::dyn_extract<ConstantInt>(MIB->getOperand(2))->getZExtValue(); in getMIBTotalSize()
181 CallStack.push_back(StackId->getZExtValue()); in addCallStack()
303 return StackIdCInt->getZExtValue(); in operator *()
309 ->getZExtValue(); in back()
H A DAssumeBundleQueries.cpp63 ->getZExtValue(); in hasAttributeInAssume()
87 uint64_t Val = CI->getZExtValue(); in fillMapFromAssume()
111 return ConstInt->getZExtValue(); in getKnowledgeFromBundle()
/freebsd/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.cpp570 return cast<ConstantInt>(Val->getValue())->getZExtValue(); in getNumberRegisterParameters()
577 return cast<ConstantInt>(Val->getValue())->getZExtValue(); in getDwarfVersion()
589 return cast<ConstantInt>(Val->getValue())->getZExtValue(); in getCodeViewFlag()
612 cast<ConstantInt>(Val->getValue())->getZExtValue()); in getPICLevel()
628 cast<ConstantInt>(Val->getValue())->getZExtValue()); in getPIELevel()
642 cast<ConstantInt>(Val->getValue())->getZExtValue()); in getCodeModel()
660 return cast<ConstantInt>(Val->getValue())->getZExtValue(); in getLargeDataThreshold()
689 return cast<ConstantInt>(Val->getValue())->getZExtValue(); in getSemanticInterposition()
702 return Val && (cast<ConstantInt>(Val->getValue())->getZExtValue() > 0); in getRtLibUseGOT()
713 return cast<ConstantInt>(Val->getValue())->getZExtValue() > 0; in getDirectAccessExternalData()
[all …]
H A DProfDataUtils.cpp86 Weights[Idx - WeightsIdx] = Weight->getZExtValue(); in extractFromBranchWeightMD()
221 TotalVal += V->getValue().getZExtValue(); in extractProfTotalWeight()
229 .getZExtValue(); in extractProfTotalWeight()
273 .getZExtValue()); in scaleProfData()
284 .getZExtValue(); in scaleProfData()
H A DOperator.cpp98 Offset = SL->getElementOffset(OpC->getZExtValue()); in getMaxPreservedAlignment()
103 const uint64_t ElemCount = OpC ? OpC->getZExtValue() : 1; in getMaxPreservedAlignment()
173 unsigned ElementIdx = ConstOffset->getZExtValue(); in accumulateConstantOffset()
235 unsigned ElementIdx = ConstOffset->getZExtValue(); in collectOffset()
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/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64GlobalISelUtils.cpp60 return MaybeZero && MaybeZero->Value.getZExtValue() == 0; in isCMN()
106 if (isUInt<16>(ConstDiscVal->getZExtValue())) { in extractPtrauthBlendDiscriminators()
107 ConstDisc = ConstDiscVal->getZExtValue(); in extractPtrauthBlendDiscriminators()
120 if (isUInt<16>(ConstDiscVal->getZExtValue())) { in extractPtrauthBlendDiscriminators()
121 ConstDisc = ConstDiscVal->getZExtValue(); in extractPtrauthBlendDiscriminators()
/freebsd/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/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/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/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFInstrInfo.td93 [{return isUInt<32>(N->getZExtValue()); }]>;
96 return CurDAG->getTargetConstant(N->getZExtValue(), SDLoc(N), MVT::i64);
113 [{return (N->getZExtValue() == ISD::SETEQ);}]>;
115 [{return (N->getZExtValue() == ISD::SETNE);}]>;
117 [{return (N->getZExtValue() == ISD::SETGE);}]>;
119 [{return (N->getZExtValue() == ISD::SETGT);}]>;
121 [{return (N->getZExtValue() == ISD::SETUGT);}]>;
123 [{return (N->getZExtValue() == ISD::SETUGE);}]>;
125 [{return (N->getZExtValue() == ISD::SETLE);}]>;
127 [{return (N->getZExtValue() == ISD::SETLT);}]>;
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchISelDAGToDAG.cpp168 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), SDLoc(Op), in SelectInlineAsmMemoryOperand()
181 isAligned(Align(4ULL), CN->getZExtValue())) { in SelectInlineAsmMemoryOperand()
183 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), SDLoc(Op), in SelectInlineAsmMemoryOperand()
314 if (C && C->getZExtValue() == UINT64_C(0xFFFFFFFF)) { in selectZExti32()
368 SplatVal = CurDAG->getTargetConstant(ImmValue.getZExtValue(), SDLoc(N), in selectVSplatImm()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVUtils.cpp85 MIB.addImm(Imm.getZExtValue()); in addNumImm()
91 uint64_t FullImm = Imm.getZExtValue(); in addNumImm()
151 .addImm(static_cast<uint32_t>(DecorationId->getZExtValue())); in buildOpSpirvDecorations()
155 MIB.addImm(static_cast<uint32_t>(OpV->getZExtValue())); in buildOpSpirvDecorations()
276 return MI->getOperand(1).getCImm()->getValue().getZExtValue(); in getIConstVal()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64AddressingModes.h368 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()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp466 unsigned PosOffset = (-*AddC).getZExtValue(); in commonShiftTransforms()
550 unsigned InnerShAmt = InnerShiftConst->getZExtValue(); in canEvaluateShiftedShift()
635 unsigned InnerShAmt = C1->getZExtValue(); in foldShiftedShift()
815 canEvaluateShifted(Op0, Op1C->getZExtValue(), IsLeftShift, *this, &I)) { in FoldShiftByConstant()
822 I, getShiftedValue(Op0, Op1C->getZExtValue(), IsLeftShift, *this, DL)); in FoldShiftByConstant()
923 const unsigned ShAmt = ShAmtAPInt->getZExtValue(); in foldLShrOverflowBit()
1041 unsigned ShAmtC = C->getZExtValue(); in visitShl()
1062 unsigned ShrAmt = C1->getZExtValue(); in visitShl()
1087 unsigned ShrAmt = C1->getZExtValue(); in visitShl()
1120 unsigned ShrAmtC = C1->getZExtValue(); in visitShl()
[all …]

12345678910>>...19