/netbsd-src/external/apache2/llvm/dist/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 | SystemZISelDAGToDAG.cpp | 738 uint64_t AndMask = MaskNode->getZExtValue(); in detectOrAndInsertion() 747 if (Used != (AndMask | InsertMask | Known.Zero.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() 844 RxSBG.Rotate = (RxSBG.Rotate + CountNode->getZExtValue()) & 63; in expandRxSBG() 889 uint64_t Count = CountNode->getZExtValue(); in expandRxSBG() 916 uint64_t Count = CountNode->getZExtValue(); in expandRxSBG() 1185 unsigned Elem = ElemN->getZExtValue(); in tryGather() [all …]
|
H A D | SystemZTargetTransformInfo.cpp | 54 if (isUInt<32>(Imm.getZExtValue())) in getIntImmCost() 57 if ((Imm.getZExtValue() & 0xffffffff) == 0) in getIntImmCost() 107 if (isUInt<32>(Imm.getZExtValue())) in getIntImmCostInst() 115 if (isUInt<32>(Imm.getZExtValue())) in getIntImmCostInst() 133 if (isUInt<32>(Imm.getZExtValue())) in getIntImmCostInst() 136 if ((Imm.getZExtValue() & 0xffffffff) == 0) in getIntImmCostInst() 146 if (isUInt<32>(~Imm.getZExtValue())) in getIntImmCostInst() 149 if ((Imm.getZExtValue() & 0xffffffff) == 0xffffffff) in getIntImmCostInst() 154 if (TII->isRxSBGMask(Imm.getZExtValue(), BitSize, Start, End)) in getIntImmCostInst() 210 if (isUInt<32>(Imm.getZExtValue())) in getIntImmCostIntrin()
|
/netbsd-src/external/apache2/llvm/dist/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() 142 return std::hash<uint64_t>()(I->getFuncGuid()->getZExtValue()) ^ in removeRedundantPseudoProbes() 143 std::hash<uint64_t>()(I->getIndex()->getZExtValue()); in removeRedundantPseudoProbes() 159 if (II->getAttributes()->getZExtValue() & in removeRedundantPseudoProbes()
|
H A D | Module.cpp | 552 return cast<ConstantInt>(Val->getValue())->getZExtValue(); in getNumberRegisterParameters() 559 return cast<ConstantInt>(Val->getValue())->getZExtValue(); in getDwarfVersion() 571 return cast<ConstantInt>(Val->getValue())->getZExtValue(); in getCodeViewFlag() 594 cast<ConstantInt>(Val->getValue())->getZExtValue()); in getPICLevel() 608 cast<ConstantInt>(Val->getValue())->getZExtValue()); in getPIELevel() 622 cast<ConstantInt>(Val->getValue())->getZExtValue()); in getCodeModel() 652 return cast<ConstantInt>(Val->getValue())->getZExtValue(); in getSemanticInterposition() 665 return Val && (cast<ConstantInt>(Val->getValue())->getZExtValue() > 0); in getRtLibUseGOT() 674 return Val && (cast<ConstantInt>(Val->getValue())->getZExtValue() > 0); in getUwtable() 682 Val ? cast<ConstantInt>(Val->getValue())->getZExtValue() : 0); in getFramePointer()
|
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()
|
/netbsd-src/external/apache2/llvm/dist/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 …]
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUISelDAGToDAG.cpp | 335 if (ShiftAmt->getZExtValue() == 16) { in isExtractHiElt() 584 unsigned RCID = cast<ConstantSDNode>(N->getOperand(0))->getZExtValue(); in getOperandRegClass() 589 unsigned SubRegIdx = cast<ConstantSDNode>(SubRegOp)->getZExtValue(); in getOperandRegClass() 807 Imm = FP->getValueAPF().bitcastToAPInt().getZExtValue(); in Select() 810 Imm = C->getZExtValue(); in Select() 837 uint32_t OffsetVal = Offset->getZExtValue(); in Select() 838 uint32_t WidthVal = Width->getZExtValue(); in Select() 985 Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32); in SelectADDRIndirect() 989 Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32); in SelectADDRIndirect() 993 Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32); in SelectADDRIndirect() [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()
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | ExternalFunctions.cpp | 150 *I8Ptr = (int8_t) AV.IntVal.getZExtValue(); in ffiValueFor() 155 *I16Ptr = (int16_t) AV.IntVal.getZExtValue(); in ffiValueFor() 160 *I32Ptr = (int32_t) AV.IntVal.getZExtValue(); in ffiValueFor() 165 *I64Ptr = (int64_t) AV.IntVal.getZExtValue(); in ffiValueFor() 375 sprintf(Buffer, FmtBuf, uint32_t(Args[ArgNo++].IntVal.getZExtValue())); in lle_X_sprintf() 391 sprintf(Buffer, FmtBuf, Args[ArgNo++].IntVal.getZExtValue()); in lle_X_sprintf() 393 sprintf(Buffer, FmtBuf,uint32_t(Args[ArgNo++].IntVal.getZExtValue())); in lle_X_sprintf() 475 size_t len = (size_t)Args[2].IntVal.getZExtValue(); in lle_X_memset()
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/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() 1128 const unsigned Lo = SplatValue.getLoBits(16).getZExtValue(); in trySelect() 1137 const unsigned Lo = SplatValue.getLoBits(16).getZExtValue(); in trySelect() 1138 const unsigned Hi = SplatValue.lshr(16).getLoBits(16).getZExtValue(); in trySelect() [all …]
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/ |
H A D | VectorCombine.cpp | 174 OffsetEltIndex = Offset.udiv(ScalarSizeInBytes).getZExtValue(); in vectorizeLoadInsert() 184 Alignment = commonAlignment(Alignment, Offset.getZExtValue()); in vectorizeLoadInsert() 240 unsigned Index0 = cast<ConstantInt>(Ext0->getIndexOperand())->getZExtValue(); in getShuffleExtract() 241 unsigned Index1 = cast<ConstantInt>(Ext1->getIndexOperand())->getZExtValue(); in getShuffleExtract() 310 unsigned Ext0Index = cast<ConstantInt>(Ext0->getOperand(1))->getZExtValue(); in isExtractExtractCheap() 311 unsigned Ext1Index = cast<ConstantInt>(Ext1->getOperand(1))->getZExtValue(); in isExtractExtractCheap() 398 Value *Shuf = createShiftShuffle(X, cast<ConstantInt>(C)->getZExtValue(), in translateExtract() 409 assert(cast<ConstantInt>(Ext0->getIndexOperand())->getZExtValue() == in foldExtExtCmp() 410 cast<ConstantInt>(Ext1->getIndexOperand())->getZExtValue() && in foldExtExtCmp() 428 assert(cast<ConstantInt>(Ext0->getIndexOperand())->getZExtValue() == in foldExtExtBinop() [all …]
|
/netbsd-src/external/apache2/llvm/dist/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 …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyISelDAGToDAG.cpp | 93 cast<ConstantSDNode>(Node->getOperand(2).getNode())->getZExtValue(); in Select() 127 unsigned IntNo = cast<ConstantSDNode>(Node->getOperand(0))->getZExtValue(); in Select() 147 unsigned IntNo = cast<ConstantSDNode>(Node->getOperand(1))->getZExtValue(); in Select()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
H A D | X86InstCombineIntrinsic.cpp | 396 ShiftAmts.push_back((int)ShiftVal.getZExtValue()); in simplifyX86varShift() 575 uint8_t Imm = CInt->getZExtValue(); in simplifyX86insertps() 643 unsigned Index = APIndex.getZExtValue(); in simplifyX86extrq() 647 unsigned Length = APLength == 0 ? 64 : APLength.getZExtValue(); in simplifyX86extrq() 690 return LowConstantHighUndef(Elt.getZExtValue()); in simplifyX86extrq() 720 unsigned Index = APIndex.getZExtValue(); in simplifyX86insertq() 724 unsigned Length = APLength == 0 ? 64 : APLength.getZExtValue(); in simplifyX86insertq() 782 Constant *Args[] = {ConstantInt::get(IntTy64, Val.getZExtValue()), in simplifyX86insertq() 830 int8_t Index = cast<ConstantInt>(COp)->getValue().getZExtValue(); in simplifyX86pshufb() 888 Indexes[I] = Index.getZExtValue(); in simplifyX86vpermilvar() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineShifts.cpp | 462 unsigned InnerShAmt = InnerShiftConst->getZExtValue(); in canEvaluateShiftedShift() 541 unsigned InnerShAmt = C1->getZExtValue(); in foldShiftedShift() 673 canEvaluateShifted(Op0, Op1C->getZExtValue(), isLeftShift, *this, &I)) { in FoldShiftByConstant() 680 I, getShiftedValue(Op0, Op1C->getZExtValue(), isLeftShift, *this, DL)); in FoldShiftByConstant() 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() [all …]
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | MemCpyOptimizer.cpp | 188 int64_t Size = cast<ConstantInt>(MSI->getLength())->getZExtValue(); in addMemSet() 894 srcArraySize->getZExtValue(); in performCallSlotOptzn() 1063 if (!MDepLen || !MLen || MDepLen->getZExtValue() < MLen->getZExtValue()) in processMemCpyMemCpyDependence() 1200 Align = MinAlign(SrcSizeC->getZExtValue(), DestAlign); in processMemSetMemCpyDependence() 1249 if (LTSize->getZExtValue() >= CSize->getZExtValue()) in hasUndefContents() 1268 LTSize->getZExtValue() >= CSize->getZExtValue()) in hasUndefContentsMSSA() 1324 if (CCopySize->getZExtValue() > CMemSetSize->getZExtValue()) { in performMemCpyToMemSetOptzn() 1446 CopySize->getZExtValue(), Alignment, in processMemCpy() 1502 CopySize->getZExtValue(), Alignment, C)) { in processMemCpy() 1605 if (!C1 || C1->getValue().getZExtValue() < ByValSize) in processByValArgument()
|