Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DWholeProgramDevirt.h78 void setBit(uint64_t Pos, bool b) { in setBit() function
171 TM->Bits->Before.setBit(Pos - 8 * minBeforeBytes(), RetVal); in setBeforeBit()
177 TM->Bits->After.setBit(Pos - 8 * minAfterBytes(), RetVal); in setAfterBit()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp432 InputDemandedBits.setBit(SrcBitWidth-1); in SimplifyDemandedUseBits()
1119 UndefElts.setBit(i); in SimplifyDemandedVectorElts()
1128 UndefElts.setBit(i); in SimplifyDemandedVectorElts()
1286 LeftDemanded.setBit(MaskVal); in SimplifyDemandedVectorElts()
1331 UndefElts.setBit(i); in SimplifyDemandedVectorElts()
1334 UndefElts.setBit(i); in SimplifyDemandedVectorElts()
1338 UndefElts.setBit(i); in SimplifyDemandedVectorElts()
1347 UndefElts.setBit(i); in SimplifyDemandedVectorElts()
1473 InputDemandedElts.setBit(InIdx); in SimplifyDemandedVectorElts()
1489 UndefElts.setBit(OutIdx); in SimplifyDemandedVectorElts()
[all …]
H A DInstCombineVectorOps.cpp300 UsedElts.setBit(MaskVal); in findDemandedEltsBySingleUser()
303 UsedElts.setBit(MaskVal - VWidth); in findDemandedEltsBySingleUser()
383 DemandedElts.setBit(IndexC->getZExtValue()); in visitExtractElementInst()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ShuffleDecodeConstantPool.cpp67 UndefElts.setBit(i); in extractConstantMask()
104 UndefElts.setBit(i); in extractConstantMask()
H A DX86ISelLowering.cpp7314 KnownZero.setBit(i); in computeZeroableShuffleElements()
7501 KnownZero.setBit(i); in resolveZeroablesFromTargetShuffle()
8529 UndefMask.setBit(i); in EltsFromConsecutiveLoads()
8533 ZeroMask.setBit(i); in EltsFromConsecutiveLoads()
8549 LoadMask.setBit(i); in EltsFromConsecutiveLoads()
10351 UndefMask.setBit(i); in LowerBUILD_VECTOR()
10360 ZeroMask.setBit(i); in LowerBUILD_VECTOR()
36830 ZeroElts.setBit(i); in combineX86ShufflesConstants()
36847 ZeroElts.setBit(i); in combineX86ShufflesConstants()
39961 Imm.setBit(Idx); in combinevXi1ConstantToInteger()
[all …]
H A DX86InstCombineIntrinsic.cpp1968 OpDemandedElts.setBit((Lane * InnerVWidthPerLane) + Elt); in simplifyDemandedVectorEltsIntrinsic()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h552 API.setBit(numBits - 1);
595 Res.setBit(BitNo);
1442 void setBit(unsigned BitPosition) {
1453 setBit(BitWidth - 1);
1459 setBit(BitPosition);
/freebsd-13.1/contrib/llvm-project/llvm/lib/MCA/
H A DInstrBuilder.cpp83 Buffers.setBit(getResourceStateIndex(Mask)); in initializeUsedResources()
219 Buffers.setBit(getResourceStateIndex(Mask)); in initializeUsedResources()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp253 MOps.Mask.setBit(BitIndex ? BitIndex->getZExtValue() : 0); in matchAndOrChain()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp1137 DemandedLHS.setBit(M); in SimplifyDemandedBits()
2359 KnownUndef.setBit(i); in getKnownUndefForVectorBinop()
2529 KnownZero.setBit(i); in SimplifyDemandedVectorElts()
2559 KnownUndef.setBit(i); in SimplifyDemandedVectorElts()
2562 KnownZero.setBit(i); in SimplifyDemandedVectorElts()
2727 DemandedLHS.setBit(M); in SimplifyDemandedVectorElts()
2773 KnownUndef.setBit(i); in SimplifyDemandedVectorElts()
2776 KnownUndef.setBit(i); in SimplifyDemandedVectorElts()
2778 KnownZero.setBit(i); in SimplifyDemandedVectorElts()
2781 KnownUndef.setBit(i); in SimplifyDemandedVectorElts()
[all …]
H A DSelectionDAG.cpp2518 UndefElts.setBit(i); in isSplatValue()
2537 UndefElts.setBit(i); in isSplatValue()
2832 DemandedLHS.setBit((unsigned)M % NumElts); in computeKnownBits()
2834 DemandedRHS.setBit((unsigned)M % NumElts); in computeKnownBits()
2950 SubDemandedElts.setBit(i * SubScale); in computeKnownBits()
2971 SubDemandedElts.setBit(i / SubScale); in computeKnownBits()
3736 DemandedLHS.setBit((unsigned)M % NumElts); in ComputeNumSignBits()
3738 DemandedRHS.setBit((unsigned)M % NumElts); in ComputeNumSignBits()
3777 SrcDemandedElts.setBit(i / Scale); in ComputeNumSignBits()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MCTargetDesc.cpp455 Mask.setBit(I); in clearsSuperRegisters()
461 Mask.setBit(NumDefs + I); in clearsSuperRegisters()
/freebsd-13.1/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeGenSchedule.cpp278 OperandMask.setBit(Index); in constructOperandMask()
334 ProcMask.setBit(ProcIndex); in processSTIPredicate()
345 PredMask.setBit(Predicate2Index[Pred]); in processSTIPredicate()
H A DFixedLenDecoderEmitter.cpp1329 PositiveMask.setBit(i); in emitSoftFailTableEntry()
1333 NegativeMask.setBit(i); in emitSoftFailTableEntry()
/freebsd-13.1/contrib/llvm-project/lldb/source/Utility/
H A DScalar.cpp886 m_integer.setBit(bit); in SetBit()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp173 DemandedLHS.setBit(0); in getShuffleDemandedElts()
187 DemandedLHS.setBit(M % NumElts); in getShuffleDemandedElts()
189 DemandedRHS.setBit(M % NumElts); in getShuffleDemandedElts()
1078 Known.Zero.setBit(0); in computeKnownBitsFromOperator()
1216 SubDemandedElts.setBit(i * SubScale); in computeKnownBitsFromOperator()
3269 API.setBit(BitToSet); in ComputeMultiple()
H A DScalarEvolution.cpp9125 Mod.setBit(BW - Mult2); // Mod = N / D in SolveLinEquationWithOverflow()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp3912 DemandedElts.setBit(Idx); in getEntryCost()
4535 DemandedElts[VecId].setBit(Idx); in getTreeCost()
4765 DemandedElts.setBit(I); in getGatherCost()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineScheduler.cpp2059 ResourceGroupSubUnitMasks[i].setBit(SubUnits[U]); in init()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp919 Bitfield.setBit((unsigned char)C); in optimizeMemChr()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp13096 Op1Known.Zero.setBit(0); Op1Known.One.clearBit(0); in DAGCombineTruncBoolExt()
13097 Op2Known.Zero.setBit(0); Op2Known.One.clearBit(0); in DAGCombineTruncBoolExt()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp6819 SrcDemE.setBit((Mask & MaskBit)? 1 : 0); in getDemandedSrcElements()

12