| /freebsd-12.1/contrib/llvm/lib/Target/SystemZ/ |
| H A D | SystemZOperands.td | 308 return isUInt<1>(N->getZExtValue()); 312 return isUInt<2>(N->getZExtValue()); 316 return isUInt<3>(N->getZExtValue()); 320 return isUInt<4>(N->getZExtValue()); 326 return isUInt<4>(N->getZExtValue()); 330 return isUInt<6>(N->getZExtValue()); 338 return isUInt<8>(N->getZExtValue()); 344 return isUInt<12>(N->getZExtValue()); 356 return isUInt<16>(N->getZExtValue()); 452 return isUInt<16>(N->getZExtValue()); [all …]
|
| H A D | SystemZTargetTransformInfo.cpp | 54 if (isUInt<32>(Imm.getZExtValue())) in getIntImmCost() 57 if ((Imm.getZExtValue() & 0xffffffff) == 0) in getIntImmCost() 105 if (isUInt<32>(Imm.getZExtValue())) in getIntImmCost() 113 if (isUInt<32>(Imm.getZExtValue())) in getIntImmCost() 131 if (isUInt<32>(Imm.getZExtValue())) in getIntImmCost() 134 if ((Imm.getZExtValue() & 0xffffffff) == 0) in getIntImmCost() 144 if (isUInt<32>(~Imm.getZExtValue())) in getIntImmCost() 147 if ((Imm.getZExtValue() & 0xffffffff) == 0xffffffff) in getIntImmCost() 206 if (isUInt<32>(Imm.getZExtValue())) in getIntImmCost() 849 C->getZExtValue() == 0) in getCmpSelInstrCost() [all …]
|
| H A D | SystemZISelLowering.cpp | 820 if (isUInt<8>(C->getZExtValue())) in getSingleConstraintMatchWeight() 826 if (isUInt<12>(C->getZExtValue())) in getSingleConstraintMatchWeight() 959 if (isUInt<8>(C->getZExtValue())) in LowerAsmOperandForConstraint() 1830 Value != ConstOp1->getZExtValue()) in adjustSubwordCmp() 2142 MaskVal = Mask->getZExtValue(); in adjustForTestUnderMask() 2223 if ((~Known.Zero).getZExtValue() & ~Mask->getZExtValue()) in adjustForRedundantAnd() 4277 .getZExtValue()); in tryBuildVectorByteMask() 5652 if (CompareRHS->getZExtValue() == FalseVal->getZExtValue()) in combineCCMask() 5654 else if (CompareRHS->getZExtValue() != TrueVal->getZExtValue()) in combineCCMask() 5788 if (TrueVal->getZExtValue() != 0 && FalseVal->getZExtValue() == 0) in combineGET_CCMASK() [all …]
|
| H A D | SystemZISelDAGToDAG.cpp | 723 uint64_t AndMask = MaskNode->getZExtValue(); in detectOrAndInsertion() 784 uint64_t Mask = MaskNode->getZExtValue(); in expandRxSBG() 790 Mask |= Known.Zero.getZExtValue(); in expandRxSBG() 807 uint64_t Mask = ~MaskNode->getZExtValue(); in expandRxSBG() 813 Mask &= ~Known.One.getZExtValue(); in expandRxSBG() 1141 unsigned Elem = ElemN->getZExtValue(); in tryGather() 1183 unsigned Elem = ElemN->getZExtValue(); in tryScatter() 1449 uint64_t Val = Op1->getZExtValue(); in Select() 1752 if (FalseOp->getZExtValue() != 0) in expandSelectBoolean() 1761 int CCValid = CCValidOp->getZExtValue(); in expandSelectBoolean() [all …]
|
| H A D | SystemZSelectionDAGInfo.cpp | 58 Chain, Dst, Src, CSize->getZExtValue()); in EmitTargetCodeForMemcpy() 86 uint64_t Bytes = CSize->getZExtValue(); in EmitTargetCodeForMemset() 94 uint64_t ByteVal = CByte->getZExtValue(); in EmitTargetCodeForMemset() 129 if (CByte && CByte->getZExtValue() == 0) in EmitTargetCodeForMemset() 185 uint64_t Bytes = CSize->getZExtValue(); in EmitTargetCodeForMemcmp()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUISelDAGToDAG.cpp | 401 Out = C->getAPIntValue().getZExtValue(); in getConstantValue() 563 Imm = C->getZExtValue(); in Select() 598 uint32_t OffsetVal = Offset->getZExtValue(); in Select() 599 uint32_t WidthVal = Width->getZExtValue(); in Select() 896 if (isUInt<16>(CAddr->getZExtValue())) { in SelectDS1Addr1Offset() 1014 if (isUInt<32>(C1->getZExtValue())) in SelectMUBUF() 1154 unsigned Imm = CAddr->getZExtValue(); in SelectMUBUFScratchOffen() 1496 uint32_t BVal = B->getZExtValue(); in SelectS_BFEFromShifts() 1497 uint32_t CVal = C->getZExtValue(); in SelectS_BFEFromShifts() 1523 uint32_t MaskVal = Mask->getZExtValue(); in SelectS_BFE() [all …]
|
| H A D | AMDGPUUnifyMetadata.cpp | 68 auto VersionMajor = CMajor->getZExtValue(); in unifyVersionMD() 70 auto VersionMinor = CMinor->getZExtValue(); in unifyVersionMD()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | MemoryLocation.cpp | 97 Size = LocationSize::precise(C->getValue().getZExtValue()); in getForSource() 118 Size = LocationSize::precise(C->getValue().getZExtValue()); in getForDest() 148 return MemoryLocation(Arg, LocationSize::precise(LenCI->getZExtValue()), in getForArgument() 159 cast<ConstantInt>(II->getArgOperand(0))->getZExtValue()), in getForArgument() 171 cast<ConstantInt>(II->getArgOperand(1))->getZExtValue()), in getForArgument() 205 return MemoryLocation(Arg, LocationSize::precise(LenCI->getZExtValue()), 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() 321 ->getZExtValue(); in getField() 338 ->getZExtValue(); in getField() 350 ->getZExtValue(); in getField()
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | Statepoint.h | 122 ->getZExtValue(); in getFlags() 128 return cast<ConstantInt>(IDVal)->getZExtValue(); in getID() 135 cast<ConstantInt>(NumPatchBytesVal)->getZExtValue(); in getNumPatchBytes() 175 return cast<ConstantInt>(NumCallArgsVal)->getZExtValue(); in getNumCallArgs() 209 return cast<ConstantInt>(NumGCTransitionArgs)->getZExtValue(); in getNumTotalGCTransitionArgs() 231 return cast<ConstantInt>(NumVMSArgs)->getZExtValue(); in getNumTotalVMSArgs() 388 return cast<ConstantInt>(getArgOperand(1))->getZExtValue(); in getBasePtrIndex() 394 return cast<ConstantInt>(getArgOperand(2))->getZExtValue(); in getDerivedPtrIndex()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineShifts.cpp | 205 unsigned InnerShAmt = C1->getZExtValue(); in foldShiftedShift() 407 MaskV <<= Op1C->getZExtValue(); in FoldShiftByConstant() 410 MaskV.lshrInPlace(Op1C->getZExtValue()); in FoldShiftByConstant() 606 unsigned ShAmt = ShAmtAPInt->getZExtValue(); in visitShl() 629 unsigned ShrAmt = ShOp1->getZExtValue(); in visitShl() 649 unsigned AmtSum = ShAmt + ShOp1->getZExtValue(); in visitShl() 710 unsigned ShAmt = ShAmtAPInt->getZExtValue(); in visitLShr() 730 unsigned ShlAmt = ShOp1->getZExtValue(); in visitLShr() 744 unsigned ShlAmt = ShOp1->getZExtValue(); in visitLShr() 840 unsigned ShAmt = ShAmtAPInt->getZExtValue(); in visitAShr() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/PowerPC/ |
| H A D | PPCTargetTransformInfo.cpp | 69 if ((Imm.getZExtValue() & 0xFFFF) == 0) in getIntImmCost() 177 (isShiftedMask_32(Imm.getZExtValue()) || in getIntImmCost() 178 isShiftedMask_32(~Imm.getZExtValue()))) in getIntImmCost() 182 (isShiftedMask_64(Imm.getZExtValue()) || in getIntImmCost() 183 isShiftedMask_64(~Imm.getZExtValue()))) in getIntImmCost() 187 if (UnsignedFree && isUInt<16>(Imm.getZExtValue())) in getIntImmCost() 190 if (ShiftedFree && (Imm.getZExtValue() & 0xFFFF) == 0) in getIntImmCost()
|
| /freebsd-12.1/contrib/llvm/lib/Target/ARM/MCTargetDesc/ |
| H A D | ARMAddressingModes.h | 653 uint32_t Sign = Imm.lshr(15).getZExtValue() & 1; in getFP16Imm() 655 int64_t Mantissa = Imm.getZExtValue() & 0x3ff; // 10 bits in getFP16Imm() 679 uint32_t Sign = Imm.lshr(31).getZExtValue() & 1; in getFP32Imm() 681 int64_t Mantissa = Imm.getZExtValue() & 0x7fffff; // 23 bits in getFP32Imm() 707 uint64_t Sign = Imm.lshr(63).getZExtValue() & 1; in getFP64Imm() 709 uint64_t Mantissa = Imm.getZExtValue() & 0xfffffffffffffULL; in getFP64Imm()
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | ExternalFunctions.cpp | 151 *I8Ptr = (int8_t) AV.IntVal.getZExtValue(); in ffiValueFor() 156 *I16Ptr = (int16_t) AV.IntVal.getZExtValue(); in ffiValueFor() 161 *I32Ptr = (int32_t) AV.IntVal.getZExtValue(); in ffiValueFor() 166 *I64Ptr = (int64_t) AV.IntVal.getZExtValue(); in ffiValueFor() 376 sprintf(Buffer, FmtBuf, uint32_t(Args[ArgNo++].IntVal.getZExtValue())); in lle_X_sprintf() 392 sprintf(Buffer, FmtBuf, Args[ArgNo++].IntVal.getZExtValue()); in lle_X_sprintf() 394 sprintf(Buffer, FmtBuf,uint32_t(Args[ArgNo++].IntVal.getZExtValue())); in lle_X_sprintf() 476 size_t len = (size_t)Args[2].IntVal.getZExtValue(); in lle_X_memset()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | ProfileSummary.cpp | 97 Val = cast<ConstantInt>(ValMD->getValue())->getZExtValue(); in getVal() 137 Summary.emplace_back(cast<ConstantInt>(Op0->getValue())->getZExtValue(), in getSummaryFromMD() 138 cast<ConstantInt>(Op1->getValue())->getZExtValue(), in getSummaryFromMD() 139 cast<ConstantInt>(Op2->getValue())->getZExtValue()); in getSummaryFromMD()
|
| H A D | Module.cpp | 460 return cast<ConstantInt>(Val->getValue())->getZExtValue(); in getNumberRegisterParameters() 467 return cast<ConstantInt>(Val->getValue())->getZExtValue(); in getDwarfVersion() 474 return cast<ConstantInt>(Val->getValue())->getZExtValue(); in getCodeViewFlag() 497 cast<ConstantInt>(Val->getValue())->getZExtValue()); in getPICLevel() 511 cast<ConstantInt>(Val->getValue())->getZExtValue()); in getPIELevel() 525 cast<ConstantInt>(Val->getValue())->getZExtValue()); in getCodeModel() 550 return Val && (cast<ConstantInt>(Val->getValue())->getZExtValue() > 0); in getRtLibUseGOT()
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/Orc/ |
| H A D | OrcMCJITReplacement.cpp | 55 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue(), in runFunction() 68 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue(), in runFunction() 77 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue())); in runFunction()
|
| /freebsd-12.1/contrib/llvm/lib/Target/Mips/ |
| H A D | MipsSEISelDAGToDAG.cpp | 79 switch (cast<ConstantSDNode>(RegIdx)->getZExtValue()) { in getMSACtrlReg() 350 if (OffsetToAlignment(CN->getZExtValue(), 1ull << ShiftAmount) != 0) in selectAddrFrameIndexOffset() 354 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), SDLoc(Addr), in selectAddrFrameIndexOffset() 498 unsigned CnstOff = CN->getZExtValue(); in selectIntAddrLSL2MM() 888 switch (cast<ConstantSDNode>(Node->getOperand(1))->getZExtValue()) { in trySelect() 905 switch (cast<ConstantSDNode>(Node->getOperand(0))->getZExtValue()) { in trySelect() 921 switch (cast<ConstantSDNode>(Node->getOperand(1))->getZExtValue()) { in trySelect() 1107 const unsigned Lo = SplatValue.getLoBits(16).getZExtValue(); in trySelect() 1116 const unsigned Lo = SplatValue.getLoBits(16).getZExtValue(); in trySelect() 1138 const unsigned Lo = SplatValue.getLoBits(16).getZExtValue(); in trySelect() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | MemCpyOptimizer.cpp | 91 Offset += DL.getStructLayout(STy)->getElementOffset(OpC->getZExtValue()); in GetOffsetFromIndex() 265 int64_t Size = cast<ConstantInt>(MSI->getLength())->getZExtValue(); in addMemSet() 840 srcArraySize->getZExtValue(); in performCallSlotOptzn() 855 destArraySize->getZExtValue(); in performCallSlotOptzn() 1027 if (!MDepLen || !MLen || MDepLen->getZExtValue() < MLen->getZExtValue()) in processMemCpyMemCpyDependence() 1121 Align = MinAlign(SrcSizeC->getZExtValue(), DestAlign); in processMemSetMemCpyDependence() 1155 if (LTSize->getZExtValue() >= Size->getZExtValue()) in hasUndefContents() 1192 if (CopySize->getZExtValue() > MemSetSize->getZExtValue()) { in performMemCpyToMemSetOptzn() 1267 CopySize->getZExtValue(), Align, in processMemCpy() 1358 if (!C1 || C1->getValue().getZExtValue() < ByValSize) in processByValArgument()
|
| /freebsd-12.1/contrib/llvm/tools/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()
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/ |
| H A D | X86SelectionDAGInfo.cpp | 88 ConstantSize->getZExtValue() > Subtarget.getMaxInlineSizeThreshold()) { in EmitTargetCodeForMemset() 122 uint64_t SizeVal = ConstantSize->getZExtValue(); in EmitTargetCodeForMemset() 130 uint64_t Val = ValC->getZExtValue() & 255; in EmitTargetCodeForMemset() 215 RepMovsRepeats Repeats(ConstantSize->getZExtValue()); in EmitTargetCodeForMemcpy()
|
| /freebsd-12.1/contrib/llvm/lib/Target/BPF/ |
| H A D | BPFISelDAGToDAG.cpp | 214 unsigned IntNo = cast<ConstantSDNode>(Node->getOperand(1))->getZExtValue(); in Select() 287 getConstantFieldValue(GADN, CDN->getZExtValue(), size, new_val.c); in PreprocessLoad() 429 uint64_t val = CI->getZExtValue(); in fillGenericConstant() 540 unsigned IntNo = cast<ConstantSDNode>(BaseV->getOperand(1))->getZExtValue(); in PreprocessTrunc() 541 uint64_t MaskV = MaskN->getZExtValue(); in PreprocessTrunc() 564 switch (MaskN->getZExtValue()) { in PreprocessTrunc()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AArch64/MCTargetDesc/ |
| H A D | AArch64AddressingModes.h | 369 uint32_t Sign = Imm.lshr(15).getZExtValue() & 1; in getFP16Imm() 371 int32_t Mantissa = Imm.getZExtValue() & 0x3ff; // 10 bits in getFP16Imm() 395 uint32_t Sign = Imm.lshr(31).getZExtValue() & 1; in getFP32Imm() 397 int64_t Mantissa = Imm.getZExtValue() & 0x7fffff; // 23 bits in getFP32Imm() 423 uint64_t Sign = Imm.lshr(63).getZExtValue() & 1; in getFP64Imm() 425 uint64_t Mantissa = Imm.getZExtValue() & 0xfffffffffffffULL; in getFP64Imm()
|
| /freebsd-12.1/contrib/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | NativeSymbolEnumerator.cpp | 99 uint64_t U = Record.Value.getZExtValue(); in getValue() 114 uint64_t U = Record.Value.getZExtValue(); in getValue()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/ |
| H A D | InstrProfiling.cpp | 550 uint64_t ValueKind = Ind->getValueKind()->getZExtValue(); in computeNumValueSiteCounts() 551 uint64_t Index = Ind->getIndex()->getZExtValue(); in computeNumValueSiteCounts() 568 uint64_t ValueKind = Ind->getValueKind()->getZExtValue(); in lowerValueProfileInst() 569 uint64_t Index = Ind->getIndex()->getZExtValue(); in lowerValueProfileInst() 574 bool IsRange = (Ind->getValueKind()->getZExtValue() == in lowerValueProfileInst() 603 uint64_t Index = Inc->getIndex()->getZExtValue(); in lowerIncrement() 644 uint64_t FuncHash = Inc->getHash()->getZExtValue(); in getVarName() 731 uint64_t NumCounters = Inc->getNumCounters()->getZExtValue(); in getOrCreateRegionCounters()
|