Searched refs:AllowedUses (Results 1 – 2 of 2) sorted by relevance
580 const SmallVectorImpl<Module *> &AllowedUses = RequestingModule->DirectUses; in violatesUseDeclarations() local582 std::find(AllowedUses.begin(), AllowedUses.end(), RequestedModule); in violatesUseDeclarations()583 return Declared == AllowedUses.end(); in violatesUseDeclarations()
16341 unsigned AllowedUses = InVec.getOperand(0) == InVec.getOperand(1) ? 2 : 1; in XFormVExtractWithShuffleIntoLoad() local16345 if (!LdNode.getNode()->hasNUsesOfValue(AllowedUses, 0)) in XFormVExtractWithShuffleIntoLoad()16348 AllowedUses = 1; // only allow 1 load use if we have a bitcast in XFormVExtractWithShuffleIntoLoad()16357 if (!LN0 ||!LN0->hasNUsesOfValue(AllowedUses, 0) || LN0->isVolatile()) in XFormVExtractWithShuffleIntoLoad()