Searched refs:BV (Results 26 - 43 of 43) sorted by relevance

12

/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);
H A DDependenceAnalysis.cpp3366 static void dumpSmallBitVector(SmallBitVector &BV) { argument
3368 for (unsigned VI : BV.set_bits()) {
3370 if (BV.find_next(VI) >= 0)
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
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...]
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 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();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
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 DSIISelLowering.cpp9081 if (BuildVectorSDNode *BV = dyn_cast<BuildVectorSDNode>(Op)) {
9082 if (ConstantFPSDNode *C = BV->getConstantFPSplatNode())
/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/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/clang/lib/StaticAnalyzer/Checkers/
H A DIteratorModeling.cpp1394 BasicValueFactory &BV = SVB.getBasicValueFactory(); local
1398 APSIntType AT = BV.getAPSIntType(T);
/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/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/Target/Hexagon/
H A DHexagonBitSimplify.cpp344 const BitTracker::BitValue &BV = RC[i-1];
346 if (BV.is(1))
348 else if (!BV.is(0))
/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/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/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;

Completed in 780 milliseconds

12