Home
last modified time | relevance | path

Searched refs:setBit (Results 1 – 25 of 39) sorted by relevance

12

/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_bvgraph_test.cpp82 EXPECT_EQ(target.setBit(idx), s_target.insert(idx).second); in BasicTest()
136 bv.setBit(idx); in RemoveEdges()
172 target.setBit(t0); in Test_isReachable()
173 target.setBit(t1); in Test_isReachable()
251 target.setBit(i); in LongCycle()
271 t7.setBit(7); in ShortestPath()
314 from.setBit(0); in RunAddEdgesTest()
320 from.setBit(1); in RunAddEdgesTest()
325 from.setBit(2); in RunAddEdgesTest()
326 from.setBit(3); in RunAddEdgesTest()
H A Dsanitizer_bitvector_test.cpp87 bv.setBit(5); in TestBitVector()
103 EXPECT_EQ(bv.setBit(bit), s.insert(bit).second); in TestBitVector()
129 bv.setBit(bits[i]); in TestBitVector()
134 bv1.setBit(bits[bv.size() / 2 + i]); in TestBitVector()
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_bvgraph.h45 return v[from].setBit(to); in addEdge()
55 if (v[node].setBit(to)) in addEdges()
115 visited.setBit(from); in isReachable()
118 if (visited.setBit(idx)) in isReachable()
H A Dsanitizer_bitvector.h33 bool setBit(uptr idx) { in setBit() function
143 bool setBit(uptr idx) { in setBit() function
149 l1_[i0].setBit(i1); in setBit()
152 bool res = l2_[i0][i1].setBit(i2); in setBit()
187 l1_[i0].setBit(i1); in getAndClearFirstOne()
203 if (l1_[i0].setBit(i1)) in setUnion()
H A Dsanitizer_deadlock_detector.h61 if (!bv_.setBit(lock_id)) { in addLock()
191 CHECK(recycled_nodes_.setBit(idx)); in removeNode()
/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/IPO/
H A DWholeProgramDevirt.h79 void setBit(uint64_t Pos, bool b) { in setBit() function
172 TM->Bits->Before.setBit(Pos - 8 * minBeforeBytes(), RetVal); in setBeforeBit()
178 TM->Bits->After.setBit(Pos - 8 * minAfterBytes(), RetVal); in setAfterBit()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp450 InputDemandedBits.setBit(SrcBitWidth-1); in SimplifyDemandedUseBits()
1274 UndefElts.setBit(i); in SimplifyDemandedVectorElts()
1283 UndefElts.setBit(i); in SimplifyDemandedVectorElts()
1446 LeftDemanded.setBit(MaskVal); in SimplifyDemandedVectorElts()
1448 RightDemanded.setBit(MaskVal - OpWidth); in SimplifyDemandedVectorElts()
1491 UndefElts.setBit(i); in SimplifyDemandedVectorElts()
1494 UndefElts.setBit(i); in SimplifyDemandedVectorElts()
1498 UndefElts.setBit(i); in SimplifyDemandedVectorElts()
1507 UndefElts.setBit(i); in SimplifyDemandedVectorElts()
1625 InputDemandedElts.setBit(OutIdx / Ratio); in SimplifyDemandedVectorElts()
[all …]
H A DInstCombineVectorOps.cpp347 UsedElts.setBit(MaskVal); in findDemandedEltsBySingleUser()
350 UsedElts.setBit(MaskVal - VWidth); in findDemandedEltsBySingleUser()
583 DemandedElts.setBit(IndexC->getZExtValue()); in visitExtractElementInst()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86ShuffleDecodeConstantPool.cpp67 UndefElts.setBit(i); in extractConstantMask()
104 UndefElts.setBit(i); in extractConstantMask()
H A DX86ISelLowering.cpp7335 UndefElts.setBit(i); in getTargetConstantBitsFromNode()
7355 Undefs.setBit(UndefBitIndex); in getTargetConstantBitsFromNode()
7398 UndefSrcElts.setBit(I); in getTargetConstantBitsFromNode()
7568 UndefElts.setBit(i); in getTargetConstantBitsFromNode()
7572 UndefElts.setBit(i); in getTargetConstantBitsFromNode()
7576 UndefElts.setBit(i); in getTargetConstantBitsFromNode()
7675 DemandedLHS.setBit(InnerIdx); in getPackDemandedElts()
7677 DemandedRHS.setBit(InnerIdx); in getPackDemandedElts()
7700 DemandedLHS.setBit(LaneIdx + 2 * LocalIdx + 0); in getHorizDemandedElts()
7701 DemandedLHS.setBit(LaneIdx + 2 * LocalIdx + 1); in getHorizDemandedElts()
[all …]
H A DX86InstCombineIntrinsic.cpp1982 OpDemandedElts.setBit((Lane * InnerVWidthPerLane) + Elt); in simplifyDemandedVectorEltsIntrinsic()
/openbsd-src/gnu/llvm/llvm/include/llvm/ADT/
H A DAPInt.h201 API.setBit(numBits - 1); in getSignedMinValue()
224 Res.setBit(BitNo); in getOneBitSet()
1308 void setBit(unsigned BitPosition) { in setBit() function
1318 void setSignBit() { setBit(BitWidth - 1); } in setSignBit()
1323 setBit(BitPosition); in setBitVal()
/openbsd-src/gnu/llvm/llvm/lib/MCA/
H A DInstrBuilder.cpp87 Buffers.setBit(getResourceStateIndex(Mask)); in initializeUsedResources()
193 Buffers.setBit(getResourceStateIndex(Mask)); in initializeUsedResources()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DVectorUtils.cpp443 DemandedLHS.setBit(0); in getShuffleDemandedElts()
461 DemandedLHS.setBit(M); in getShuffleDemandedElts()
463 DemandedRHS.setBit(M - SrcWidth); in getShuffleDemandedElts()
/openbsd-src/gnu/llvm/llvm/utils/TableGen/
H A DCodeEmitterGen.cpp413 Value.setBit(i); in emitInstructionBaseValues()
H A DCodeGenSchedule.cpp277 OperandMask.setBit(Index); in constructOperandMask()
333 ProcMask.setBit(ProcIndex); in processSTIPredicate()
344 PredMask.setBit(Predicate2Index[Pred]); in processSTIPredicate()
H A DDecoderEmitter.cpp1356 PositiveMask.setBit(i); in emitSoftFailTableEntry()
1360 NegativeMask.setBit(i); in emitSoftFailTableEntry()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp700 DemandedSrcElts.setBit((j * Scale) + i); in SimplifyMultipleUseDemandedBits()
719 DemandedSrcElts.setBit(i / Scale); in SimplifyMultipleUseDemandedBits()
2191 InputDemandedBits.setBit(ExVTBits - 1); in SimplifyDemandedBits()
2303 InDemandedBits.setBit(InBits - 1); in SimplifyDemandedBits()
2520 DemandedSrcElts.setBit((j * Scale) + i); in SimplifyDemandedBits()
2543 DemandedSrcElts.setBit(i / Scale); in SimplifyDemandedBits()
2809 KnownUndef.setBit(i); in getKnownUndefForVectorBinop()
2960 KnownZero.setBit(Elt); in SimplifyDemandedVectorElts()
2992 KnownZero.setBit(i); in SimplifyDemandedVectorElts()
2994 KnownUndef.setBit(i); in SimplifyDemandedVectorElts()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MCTargetDesc.cpp560 Mask.setBit(I); in clearsSuperRegisters()
566 Mask.setBit(NumDefs + I); in clearsSuperRegisters()
/openbsd-src/gnu/llvm/lldb/source/Utility/
H A DScalar.cpp886 m_integer.setBit(bit); in SetBit()
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DKnownBits.cpp507 Res.Zero.setBit(1); in mul()
H A DAPInt.cpp2996 NewA.setBit(i); in ScaleBitMask()
2999 NewA.setBit(i); in ScaleBitMask()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp228 MOps.Mask.setBit(BitIndex ? BitIndex->getZExtValue() : 0); in matchAndOrChain()
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h1219 DemandedDstElts.setBit(I.index()); in getInstructionCost()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DInstructions.cpp2486 UndefElts.setBit(i); in isInsertSubvectorMask()
2490 Src0Elts.setBit(i); in isInsertSubvectorMask()
2494 Src1Elts.setBit(i); in isInsertSubvectorMask()

12