| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | R600ISelDAGToDAG.cpp | 84 CurDAG->getIntPtrConstant(Cst->getZExtValue() / 4, SDLoc(Addr), true); in SelectGlobalValueConstantOffset() 149 Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32); in SelectADDRIndirect() 153 Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32); in SelectADDRIndirect() 157 Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32); in SelectADDRIndirect() 172 isInt<16>(IMMOffset->getZExtValue())) { in SelectADDRVTX_READ() 175 Offset = CurDAG->getTargetConstant(IMMOffset->getZExtValue(), SDLoc(Addr), in SelectADDRVTX_READ() 181 isInt<16>(IMMOffset->getZExtValue())) { in SelectADDRVTX_READ() 185 Offset = CurDAG->getTargetConstant(IMMOffset->getZExtValue(), SDLoc(Addr), in SelectADDRVTX_READ()
|
| H A D | AMDGPUISelDAGToDAG.cpp | 69 if (ShiftAmt->getZExtValue() == 16) { in isExtractHiElt() 464 Val = CF->getValueAPF().bitcastToAPInt().getZExtValue(); in SelectBuildVector() 466 Val = cast<ConstantSDNode>(Op)->getZExtValue(); in SelectBuildVector() 713 Imm = FP->getValueAPF().bitcastToAPInt().getZExtValue(); in Select() 718 Imm = C->getZExtValue(); in Select() 747 uint32_t OffsetVal = Offset->getZExtValue(); in Select() 748 uint32_t WidthVal = Width->getZExtValue(); in Select() 933 Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32); in SelectADDRIndirect() 937 Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32); in SelectADDRIndirect() 941 Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32); in SelectADDRIndirect() [all …]
|
| H A D | AMDGPUUnifyMetadata.cpp | 53 auto VersionMajor = CMajor->getZExtValue(); in unifyVersionMD() 55 auto VersionMinor = CMinor->getZExtValue(); in unifyVersionMD()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | MemoryLocation.cpp | 176 return MemoryLocation(Arg, LocationSize::precise(LenCI->getZExtValue()), in getForArgument() 187 LenCI->getZExtValue() * in getForArgument() 199 cast<ConstantInt>(II->getArgOperand(0))->getZExtValue()), in getForArgument() 226 cast<ConstantInt>(II->getArgOperand(1))->getZExtValue()), in getForArgument() 274 Size = LocationSize::upperBound(Len->getZExtValue()); in getForArgument() 285 Size = ArgIdx == 0 ? LocationSize::precise(Len->getZExtValue()) in getForArgument() 286 : LocationSize::upperBound(Len->getZExtValue()); in getForArgument() 305 return MemoryLocation(Arg, LocationSize::precise(LenCI->getZExtValue()), in getForArgument() 314 return MemoryLocation(Arg, LocationSize::precise(LenCI->getZExtValue()), in getForArgument() 321 return MemoryLocation(Arg, LocationSize::precise(LenCI->getZExtValue()), in getForArgument() [all …]
|
| 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() 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() 771 if (InnerOffset->getZExtValue() + InnerSize->getZExtValue() <= Offset) in shiftTBAAStruct() 774 uint64_t NewSize = InnerSize->getZExtValue(); in shiftTBAAStruct() 775 uint64_t NewOffset = InnerOffset->getZExtValue() - Offset; in shiftTBAAStruct() 776 if (InnerOffset->getZExtValue() < Offset) { in shiftTBAAStruct() 778 NewSize -= Offset - InnerOffset->getZExtValue(); in shiftTBAAStruct()
|
| H A D | MemoryProfileInfo.cpp | 167 CallStack.push_back(StackId->getZExtValue()); in addCallStack() 177 ->getZExtValue(); in addCallStack() 180 ->getZExtValue(); in addCallStack() 274 ->getZExtValue(); in saveFilteredNewMIBNodes() 277 ->getZExtValue(); in saveFilteredNewMIBNodes() 539 return StackIdCInt->getZExtValue(); in operator *() 545 ->getZExtValue(); in back()
|
| H A D | CtxProfAnalysis.cpp | 270 auto Index = Inst->getIndex()->getZExtValue(); in allNonColdSelectsHaveProfile() 321 auto Index = Ins->getIndex()->getZExtValue(); in ProfileAnnotatorImpl() 327 Count = Counters[Ins->getIndex()->getZExtValue()]; in ProfileAnnotatorImpl() 386 auto Index = Step->getIndex()->getZExtValue(); in getSelectInstrProfile() 446 ->getZExtValue(); in getGUID() 492 ProfileRootsInModule.insert(Guid.getZExtValue()); in run() 523 static_cast<uint32_t>(C->getNumCounters()->getZExtValue()); in run() 533 static_cast<uint32_t>(C->getNumCounters()->getZExtValue()); in run() 743 const uint32_t CallID = Instr->getIndex()->getZExtValue(); in collectIndirectCallPromotionList()
|
| H A D | AssumeBundleQueries.cpp | 63 ->getZExtValue(); in hasAttributeInAssume() 87 uint64_t Val = CI->getZExtValue(); in fillMapFromAssume() 112 return ConstInt->getZExtValue(); in getKnowledgeFromBundle()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZOperands.td | 183 uint64_t Value = N->getZExtValue() & 0x000000000000FFFFULL; 189 uint64_t Value = (N->getZExtValue() & 0x00000000FFFF0000ULL) >> 16; 195 uint64_t Value = (N->getZExtValue() & 0x0000FFFF00000000ULL) >> 32; 201 uint64_t Value = (N->getZExtValue() & 0xFFFF000000000000ULL) >> 48; 207 uint64_t Value = N->getZExtValue() & 0x00000000FFFFFFFFULL; 213 uint64_t Value = N->getZExtValue() >> 32; 219 uint64_t Value = (-N->getZExtValue() & 0x00000000FFFF0000ULL) >> 16; 224 uint64_t Value = -N->getZExtValue() & 0x00000000FFFFFFFFULL; 236 return CurDAG->getTargetConstant(uint8_t(N->getZExtValue()), SDLoc(N), 242 return CurDAG->getTargetConstant(N->getZExtValue() & 0xfe, SDLoc(N), [all …]
|
| H A D | SystemZSelectionDAGInfo.cpp | 79 CSize->getZExtValue()); in EmitTargetCodeForMemcpy() 109 uint64_t Bytes = CSize->getZExtValue(); in EmitTargetCodeForMemset() 117 uint64_t ByteVal = CByte->getZExtValue(); in EmitTargetCodeForMemset() 152 if (CByte && CByte->getZExtValue() == 0) in EmitTargetCodeForMemset() 160 if (CByte && CByte->getZExtValue() == 0) in EmitTargetCodeForMemset() 189 uint64_t Bytes = CSize->getZExtValue(); in EmitTargetCodeForMemcmp()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | PseudoProbe.cpp | 59 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 D | Module.cpp | 580 return cast<ConstantInt>(Val->getValue())->getZExtValue(); in getNumberRegisterParameters() 587 return cast<ConstantInt>(Val->getValue())->getZExtValue(); in getDwarfVersion() 599 return cast<ConstantInt>(Val->getValue())->getZExtValue(); in getCodeViewFlag() 622 cast<ConstantInt>(Val->getValue())->getZExtValue()); in getPICLevel() 638 cast<ConstantInt>(Val->getValue())->getZExtValue()); in getPIELevel() 652 cast<ConstantInt>(Val->getValue())->getZExtValue()); in getCodeModel() 670 return cast<ConstantInt>(Val->getValue())->getZExtValue(); in getLargeDataThreshold() 699 return cast<ConstantInt>(Val->getValue())->getZExtValue(); in getSemanticInterposition() 712 return Val && (cast<ConstantInt>(Val->getValue())->getZExtValue() > 0); in getRtLibUseGOT() 723 return cast<ConstantInt>(Val->getValue())->getZExtValue() > 0; in getDirectAccessExternalData() [all …]
|
| H A D | ProfDataUtils.cpp | 83 Weights[Idx - WeightsIdx] = Weight->getZExtValue(); in extractFromBranchWeightMD() 226 TotalVal += V->getValue().getZExtValue(); in extractProfTotalWeight() 235 .getZExtValue(); in extractProfTotalWeight() 301 .getZExtValue()); in scaleProfData() 312 .getZExtValue(); in scaleProfData()
|
| H A D | Operator.cpp | 100 Offset = SL->getElementOffset(OpC->getZExtValue()); in getMaxPreservedAlignment() 105 const uint64_t ElemCount = OpC ? OpC->getZExtValue() : 1; in getMaxPreservedAlignment() 179 unsigned ElementIdx = ConstOffset->getZExtValue(); in accumulateConstantOffset() 244 unsigned ElementIdx = ConstOffset->getZExtValue(); in collectOffset()
|
| H A D | ProfileSummary.cpp | 121 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()
|
| H A D | AbstractCallSite.cpp | 48 cast<ConstantInt>(CBCalleeIdxAsCM->getValue())->getZExtValue(); in getCallbackUses() 106 cast<ConstantInt>(CBCalleeIdxAsCM->getValue())->getZExtValue(); in AbstractCallSite()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64GlobalISelUtils.cpp | 58 return MaybeZero && MaybeZero->Value.getZExtValue() == 0; in isCMN() 104 if (isUInt<16>(ConstDiscVal->getZExtValue())) { in extractPtrauthBlendDiscriminators() 105 ConstDisc = ConstDiscVal->getZExtValue(); in extractPtrauthBlendDiscriminators() 118 if (isUInt<16>(ConstDiscVal->getZExtValue())) { in extractPtrauthBlendDiscriminators() 119 ConstDisc = ConstDiscVal->getZExtValue(); in extractPtrauthBlendDiscriminators()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Statepoint.h | 88 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 D | ExternalFunctions.cpp | 161 *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 D | ARMAddressingModes.h | 655 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/Transforms/Scalar/ |
| H A D | MemCpyOptimizer.cpp | 192 int64_t Size = cast<ConstantInt>(MSI->getLength())->getZExtValue(); in addMemSet() 880 uint64_t srcSize = SrcAllocaSize * srcArraySize->getZExtValue(); in performCallSlotOptzn() 1148 if (MDepLen->getZExtValue() < MLen->getZExtValue() + MForwardOffset) { in processMemCpyMemCpyDependence() 1151 if (MDepLen->getZExtValue() <= (uint64_t)MForwardOffset) in processMemCpyMemCpyDependence() 1156 MDepLen->getZExtValue() - MForwardOffset); in processMemCpyMemCpyDependence() 1178 LocationSize::precise(ConstLength->getZExtValue())); in processMemCpyMemCpyDependence() 1344 Alignment = commonAlignment(DestAlign, SrcSizeC->getZExtValue()); in processMemSetMemCpyDependence() 1401 LTSize->getZExtValue() >= CSize->getZExtValue()) in hasUndefContents() 1478 CCopySize->getZExtValue() + MOffset > CMemSetSize->getZExtValue()) { in performMemCpyToMemSetOptzn() 1485 assert(CCopySize->getZExtValue() + MOffset > in performMemCpyToMemSetOptzn() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | IntegralAP.h | 55 : Extended.getZExtValue(); in truncateCast() 59 : V.trunc(BitSize).getZExtValue(); in truncateCast() 86 Val = V.getZExtValue(); in copy() 102 Val = Signed ? V.getSExtValue() : V.getZExtValue(); in IntegralAP() 304 *R = IntegralAP(A.getValue().shl(B.getValue().getZExtValue())); in shiftLeft() 309 unsigned ShiftAmount = B.getValue().getZExtValue(); in shiftRight()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXILResourceImplicitBinding.cpp | 63 int OrderID = cast<ConstantInt>(CI->getArgOperand(0))->getZExtValue(); in assignBindings() 91 cast<ConstantInt>(IB.Call->getArgOperand(1))->getZExtValue(); in assignBindings() 93 cast<ConstantInt>(IB.Call->getArgOperand(2))->getZExtValue(); in assignBindings()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFInstrInfo.td | 94 [{return isUInt<32>(N->getZExtValue()); }]>; 97 return CurDAG->getTargetConstant(N->getZExtValue(), SDLoc(N), MVT::i64); 114 [{return (N->getZExtValue() == ISD::SETEQ);}]>; 116 [{return (N->getZExtValue() == ISD::SETNE);}]>; 118 [{return (N->getZExtValue() == ISD::SETGE);}]>; 120 [{return (N->getZExtValue() == ISD::SETGT);}]>; 122 [{return (N->getZExtValue() == ISD::SETUGT);}]>; 124 [{return (N->getZExtValue() == ISD::SETUGE);}]>; 126 [{return (N->getZExtValue() == ISD::SETLE);}]>; 128 [{return (N->getZExtValue() == ISD::SETLT);}]>; [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | NativeSymbolEnumerator.cpp | 100 uint64_t U = Record.Value.getZExtValue(); in getValue() 115 uint64_t U = Record.Value.getZExtValue(); in getValue()
|