| /openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/ |
| H A D | SystemZOperands.td | 178 uint64_t Value = N->getZExtValue() & 0x000000000000FFFFULL; 184 uint64_t Value = (N->getZExtValue() & 0x00000000FFFF0000ULL) >> 16; 190 uint64_t Value = (N->getZExtValue() & 0x0000FFFF00000000ULL) >> 32; 196 uint64_t Value = (N->getZExtValue() & 0xFFFF000000000000ULL) >> 48; 202 uint64_t Value = N->getZExtValue() & 0x00000000FFFFFFFFULL; 208 uint64_t Value = N->getZExtValue() >> 32; 214 uint64_t Value = (-N->getZExtValue() & 0x00000000FFFF0000ULL) >> 16; 219 uint64_t Value = -N->getZExtValue() & 0x00000000FFFFFFFFULL; 225 return CurDAG->getTargetConstant(int8_t(N->getZExtValue()), SDLoc(N), 231 return CurDAG->getTargetConstant(uint8_t(N->getZExtValue()), SDLoc(N), [all …]
|
| H A D | SystemZSelectionDAGInfo.cpp | 69 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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | R600ISelDAGToDAG.cpp | 72 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 D | AMDGPUISelDAGToDAG.cpp | 69 if (ShiftAmt->getZExtValue() == 16) { in isExtractHiElt() 378 unsigned RCID = cast<ConstantSDNode>(N->getOperand(0))->getZExtValue(); in getOperandRegClass() 383 unsigned SubRegIdx = cast<ConstantSDNode>(SubRegOp)->getZExtValue(); in getOperandRegClass() 601 Imm = FP->getValueAPF().bitcastToAPInt().getZExtValue(); in Select() 604 Imm = C->getZExtValue(); in Select() 631 uint32_t OffsetVal = Offset->getZExtValue(); in Select() 632 uint32_t WidthVal = Width->getZExtValue(); in Select() 791 Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32); in SelectADDRIndirect() 795 Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32); in SelectADDRIndirect() 799 Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32); in SelectADDRIndirect() [all …]
|
| /openbsd-src/gnu/llvm/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() 201 for (uint64_t ShiftAmt = MinShiftAmount.getZExtValue(), in shl() 202 MaxShiftAmt = MaxShiftAmount.getZExtValue(); in shl() 226 unsigned Shift = RHS.getConstant().getZExtValue(); in lshr() 241 MinLeadingZeros += MinShiftAmount.getZExtValue(); in lshr() 249 uint64_t ShiftAmtZeroMask = (~RHS.Zero).getZExtValue(); in lshr() 250 uint64_t ShiftAmtOneMask = RHS.One.getZExtValue(); in lshr() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | MemoryLocation.cpp | 183 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 D | TypeBasedAliasAnalysis.cpp | 231 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() 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()
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | PseudoProbe.cpp | 52 Probe.Id = II->getIndex()->getZExtValue(); in extractProbe() 54 Probe.Attr = II->getAttributes()->getZExtValue(); in extractProbe() 55 Probe.Factor = II->getFactor()->getZExtValue() / in extractProbe() 74 auto OrigFactor = II->getFactor()->getZExtValue(); in setProbeDistributionFactor()
|
| H A D | Module.cpp | 553 return cast<ConstantInt>(Val->getValue())->getZExtValue(); in getNumberRegisterParameters() 560 return cast<ConstantInt>(Val->getValue())->getZExtValue(); in getDwarfVersion() 572 return cast<ConstantInt>(Val->getValue())->getZExtValue(); in getCodeViewFlag() 595 cast<ConstantInt>(Val->getValue())->getZExtValue()); in getPICLevel() 611 cast<ConstantInt>(Val->getValue())->getZExtValue()); in getPIELevel() 625 cast<ConstantInt>(Val->getValue())->getZExtValue()); in getCodeModel() 655 return cast<ConstantInt>(Val->getValue())->getZExtValue(); in getSemanticInterposition() 668 return Val && (cast<ConstantInt>(Val->getValue())->getZExtValue() > 0); in getRtLibUseGOT() 677 return UWTableKind(cast<ConstantInt>(Val->getValue())->getZExtValue()); in getUwtable() 688 Val ? cast<ConstantInt>(Val->getValue())->getZExtValue() : 0); in getFramePointer() [all …]
|
| H A D | ProfDataUtils.cpp | 63 Weights[Idx - WeightsIdx] = Weight->getZExtValue(); in extractWeights() 168 TotalVal += V->getValue().getZExtValue(); in extractProfTotalWeight() 177 .getZExtValue(); in extractProfTotalWeight()
|
| H A D | Operator.cpp | 78 Offset = SL->getElementOffset(OpC->getZExtValue()); in getMaxPreservedAlignment() 83 const uint64_t ElemCount = OpC ? OpC->getZExtValue() : 1; in getMaxPreservedAlignment() 146 unsigned ElementIdx = ConstOffset->getZExtValue(); in accumulateConstantOffset() 209 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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/ |
| H A D | AArch64MachineFunctionInfo.cpp | 48 if (Sign->getZExtValue()) { in GetSignReturnAddress() 51 return {true, All->getZExtValue()}; in GetSignReturnAddress() 73 return BKey->getZExtValue(); in ShouldSignWithBKey() 99 BranchTargetEnforcement = BTE->getZExtValue(); in AArch64FunctionInfo()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/ARM/ |
| H A D | ARMMachineFunctionInfo.cpp | 24 return BTE->getZExtValue(); in GetBranchTargetEnforcement() 42 if (Sign->getZExtValue()) { in GetSignReturnAddress() 45 return {true, All->getZExtValue()}; in GetSignReturnAddress()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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() 389 sprintf(Buffer, FmtBuf, uint32_t(Args[ArgNo++].IntVal.getZExtValue())); in lle_X_sprintf() 405 sprintf(Buffer, FmtBuf, Args[ArgNo++].IntVal.getZExtValue()); in lle_X_sprintf() 407 sprintf(Buffer, FmtBuf,uint32_t(Args[ArgNo++].IntVal.getZExtValue())); in lle_X_sprintf() 489 size_t len = (size_t)Args[2].IntVal.getZExtValue(); in lle_X_memset()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-exegesis/lib/Mips/ |
| H A D | Target.cpp | 92 .addImm(Value.getZExtValue())}; in loadImmediate() 97 const uint16_t HiBits = Value.getHiBits(16).getZExtValue(); in loadImmediate() 118 const uint16_t LoBits = Value.getLoBits(16).getZExtValue(); in loadImmediate()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVISelLowering.cpp | 60 Info.align = Align(AlignOp->getZExtValue()); in getTgtMemIntrinsic() 63 cast<ConstantInt>(I.getOperand(AlignIdx - 1))->getZExtValue()); in getTgtMemIntrinsic()
|
| /openbsd-src/gnu/llvm/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() 1161 const unsigned Lo = SplatValue.getLoBits(16).getZExtValue(); in trySelect() 1170 const unsigned Lo = SplatValue.getLoBits(16).getZExtValue(); in trySelect() 1171 const unsigned Hi = SplatValue.lshr(16).getLoBits(16).getZExtValue(); in trySelect() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/LoongArch/ |
| H A D | LoongArchISelDAGToDAG.cpp | 104 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), SDLoc(Op), in SelectInlineAsmMemoryOperand() 117 isAligned(Align(4ULL), CN->getZExtValue())) { in SelectInlineAsmMemoryOperand() 119 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), SDLoc(Op), in SelectInlineAsmMemoryOperand() 231 if (C && C->getZExtValue() == UINT64_C(0xFFFFFFFF)) { in selectZExti32()
|
| H A D | LoongArchISelLowering.cpp | 294 unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue(); in lowerFRAMEADDR() 313 if (cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue() != 0) { in lowerRETURNADDR() 363 if (C && C->getZExtValue() < UINT64_C(0xFFFFFFFF)) in lowerUINT_TO_FP() 637 unsigned Imm = cast<ConstantSDNode>(Op.getOperand(2))->getZExtValue(); in lowerINTRINSIC_W_CHAIN() 648 unsigned Imm = cast<ConstantSDNode>(Op.getOperand(3))->getZExtValue(); in lowerINTRINSIC_W_CHAIN() 659 unsigned Imm = cast<ConstantSDNode>(Op.getOperand(4))->getZExtValue(); in lowerINTRINSIC_W_CHAIN() 700 unsigned Imm = cast<ConstantSDNode>(Op.getOperand(3))->getZExtValue(); in lowerINTRINSIC_W_CHAIN() 716 unsigned Imm = cast<ConstantSDNode>(Op.getOperand(2))->getZExtValue(); in lowerINTRINSIC_W_CHAIN() 768 unsigned Imm1 = cast<ConstantSDNode>(Op2)->getZExtValue(); in lowerINTRINSIC_VOID() 780 unsigned Imm = cast<ConstantSDNode>(Op2)->getZExtValue(); in lowerINTRINSIC_VOID() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineShifts.cpp | 424 unsigned PosOffset = (-*AddC).getZExtValue(); in commonShiftTransforms() 505 unsigned InnerShAmt = InnerShiftConst->getZExtValue(); in canEvaluateShiftedShift() 591 unsigned InnerShAmt = C1->getZExtValue(); in foldShiftedShift() 762 canEvaluateShifted(Op0, Op1C->getZExtValue(), IsLeftShift, *this, &I)) { in FoldShiftByConstant() 769 I, getShiftedValue(Op0, Op1C->getZExtValue(), IsLeftShift, *this, DL)); in FoldShiftByConstant() 870 const unsigned ShAmt = ShAmtAPInt->getZExtValue(); in foldLShrOverflowBit() 932 unsigned ShAmtC = C->getZExtValue(); in visitShl() 953 unsigned ShrAmt = C1->getZExtValue(); in visitShl() 974 unsigned ShrAmt = C1->getZExtValue(); in visitShl() 1003 unsigned ShrAmtC = C1->getZExtValue(); in visitShl() [all …]
|
| /openbsd-src/gnu/llvm/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);}]>; 93 [{return (N->getZExtValue() == ISD::SETUGT);}]>; 95 [{return (N->getZExtValue() == ISD::SETUGE);}]>; 97 [{return (N->getZExtValue() == ISD::SETLE);}]>; 99 [{return (N->getZExtValue() == ISD::SETLT);}]>; 101 [{return (N->getZExtValue() == ISD::SETULT);}]>; 103 [{return (N->getZExtValue() == ISD::SETULE);}]>; [all …]
|
| /openbsd-src/gnu/llvm/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()
|