OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SplatValue
(Results
1 - 14
of
14
) sorted by relevancy
/src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
SVEIntrinsicOpts.cpp
333
auto *
SplatValue
= IntrI->getOperand(0);
334
return match(
SplatValue
, m_FPOne()) || match(
SplatValue
, m_One());
344
auto *
SplatValue
= IntrI->getOperand(2);
345
return match(
SplatValue
, m_FPOne()) || match(
SplatValue
, m_One());
401
auto *
SplatValue
= dyn_cast<ConstantInt>(DupXIntrI->getOperand(0));
402
if (!
SplatValue
||
403
SplatValue
->getValue().uge(VTy->getElementCount().getKnownMinValue()))
406
// Convert sve_tbl(OpVal sve_dup_x(
SplatValue
)) t
[
all
...]
AArch64ISelLowering.cpp
13578
APInt
SplatValue
, SplatUndef;
13581
if (!BVN->isConstantSplat(
SplatValue
, SplatUndef, SplatBitSize,
13586
ShiftAmount =
SplatValue
.getSExtValue();
/src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
MipsISelDAGToDAG.cpp
236
APInt
SplatValue
, SplatUndef;
240
if (!BVN->isConstantSplat(
SplatValue
, SplatUndef, SplatBitSize, HasAnyUndefs,
246
if (IsInlineConstant(
SplatValue
))
249
APInt NegSplatValue = 0 -
SplatValue
;
MipsSEISelDAGToDAG.cpp
521
APInt
SplatValue
, SplatUndef;
525
if (!Node->isConstantSplat(
SplatValue
, SplatUndef, SplatBitSize, HasAnyUndefs,
529
Imm =
SplatValue
;
1057
APInt
SplatValue
, SplatUndef;
1067
if (!BVN->isConstantSplat(
SplatValue
, SplatUndef, SplatBitSize,
1099
if (
SplatValue
.isSignedIntN(10)) {
1100
SDValue Imm = CurDAG->getTargetConstant(
SplatValue
, DL,
1104
} else if (
SplatValue
.isSignedIntN(16) &&
1128
const unsigned Lo =
SplatValue
.getLoBits(16).getZExtValue();
1134
} else if (
SplatValue
.isSignedIntN(32) && SplatBitSize == 32)
[
all
...]
MipsSEISelLowering.cpp
540
APInt
SplatValue
, SplatUndef;
544
if (!Node->isConstantSplat(
SplatValue
, SplatUndef, SplatBitSize, HasAnyUndefs,
548
Imm =
SplatValue
;
565
APInt
SplatValue
, SplatUndef;
571
if (BVN->isConstantSplat(
SplatValue
, SplatUndef, SplatBitSize, HasAnyUndefs))
572
return
SplatValue
.isAllOnesValue();
849
APInt
SplatValue
, SplatUndef;
859
!BV->isConstantSplat(
SplatValue
, SplatUndef, SplatBitSize, HasAnyUndefs,
862
(
SplatValue
.getZExtValue() >= EltSize))
867
DAG.getConstant(
SplatValue
.getZExtValue(), DL, MVT::i32))
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
Utils.cpp
861
int
SplatValue
= *FirstDefinedIdx;
863
[&
SplatValue
](int Elt) { return Elt >= 0 && Elt !=
SplatValue
; }))
866
return
SplatValue
;
877
int64_t
SplatValue
) {
884
if (!mi_match(Element, MRI, m_SpecificICst(
SplatValue
)))
/src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
LoopIdiomRecognize.cpp
521
Value *
SplatValue
= isBytewiseValue(StoredVal, *DL);
528
if (!UnorderedAtomic && HasMemset &&
SplatValue
&& !DisableLIRP::Memset &&
531
CurLoop->isLoopInvariant(
SplatValue
)) {
532
// It looks like we can use
SplatValue
.
931
Value *
SplatValue
= MSI->getValue();
932
if (!
SplatValue
|| !CurLoop->isLoopInvariant(
SplatValue
))
940
SplatValue
, MSI, MSIs, Ev, BECount, NegStride, /*IsLoopMemset=*/true);
1034
Value *
SplatValue
= isBytewiseValue(StoredVal, *DL);
1037
if (!
SplatValue
)
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
WebAssemblyISelLowering.cpp
1784
SDValue
SplatValue
;
1786
std::tie(
SplatValue
, NumSplatLanes) = GetMostCommon(SplatValueCounts);
1888
if ((SplattedLoad = dyn_cast<LoadSDNode>(
SplatValue
)) &&
1896
Result = DAG.getSplatBuildVector(VecT, DL,
SplatValue
);
1898
IsLaneConstructed = [&
SplatValue
](size_t _, const SDValue &Lane) {
1899
return Lane ==
SplatValue
;
2218
APInt
SplatValue
, SplatUndef;
2221
if (!Splat || !Splat->isConstantSplat(
SplatValue
, SplatUndef, SplatBitSize,
2224
if (
SplatValue
!= 0)
/src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
SelectionDAGNodes.h
90
/// \p
SplatValue
.
91
bool isConstantSplatVector(const SDNode *N, APInt &
SplatValue
);
1926
/// Returns the splat element value in
SplatValue
. Any undefined bits in
1931
bool isConstantSplat(APInt &
SplatValue
, APInt &SplatUndef,
/src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
RISCVISelLowering.cpp
1503
uint64_t
SplatValue
= 0;
1508
SplatValue
|= ((cast<ConstantSDNode>(SeqV)->getZExtValue() & EltMask)
1516
SplatValue
= SignExtend64(
SplatValue
, 32);
1524
if (ViaIntVT.bitsLE(XLenVT) || isInt<32>(
SplatValue
)) {
1531
DAG.getConstant(
SplatValue
, DL, XLenVT), ViaVL);
1864
if (SDValue
SplatValue
= DAG.getSplatValue(V1, /*LegalTypes*/ true)) {
1865
Gather = lowerScalarSplat(
SplatValue
, VL, ContainerVT, DL, DAG, Subtarget);
/src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
SelectionDAG.cpp
10202
bool BuildVectorSDNode::isConstantSplat(APInt &
SplatValue
, APInt &SplatUndef,
10215
SplatValue
= APInt(VecWidth, 0);
10220
// in
SplatValue
. If any of the values are not constant, give up and return
10234
SplatValue
.insertBits(CN->getAPIntValue().zextOrTrunc(EltWidth), BitPos);
10236
SplatValue
.insertBits(CN->getValueAPF().bitcastToAPInt(), BitPos);
10248
APInt HighValue =
SplatValue
.lshr(HalfSize).trunc(HalfSize);
10249
APInt LowValue =
SplatValue
.trunc(HalfSize);
10258
SplatValue
= HighValue | LowValue;
TargetLowering.cpp
5414
auto
SplatValue
= llvm::find_if_not(Values, Predicate);
5415
if (
SplatValue
!= Values.end()) {
5416
// Does Values consist only of
SplatValue
's and values matching Predicate?
5417
if (llvm::all_of(Values, [Predicate,
SplatValue
](SDValue Value) {
5418
return Value == *
SplatValue
|| Predicate(Value);
5419
})) // Then we shall replace values matching predicate with
SplatValue
.
5420
Replacement = *
SplatValue
;
DAGCombiner.cpp
5719
APInt
SplatValue
, SplatUndef;
5722
bool IsSplat = Vector->isConstantSplat(
SplatValue
, SplatUndef,
5727
SplatValue
|= SplatUndef;
5739
for (
SplatValue
=
SplatValue
.zextOrTrunc(EltBitWidth);
5741
SplatValue
|=
SplatValue
.shl(SplatBitSize);
5748
Constant &=
SplatValue
.extractBits(EltBitWidth, i * EltBitWidth);
/src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86ISelLowering.cpp
8772
static Constant *getConstantVector(MVT VT, const APInt &
SplatValue
,
8779
APInt Val =
SplatValue
.extractBits(ScalarSize, ScalarSize * i);
8886
APInt
SplatValue
, Undef;
8890
if (BVOp->isConstantSplat(
SplatValue
, Undef, SplatBitSize, HasUndef) &&
8908
Constant *C = Constant::getIntegerValue(ScalarTy,
SplatValue
);
8925
Constant *VecC = getConstantVector(VT,
SplatValue
, SplatBitSize,
[
all
...]
Completed in 160 milliseconds
Indexes created Mon Jun 15 00:25:07 UTC 2026