Searched refs:BV (Results 1 - 25 of 43) sorted by last modified time

12

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp12843 SDValue BV = DAG.getBuildVector(FloatVT, dl, Ops); local
12844 return DAG.getNode(ISD::BITCAST, dl, VT, BV);
13703 BuildVectorSDNode *BV = cast<BuildVectorSDNode>(ConstVec); local
13704 int32_t C = BV->getConstantFPSplatPow2ToLog2Int(&UndefElements, 33);
13761 BuildVectorSDNode *BV = cast<BuildVectorSDNode>(ConstVec); local
13762 int32_t C = BV->getConstantFPSplatPow2ToLog2Int(&UndefElements, 33);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp2173 unsigned Multiple = ByteSize/EltSize; // Number of BV entries per spltval.
8580 // uses than just this BV node, then it isn't a splat.
13044 SDValue BV = DAG.getBuildVector(NewVT, dl, Ops); local
13045 return DAG.getNode(Opcode, dl, TargetVT, BV);
13171 SDValue BV = DAG.getNode(PPCISD::SExtVElems, dl, Ty, Shuffle); local
13172 return BV;
H A DPPCFrameLowering.cpp663 BitVector BV = RS.getRegsAvailable(Subtarget.isPPC64() ? &PPC::G8RCRegClass : local
671 BV.reset(CSRegs[i]);
675 int FirstScratchReg = BV.find_first();
683 int SecondScratchReg = BV.find_next(*SR1);
692 if (BV.count() < (TwoUniqueRegsRequired ? 2U : 1U))
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp9012 /// Returns true iff \p BV builds a vector with the result equivalent to
9017 static bool isAddSubOrSubAdd(const BuildVectorSDNode *BV,
9023 MVT VT = BV->getSimpleValueType(0);
9039 SDValue Op = BV->getOperand(i);
9173 static SDValue lowerToAddSubOrFMAddSub(const BuildVectorSDNode *BV,
9179 if (!isAddSubOrSubAdd(BV, Subtarget, DAG, Opnd0, Opnd1, NumExtracts,
9183 MVT VT = BV->getSimpleValueType(0);
9184 SDLoc DL(BV);
9208 static bool isHopBuildVector(const BuildVectorSDNode *BV, SelectionDAG &DAG,
9211 MVT VT = BV
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp2120 if (auto *BV = dyn_cast<BuildVectorSDNode>(V)) {
2123 SDValue Elt = BV->getOperand(Index);
2774 } else if (auto *BV = dyn_cast<BuildVectorSDNode>(N)) {
2775 auto *CN = BV->getConstantSplatNode();
2781 unsigned BVEltWidth = BV->getValueType(0).getScalarSizeInBits();
2807 const BuildVectorSDNode *BV = dyn_cast<BuildVectorSDNode>(N); local
2808 if (!BV)
2814 CN = BV->getConstantSplatNode();
H A DDAGCombiner.cpp8699 // nodes and that the condition is a BV of ConstantSDNodes (or undefs).
8718 // Skip BV elements until we find one that's not an UNDEF
8720 // length of the BV and see if all the non-undef nodes are the same.
11399 /// We know that BV is a build_vector node with Constant, ConstantFP or Undef
11402 ConstantFoldBITCASTofBUILD_VECTOR(SDNode *BV, EVT DstEltVT) { argument
11403 EVT SrcEltVT = BV->getValueType(0).getVectorElementType();
11406 if (SrcEltVT == DstEltVT) return SDValue(BV, 0);
11415 for (SDValue Op : BV->op_values()) {
11419 Op = DAG.getNode(ISD::TRUNCATE, SDLoc(BV), SrcEltVT, Op);
11424 BV
17550 reduceBuildVecToShuffleWithZero(SDNode *BV, SelectionDAG &DAG) argument
[all...]
H A DSelectionDAG.cpp140 auto *BV = dyn_cast<BuildVectorSDNode>(N); local
141 if (!BV)
148 return BV->isConstantSplat(SplatVal, SplatUndef, SplatBitSize, HasUndefs,
1642 auto BlendSplat = [&](BuildVectorSDNode *BV, int Offset) {
1644 SDValue Splat = BV->getSplatValue(&UndefElements);
1716 if (auto *BV = dyn_cast<BuildVectorSDNode>(V)) {
1718 SDValue Splat = BV->getSplatValue(&UndefElements);
1740 EVT BuildVT = BV->getValueType(0);
1741 const SDValue &Splatted = BV->getOperand(MaskVec[0]);
2439 auto *BV
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DLazyValueInfo.cpp393 /// Push BV onto BlockValueStack unless it's already in there.
395 bool pushBlockValue(const std::pair<BasicBlock *, Value *> &BV) { argument
396 if (!BlockValueSet.insert(BV).second)
399 LLVM_DEBUG(dbgs() << "PUSH: " << *BV.second << " in "
400 << BV.first->getName() << "\n");
401 BlockValueStack.push_back(BV);
/freebsd-11-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeGenRegisters.cpp2422 BitVector BV(Registers.size() + 1);
2424 BV.set(Set[i]->EnumValue);
2425 return BV;
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-xray/
H A Dxray-fdr-dump.cpp103 BlockVerifier BV;
108 if (auto E = R->apply(BV))
113 BV.reset();
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DDumpOutputStyle.cpp402 std::vector<uint32_t> BV(Blocks.begin(), Blocks.end());
405 make_range(BV.begin(), BV.end()));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp100 void dump(StringRef Label, BitVector const &BV) const;
159 BitVector const &BV) const {
161 for (size_t I = 0, N = BV.size(); I < N; ++I)
162 if (BV[I])
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsSEISelLowering.cpp853 BuildVectorSDNode *BV = dyn_cast<BuildVectorSDNode>(N->getOperand(1)); local
858 if (!BV ||
859 !BV->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAGHVX.cpp1432 SDValue BV = DAG.getBuildVector(ResTy, dl, Ops);
1433 LV = Lower.LowerOperation(BV, DAG);
1996 SDValue BV = DAG.getBuildVector(VecTy, dl, Elems);
1997 SDValue LV = Lower.LowerOperation(BV, DAG);
1998 DAG.RemoveDeadNode(BV.getNode());
H A DHexagonGenInsert.cpp653 const BitTracker::BitValue &BV = RC[i];
654 if (BV.is(0) || BV.is(1))
668 const BitTracker::BitValue &BV = RC[i];
669 if (BV.is(1))
671 else if (!BV.is(0))
H A DHexagonBitSimplify.cpp344 const BitTracker::BitValue &BV = RC[i-1];
346 if (BV.is(1))
348 else if (!BV.is(0))
H A DBitTracker.cpp97 raw_ostream &operator<<(raw_ostream &OS, const BT::BitValue &BV) { argument
98 switch (BV.Type) {
109 OS << printv(BV.RefI.Reg) << '[' << BV.RefI.Pos << ']';
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp9081 if (BuildVectorSDNode *BV = dyn_cast<BuildVectorSDNode>(Op)) {
9082 if (ConstantFPSDNode *C = BV->getConstantFPSplatNode())
H A DGCNHazardRecognizer.cpp469 BitVector &BV, unsigned Reg) {
471 BV.set(*RUI);
468 addRegUnits(const SIRegisterInfo &TRI, BitVector &BV, unsigned Reg) argument
H A DAMDGPUISelLowering.cpp1233 SDValue BV = DAG.getBuildVector(MVT::v2i32, SL, { Lo, Hi }); local
1234 return DAG.getNode(ISD::BITCAST, SL, VT, BV);
3227 SDValue BV = stripBitcast(Src.getOperand(0)); local
3228 if (BV.getOpcode() == ISD::BUILD_VECTOR &&
3229 BV.getValueType().getVectorNumElements() == 2) {
3230 SDValue SrcElt = BV.getOperand(1);
3951 SDValue BV = DAG.getNode(ISD::BUILD_VECTOR, SL, MVT::v2i32, local
3954 return DAG.getNode(ISD::BITCAST, SL, DestVT, BV);
H A DAMDGPUCallLowering.cpp560 auto BV = B.buildBuildVector(BVType, Regs); local
561 B.buildTrunc(OrigRegs[0], BV);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp9878 if (BuildVectorSDNode *BV =
9881 if (!BV->isConstant())
9886 EVT IntVT = BV->getValueType(0);
9889 SDValue SourceConst = DAG.getNode(N->getOpcode(), DL, VT, SDValue(BV, 0));
9975 BuildVectorSDNode *BV = cast<BuildVectorSDNode>(ConstVec); local
9977 int32_t C = BV->getConstantFPSplatPow2ToLog2Int(&UndefElements, Bits + 1);
10049 BuildVectorSDNode *BV = cast<BuildVectorSDNode>(ConstVec); local
10050 int32_t C = BV->getConstantFPSplatPow2ToLog2Int(&UndefElements, FloatBits + 1);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.cpp72 BitsInit *BV = cast<BitsInit>(RV.getValue()); local
73 for (unsigned i = 0, e = BV->getNumBits(); i != e; ++i) {
74 Init *Bit = BV->getBit(i);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DGlobPattern.cpp28 BitVector BV(256, false);
41 BV[Start] = true;
53 BV[(uint8_t)C] = true;
58 BV[(uint8_t)C] = true;
59 return BV;
88 Expected<BitVector> BV = expand(Chars.substr(1), Original); local
89 if (!BV)
90 return BV.takeError();
91 return BV->flip();
101 BitVector BV(25
135 Expected<BitVector> BV = scan(S, Original); local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DStackColoring.cpp458 void dumpBV(const char *tag, const BitVector &BV) const;
533 const BitVector &BV) const {
535 for (unsigned I = 0, E = BV.size(); I != E; ++I)
536 dbgs() << BV.test(I) << " ";

Completed in 637 milliseconds

12