Home
last modified time | relevance | path

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

12345678910>>...13

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZOperands.td178 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 …]
DSystemZTargetTransformInfo.cpp53 if (isUInt<32>(Imm.getZExtValue())) in getIntImmCost()
56 if ((Imm.getZExtValue() & 0xffffffff) == 0) in getIntImmCost()
104 if (isUInt<32>(Imm.getZExtValue())) in getIntImmCostInst()
112 if (isUInt<32>(Imm.getZExtValue())) in getIntImmCostInst()
130 if (isUInt<32>(Imm.getZExtValue())) in getIntImmCostInst()
133 if ((Imm.getZExtValue() & 0xffffffff) == 0) in getIntImmCostInst()
143 if (isUInt<32>(~Imm.getZExtValue())) in getIntImmCostInst()
146 if ((Imm.getZExtValue() & 0xffffffff) == 0xffffffff) in getIntImmCostInst()
151 if (TII->isRxSBGMask(Imm.getZExtValue(), BitSize, Start, End)) in getIntImmCostInst()
205 if (isUInt<32>(Imm.getZExtValue())) in getIntImmCostIntrin()
[all …]
DSystemZISelDAGToDAG.cpp734 uint64_t AndMask = MaskNode->getZExtValue(); in detectOrAndInsertion()
743 if (Used != (AndMask | InsertMask | Known.Zero.getZExtValue())) in detectOrAndInsertion()
795 uint64_t Mask = MaskNode->getZExtValue(); in expandRxSBG()
801 Mask |= Known.Zero.getZExtValue(); in expandRxSBG()
818 uint64_t Mask = ~MaskNode->getZExtValue(); in expandRxSBG()
824 Mask &= ~Known.One.getZExtValue(); in expandRxSBG()
840 RxSBG.Rotate = (RxSBG.Rotate + CountNode->getZExtValue()) & 63; in expandRxSBG()
885 uint64_t Count = CountNode->getZExtValue(); in expandRxSBG()
912 uint64_t Count = CountNode->getZExtValue(); in expandRxSBG()
1181 unsigned Elem = ElemN->getZExtValue(); in tryGather()
[all …]
DSystemZSelectionDAGInfo.cpp57 Chain, Dst, Src, CSize->getZExtValue()); in EmitTargetCodeForMemcpy()
85 uint64_t Bytes = CSize->getZExtValue(); in EmitTargetCodeForMemset()
93 uint64_t ByteVal = CByte->getZExtValue(); in EmitTargetCodeForMemset()
128 if (CByte && CByte->getZExtValue() == 0) in EmitTargetCodeForMemset()
184 uint64_t Bytes = CSize->getZExtValue(); in EmitTargetCodeForMemcmp()
DSystemZISelLowering.cpp712 uint64_t Byte = IntBits.lshr(I * 8).trunc(8).getZExtValue(); in isVectorConstantLegal()
758 uint64_t SplatBitsZ = SplatBits.getZExtValue(); in isVectorConstantLegal()
759 uint64_t SplatUndefZ = SplatUndef.getZExtValue(); in isVectorConstantLegal()
886 (isInt<16>(C->getSExtValue()) || isUInt<16>(C->getZExtValue()))) in supportedAddressingMode()
1052 if (isUInt<8>(C->getZExtValue())) in getSingleConstraintMatchWeight()
1058 if (isUInt<12>(C->getZExtValue())) in getSingleConstraintMatchWeight()
1076 if (C->getZExtValue() == 0x7fffffff) in getSingleConstraintMatchWeight()
1191 if (isUInt<8>(C->getZExtValue())) in LowerAsmOperandForConstraint()
1192 Ops.push_back(DAG.getTargetConstant(C->getZExtValue(), SDLoc(Op), in LowerAsmOperandForConstraint()
1198 if (isUInt<12>(C->getZExtValue())) in LowerAsmOperandForConstraint()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DMemoryLocation.cpp97 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()
DTypeBasedAliasAnalysis.cpp231 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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DStatepoint.h114 ->getZExtValue(); in getFlags()
120 return cast<ConstantInt>(IDVal)->getZExtValue(); in getID()
127 cast<ConstantInt>(NumPatchBytesVal)->getZExtValue(); in getNumPatchBytes()
166 return cast<ConstantInt>(NumCallArgsVal)->getZExtValue(); in getNumCallArgs()
200 return cast<ConstantInt>(NumGCTransitionArgs)->getZExtValue(); in getNumTotalGCTransitionArgs()
222 return cast<ConstantInt>(NumVMSArgs)->getZExtValue(); in getNumTotalVMSArgs()
374 return cast<ConstantInt>(getArgOperand(1))->getZExtValue(); in getBasePtrIndex()
380 return cast<ConstantInt>(getArgOperand(2))->getZExtValue(); in getDerivedPtrIndex()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DMisExpect.cpp121 const uint64_t Index = IndexCint->getZExtValue(); in verifyMisExpect()
122 const uint64_t LikelyBranchWeight = LikelyCInt->getZExtValue(); in verifyMisExpect()
123 const uint64_t UnlikelyBranchWeight = UnlikelyCInt->getZExtValue(); in verifyMisExpect()
168 RealWeights[i - 1] = Value->getZExtValue(); in checkFrontendInstrumentation()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUISelDAGToDAG.cpp353 if (ShiftAmt->getZExtValue() == 16) { in isExtractHiElt()
595 unsigned RCID = cast<ConstantSDNode>(N->getOperand(0))->getZExtValue(); in getOperandRegClass()
600 unsigned SubRegIdx = cast<ConstantSDNode>(SubRegOp)->getZExtValue(); in getOperandRegClass()
836 Imm = FP->getValueAPF().bitcastToAPInt().getZExtValue(); in Select()
839 Imm = C->getZExtValue(); in Select()
866 uint32_t OffsetVal = Offset->getZExtValue(); in Select()
867 uint32_t WidthVal = Width->getZExtValue(); in Select()
971 Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32); in SelectADDRIndirect()
975 Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32); in SelectADDRIndirect()
979 Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32); in SelectADDRIndirect()
[all …]
DAMDGPUUnifyMetadata.cpp67 auto VersionMajor = CMajor->getZExtValue(); in unifyVersionMD()
69 auto VersionMinor = CMinor->getZExtValue(); in unifyVersionMD()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMAddressingModes.h654 uint32_t Sign = Imm.lshr(15).getZExtValue() & 1; in getFP16Imm()
656 int64_t Mantissa = Imm.getZExtValue() & 0x3ff; // 10 bits in getFP16Imm()
680 uint32_t Sign = Imm.lshr(31).getZExtValue() & 1; in getFP32Imm()
682 int64_t Mantissa = Imm.getZExtValue() & 0x7fffff; // 23 bits in getFP32Imm()
708 uint64_t Sign = Imm.lshr(63).getZExtValue() & 1; in getFP64Imm()
710 uint64_t Mantissa = Imm.getZExtValue() & 0xfffffffffffffULL; in getFP64Imm()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp150 *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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DOrcMCJITReplacement.cpp54 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue(), in runFunction()
67 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue(), in runFunction()
76 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue())); in runFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DProfileSummary.cpp95 Val = cast<ConstantInt>(ValMD->getValue())->getZExtValue(); in getVal()
135 Summary.emplace_back(cast<ConstantInt>(Op0->getValue())->getZExtValue(), in getSummaryFromMD()
136 cast<ConstantInt>(Op1->getValue())->getZExtValue(), in getSummaryFromMD()
137 cast<ConstantInt>(Op2->getValue())->getZExtValue()); in getSummaryFromMD()
DModule.cpp474 return cast<ConstantInt>(Val->getValue())->getZExtValue(); in getNumberRegisterParameters()
481 return cast<ConstantInt>(Val->getValue())->getZExtValue(); in getDwarfVersion()
488 return cast<ConstantInt>(Val->getValue())->getZExtValue(); in getCodeViewFlag()
511 cast<ConstantInt>(Val->getValue())->getZExtValue()); in getPICLevel()
525 cast<ConstantInt>(Val->getValue())->getZExtValue()); in getPIELevel()
539 cast<ConstantInt>(Val->getValue())->getZExtValue()); in getCodeModel()
568 return Val && (cast<ConstantInt>(Val->getValue())->getZExtValue() > 0); in getRtLibUseGOT()
DAbstractCallSite.cpp50 cast<ConstantInt>(CBCalleeIdxAsCM->getValue())->getZExtValue(); in getCallbackUses()
106 cast<ConstantInt>(CBCalleeIdxAsCM->getValue())->getZExtValue(); in AbstractCallSite()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsSEISelDAGToDAG.cpp79 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()
836 switch (cast<ConstantSDNode>(Node->getOperand(1))->getZExtValue()) { in trySelect()
853 switch (cast<ConstantSDNode>(Node->getOperand(0))->getZExtValue()) { in trySelect()
869 switch (cast<ConstantSDNode>(Node->getOperand(1))->getZExtValue()) { in trySelect()
1055 const unsigned Lo = SplatValue.getLoBits(16).getZExtValue(); in trySelect()
1064 const unsigned Lo = SplatValue.getLoBits(16).getZExtValue(); in trySelect()
1065 const unsigned Hi = SplatValue.lshr(16).getLoBits(16).getZExtValue(); in trySelect()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFInstrInfo.td85 [{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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp454 unsigned InnerShAmt = InnerShiftConst->getZExtValue(); in canEvaluateShiftedShift()
558 unsigned InnerShAmt = C1->getZExtValue(); in foldShiftedShift()
693 canEvaluateShifted(Op0, Op1C->getZExtValue(), isLeftShift, *this, &I)) { in FoldShiftByConstant()
700 I, getShiftedValue(Op0, Op1C->getZExtValue(), isLeftShift, *this, DL)); in FoldShiftByConstant()
742 MaskV <<= Op1C->getZExtValue(); in FoldShiftByConstant()
745 MaskV.lshrInPlace(Op1C->getZExtValue()); in FoldShiftByConstant()
947 unsigned ShAmt = ShAmtAPInt->getZExtValue(); in visitShl()
969 unsigned ShrAmt = ShOp1->getZExtValue(); in visitShl()
989 unsigned AmtSum = ShAmt + ShOp1->getZExtValue(); in visitShl()
1062 unsigned ShAmt = ShAmtAPInt->getZExtValue(); in visitLShr()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp181 int64_t Size = cast<ConstantInt>(MSI->getLength())->getZExtValue(); in addMemSet()
751 srcArraySize->getZExtValue(); in performCallSlotOptzn()
766 destArraySize->getZExtValue(); in performCallSlotOptzn()
938 if (!MDepLen || !MLen || MDepLen->getZExtValue() < MLen->getZExtValue()) in processMemCpyMemCpyDependence()
1032 Align = MinAlign(SrcSizeC->getZExtValue(), DestAlign); in processMemSetMemCpyDependence()
1068 if (LTSize->getZExtValue() >= Size->getZExtValue()) in hasUndefContents()
1105 if (CopySize->getZExtValue() > MemSetSize->getZExtValue()) { in performMemCpyToMemSetOptzn()
1181 CopySize->getZExtValue(), Align, in processMemCpy()
1272 if (!C1 || C1->getValue().getZExtValue() < ByValSize) in processByValArgument()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyISelDAGToDAG.cpp94 cast<ConstantSDNode>(Node->getOperand(2).getNode())->getZExtValue(); in Select()
167 unsigned IntNo = cast<ConstantSDNode>(Node->getOperand(0))->getZExtValue(); in Select()
193 unsigned IntNo = cast<ConstantSDNode>(Node->getOperand(1))->getZExtValue(); in Select()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DScalarizeMaskedMemIntrin.cpp133 unsigned AlignVal = cast<ConstantInt>(Alignment)->getZExtValue(); in scalarizeMaskedLoad()
271 unsigned AlignVal = cast<ConstantInt>(Alignment)->getZExtValue(); in scalarizeMaskedStore()
403 unsigned AlignVal = cast<ConstantInt>(Alignment)->getZExtValue(); in scalarizeMaskedGather()
532 unsigned AlignVal = cast<ConstantInt>(Alignment)->getZExtValue(); in scalarizeMaskedScatter()
858 Alignment = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue(); in optimizeCallInst()
865 Alignment = cast<ConstantInt>(CI->getArgOperand(2))->getZExtValue(); in optimizeCallInst()
873 Alignment = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue(); in optimizeCallInst()
879 Alignment = cast<ConstantInt>(CI->getArgOperand(2))->getZExtValue(); in optimizeCallInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DNativeSymbolEnumerator.cpp98 uint64_t U = Record.Value.getZExtValue(); in getValue()
113 uint64_t U = Record.Value.getZExtValue(); in getValue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/MCTargetDesc/
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()

12345678910>>...13