/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
H A D | Thumb2ITBlockPass.cpp | 68 RegisterSet &Defs, RegisterSet &Uses); 81 static void TrackDefUses(MachineInstr *MI, RegisterSet &Defs, RegisterSet &Uses, in TrackDefUses() argument 107 InsertUsesDefs(LocalUses, Uses); in TrackDefUses() 113 static void ClearKillFlags(MachineInstr *MI, RegisterSet &Uses) { in ClearKillFlags() argument 117 if (!Uses.count(MO.getReg())) in ClearKillFlags() 138 RegisterSet &Defs, RegisterSet &Uses) { in MoveCopyOutOfITBlock() 152 if (Uses.count(DstReg) || Defs.count(SrcReg)) in MoveCopyOutOfITBlock() 196 RegisterSet Defs, Uses; in InsertITInstructions() local 210 Uses.clear(); in InsertITInstructions() 211 TrackDefUses(MI, Defs, Uses, TR in InsertITInstructions() 136 MoveCopyOutOfITBlock(MachineInstr *MI, ARMCC::CondCodes CC, ARMCC::CondCodes OCC, RegisterSet &Defs, RegisterSet &Uses) MoveCopyOutOfITBlock() argument [all...] |
H A D | ARMLowOverheadLoops.cpp | 857 SmallVector<MachineInstr*, 4> Uses; in RemoveLoopUpdate() local 858 RDA->getReachingLocalUses(Def, ElemCount, Uses); in RemoveLoopUpdate() 859 if (Uses.size()) { in RemoveLoopUpdate() 864 Uses.clear(); in RemoveLoopUpdate() 865 RDA->getAllInstWithUseBefore(Def, ElemCount, Uses); in RemoveLoopUpdate() 869 if (!Uses.size() || (Uses.size() == 1 && Uses[0] == LoLoop.VCTP)) { in RemoveLoopUpdate() 877 for (auto U : Uses) U->dump()); in RemoveLoopUpdate()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
H A D | SIFormMemoryClauses.cpp | 67 bool canBundle(const MachineInstr &MI, RegUse &Defs, RegUse &Uses) const; 69 void collectRegUses(const MachineInstr &MI, RegUse &Defs, RegUse &Uses) const; 70 bool processRegUses(const MachineInstr &MI, RegUse &Defs, RegUse &Uses, 209 RegUse &Defs, RegUse &Uses) const { in canBundle() 226 RegUse &Map = MO.isDef() ? Uses : Defs; in canBundle() 265 RegUse &Defs, RegUse &Uses) const { in collectRegUses() 276 RegUse &Map = MO.isDef() ? Defs : Uses; in collectRegUses() 293 RegUse &Defs, RegUse &Uses, in processRegUses() 295 if (!canBundle(MI, Defs, Uses)) in processRegUses() 301 collectRegUses(MI, Defs, Uses); in processRegUses() 292 processRegUses(const MachineInstr &MI, RegUse &Defs, RegUse &Uses, GCNDownwardRPTracker &RPT) processRegUses() argument 337 RegUse Defs, Uses; runOnMachineFunction() local [all...] |
H A D | GCNDPPCombine.cpp | 447 SmallVector<MachineOperand*, 16> Uses; in combineDPPMov() local 450 Uses.push_back(&Use); in combineDPPMov() 453 while (!Uses.empty()) { in combineDPPMov() 454 MachineOperand *Use = Uses.pop_back_val(); in combineDPPMov() 484 Uses.push_back(&Op); in combineDPPMov() 538 Rollback |= !Uses.empty(); in combineDPPMov()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/ |
H A D | ARCOptAddrMode.cpp | 82 // If \p Uses is not null, fill it with instructions after \p Ldst which use 85 SmallVectorImpl<MachineInstr *> *Uses); 87 // Returns true if all instruction in \p Uses array can be adjusted 89 bool canFixPastUses(const ArrayRef<MachineInstr *> &Uses, 92 // Update all instructions in \p Uses to accomodate increment 94 void fixPastUses(ArrayRef<MachineInstr *> Uses, unsigned BaseReg, 227 SmallVector<MachineInstr *, 8> Uses; in tryToCombine() local 228 MachineInstr *MoveTo = canJoinInstructions(&Ldst, &Add, &Uses); in tryToCombine() 233 if (!canFixPastUses(Uses, Add.getOperand(2), B)) in tryToCombine() 251 fixPastUses(Uses, in tryToCombine() 265 canJoinInstructions(MachineInstr *Ldst, MachineInstr *Add, SmallVectorImpl<MachineInstr *> *Uses) canJoinInstructions() argument 342 canFixPastUses(const ArrayRef<MachineInstr *> &Uses, MachineOperand &Incr, unsigned BaseReg) canFixPastUses() argument 363 fixPastUses(ArrayRef<MachineInstr *> Uses, unsigned NewBase, int64_t NewOffset) fixPastUses() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
H A D | LoopRerollPass.cpp | 461 UsesTy Uses; member 1015 Uses[&I].resize(IL_End); in collectUsedInstructions() 1030 Uses[I].set(0); in collectUsedInstructions() 1045 Uses[I].set(Idx); in collectUsedInstructions() 1052 Uses[I].set(IL_All); in collectUsedInstructions() 1068 Uses[I].set(IL_All); in collectUsedInstructions() 1157 // Populate "Uses" with where each instruction is used. in validate() 1163 Uses[I].set(IL_All); in validate() 1173 Uses[IVUser].set(IL_All); in validate() 1177 Uses[UUse in validate() [all...] |
H A D | ConstantHoisting.cpp | 316 for (auto const &U : RCI.Uses) in findConstantInsertionPoint() 565 NumUses += ConstCand->Uses.size(); in maximizeConstantsInRange() 578 NumUses += ConstCand->Uses.size(); in maximizeConstantsInRange() 582 for (auto User : ConstCand->Uses) { in maximizeConstantsInRange() 639 RebasedConstantInfo(std::move(ConstCand->Uses), Offset, ConstTy)); in findAndMakeBaseConstant() 670 for (auto &U : CC->Uses) { in findBaseConstants() 848 unsigned Uses = 0; in emitBaseConstants() local 852 for (auto const &U : RCI.Uses) { in emitBaseConstants() 853 Uses++; in emitBaseConstants() 863 UsesNum = Uses; in emitBaseConstants() [all...] |
H A D | LoopStrengthReduce.cpp | 1940 mutable SmallVector<LSRUse, 16> Uses; member in __anon25154::LSRInstance 2583 LSRUse &LU = Uses[LUIdx]; in getUse() 2590 size_t LUIdx = Uses.size(); in getUse() 2592 Uses.push_back(LSRUse(Kind, AccessTy)); in getUse() 2593 LSRUse &LU = Uses[LUIdx]; in getUse() 2600 /// Delete the given use from the Uses list. 2602 if (&LU != &Uses.back()) in DeleteUse() 2603 std::swap(LU, Uses.back()); in DeleteUse() 2604 Uses.pop_back(); in DeleteUse() 2607 RegUses.swapAndDropUse(LUIdx, Uses in DeleteUse() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/ |
H A D | ConstantHoisting.h | 81 ConstantUseListType Uses; member 95 Uses.push_back(ConstantUser(Inst, Idx)); in addUser() 102 ConstantUseListType Uses; member 106 RebasedConstantInfo(ConstantUseListType &&Uses, Constant *Offset, in RebasedConstantInfo() 107 Type *Ty=nullptr) : Uses(std::move(Uses)), Offset(Offset), Ty(Ty) {} in RebasedConstantInfo()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyFixFunctionBitcasts.cpp | 68 SmallVectorImpl<std::pair<Use *, Function *>> &Uses, in findUses() 72 findUses(BC, F, Uses, ConstantBCs); in findUses() 74 findUses(A, F, Uses, ConstantBCs); in findUses() 90 Uses.push_back(std::make_pair(&U, &F)); in findUses() 242 SmallVector<std::pair<Use *, Function *>, 0> Uses; in runOnModule() local 247 findUses(&F, F, Uses, ConstantBCs); in runOnModule() 269 Uses.push_back(std::make_pair(UseMain, &F)); in runOnModule() 276 for (auto &UseFunc : Uses) { in runOnModule() 67 findUses(Value *V, Function &F, SmallVectorImpl<std::pair<Use *, Function *>> &Uses, SmallPtrSetImpl<Constant *> &ConstantBCs) findUses() argument
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
H A D | HexagonGenMux.cpp | 100 BitVector Defs, Uses; member 103 DefUseInfo(const BitVector &D, const BitVector &U) : Defs(D), Uses(U) {} in DefUseInfo() 130 BitVector &Uses) const; 159 BitVector &Uses) const { in getDefsUses() 168 expandReg(*R++, Uses); in getDefsUses() 175 BitVector &Set = MO.isDef() ? Defs : Uses; in getDefsUses() 184 BitVector Defs(NR), Uses(NR); in buildMaps() 190 Uses.reset(); in buildMaps() 191 getDefsUses(MI, Defs, Uses); in buildMaps() 192 DUM.insert(std::make_pair(Index, DefUseInfo(Defs, Uses))); in buildMaps() [all...] |
H A D | HexagonCommonGEP.cpp | 152 NodeToUsesMap Uses; member in __anon24604::HexagonCommonGEP 402 Uses[PN].insert(Us.begin(), Us.end()); in processGepInst() 609 UseSet &MinUs = Uses[Min]; in common() 616 MinUs.insert(Uses[N].begin(), Uses[N].end()); in common() 620 Uses.erase(Min); in common() 771 NodeToUsesMap::iterator UF = Uses.find(Node); in recalculatePlacement() 772 assert(UF != Uses.end() && "Used node with no use information"); in recalculatePlacement() 980 NodeToUsesMap::iterator UF = Uses.find(Node); in separateChainForNode() 981 assert(UF != Uses in separateChainForNode() [all...] |
H A D | BitTracker.h | 75 UseQueueType() : Uses(Dist) {} in UseQueueType() 78 return Uses.size(); in size() 84 return Uses.top(); in front() 88 Uses.push(MI); in push() 92 Uses.pop(); in pop() 103 std::priority_queue<MachineInstr*, std::vector<MachineInstr*>, Cmp> Uses; member
|
H A D | HexagonExpandCondsets.cpp | 222 bool canMoveOver(MachineInstr &MI, ReferenceMap &Defs, ReferenceMap &Uses); 791 /// the maps Defs and Uses. These maps reflect the conditional defs and uses 795 ReferenceMap &Uses) { in canMoveOver() 797 // "Defs" and use "Uses", no def operand from MI can be defined or used in canMoveOver() 812 if (Op.isDef() && isRefInMap(RR, Uses, Exec_Then)) in canMoveOver() 968 ReferenceMap Uses, Defs; in predicate() local 1006 ReferenceMap &Map = Op.isDef() ? Defs : Uses; in predicate() 1031 if (isRefInMap(RT, Defs, Exec_Then) || isRefInMap(RT, Uses, Exec_Else)) in predicate() 1040 bool CanUp = canMoveOver(TfrI, Defs, Uses); in predicate() 1041 bool CanDown = canMoveOver(*DefI, Defs, Uses); in predicate() 794 canMoveOver(MachineInstr &MI, ReferenceMap &Defs, ReferenceMap &Uses) canMoveOver() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
H A D | Optimizer.cpp | 62 struct Uses : std::vector<Ice::Inst *> struct in __anon22923::Optimizer 86 Optimizer::Uses *getUses(Ice::Operand *); 87 void setUses(Ice::Operand *, Optimizer::Uses *); 121 // Deletes the Uses instance on the operand in run() 151 Uses uses = *getUses(address); // Hard copy in propagateAlloca() 164 Uses destUses = *getUses(dest); // Hard copy in propagateAlloca() 248 Uses uses = *getUses(address); // Hard copy in performScalarReplacementOfAggregates() 590 Optimizer::Uses *uses = getUses(address); in isDead() 788 Optimizer::Uses *Optimizer::getUses(Ice::Operand *operand) in getUses() 790 Optimizer::Uses *use in getUses() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
H A D | ReachingDefAnalysis.cpp | 228 SmallVectorImpl<MachineInstr*> &Uses) { 241 Uses.push_back(&*MI); 249 SmallVector<MachineInstr*, 4> Uses; 250 getReachingLocalUses(Def, PhysReg, Uses); 251 return Uses.size(); 324 int PhysReg, SmallVectorImpl<MachineInstr*> &Uses) { 329 Uses.push_back(Use);
|
H A D | RegAllocGreedy.cpp | 2098 ArrayRef<SlotIndex> Uses = SA->getUseSlots(); in tryInstructionSplit() local 2099 if (Uses.size() <= 1) in tryInstructionSplit() 2102 LLVM_DEBUG(dbgs() << "Split around " << Uses.size() in tryInstructionSplit() 2112 for (unsigned i = 0; i != Uses.size(); ++i) { in tryInstructionSplit() 2113 if (const MachineInstr *MI = Indexes->getInstructionFromIndex(Uses[i])) in tryInstructionSplit() 2118 LLVM_DEBUG(dbgs() << " skip:\t" << Uses[i] << '\t' << *MI); in tryInstructionSplit() 2122 SlotIndex SegStart = SE->enterIntvBefore(Uses[i]); in tryInstructionSplit() 2123 SlotIndex SegStop = SE->leaveIntvAfter(Uses[i]); in tryInstructionSplit() 2155 ArrayRef<SlotIndex> Uses = SA->getUseSlots(); in calcGapWeights() local 2156 const unsigned NumGaps = Uses in calcGapWeights() 2245 ArrayRef<SlotIndex> Uses = SA->getUseSlots(); tryLocalSplit() local 2278 << Uses[i + 1]); tryLocalSplit() local [all...] |
H A D | ScheduleDAGInstrs.cpp | 209 Uses.insert(PhysRegSUOper(&ExitSU, -1, Reg)); in addSchedBarrierDeps() 220 if (!Uses.contains(LI.PhysReg)) in addSchedBarrierDeps() 221 Uses.insert(PhysRegSUOper(&ExitSU, -1, LI.PhysReg)); in addSchedBarrierDeps() 243 if (!Uses.contains(*Alias)) in addPhysRegDataDeps() 245 for (Reg2SUnitsMap::iterator I = Uses.find(*Alias); I != Uses.end(); ++I) { in addPhysRegDataDeps() 331 Uses.insert(PhysRegSUOper(SU, OperIdx, Reg)); in addPhysRegDeps() 339 if (Uses.contains(*SubReg)) in addPhysRegDeps() 340 Uses.eraseAll(*SubReg); in addPhysRegDeps() 781 assert(Defs.empty() && Uses in buildSchedGraph() [all...] |
H A D | MachineLoopUtils.cpp | 63 SmallVector<MachineOperand *, 4> Uses; in PeelSingleBlockLoop() local 66 Uses.push_back(&Use); in PeelSingleBlockLoop() 67 for (auto *Use : Uses) { in PeelSingleBlockLoop()
|
H A D | MIRCanonicalizerPass.cpp | 337 std::vector<MachineOperand *> Uses; in propagateLocalCopies() local 339 Uses.push_back(&*UI); in propagateLocalCopies() 340 for (auto *MO : Uses) in propagateLocalCopies()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
H A D | SSAUpdaterBulk.cpp | 65 Rewrites[Var].Uses.push_back(U); 133 // UsingBlocks from uses in R.Uses, then compute LiveInBlocks, and then use 137 LLVM_DEBUG(dbgs() << "SSAUpdater: rewriting " << R.Uses.size() 146 for (Use *U : R.Uses) 176 for (Use *U : R.Uses) {
|
/third_party/node/deps/v8/src/compiler/ |
H A D | node.h | 127 class V8_EXPORT_PRIVATE Uses final { 137 explicit Uses(Node* node) : node_(node) {} in Uses() function in v8::internal::compiler::final::final 143 Uses uses() { return Uses(this); } in uses() 642 class Node::Uses::const_iterator final { 671 friend class Node::Uses; 690 Node::Uses::const_iterator Node::Uses::begin() const { in begin() 695 Node::Uses::const_iterator Node::Uses [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
H A D | FunctionAttrs.cpp | 321 SmallVector<ArgumentGraphNode *, 4> Uses; member 344 iterator begin() { return SyntheticRoot.Uses.begin(); } in begin() 345 iterator end() { return SyntheticRoot.Uses.end(); } in end() 351 SyntheticRoot.Uses.push_back(&Node); in operator []() 357 /// consider that a capture, instead adding it to the "Uses" list and 405 Uses.push_back(&*std::next(F->arg_begin(), UseIndex)); 412 // Uses within our SCC. 413 SmallVector<Argument *, 4> Uses; member 427 static ChildIteratorType child_begin(NodeRef N) { return N->Uses.begin(); } in child_begin() 428 static ChildIteratorType child_end(NodeRef N) { return N->Uses in child_begin() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
H A D | ReachingDefAnalysis.h | 127 SmallVectorImpl<MachineInstr*> &Uses); 136 SmallVectorImpl<MachineInstr*> &Uses);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
H A D | MipsDelaySlotFiller.cpp | 121 /// Set bits in Uses corresponding to MBB's live-out registers except for 136 BitVector Defs, Uses; member in __anon24727::RegDefsUses 192 /// Update Defs and Uses. Return true if there exist dependences that 193 /// disqualify the delay slot candidate between V and values in Uses and 202 SmallPtrSet<ValueType, 4> Uses, Defs; member in __anon24727::MemDefsUses 346 : TRI(TRI), Defs(TRI.getNumRegs(), false), Uses(TRI.getNumRegs(), false) {} in RegDefsUses() 409 Uses.set(LI.PhysReg); in addLiveOut() 430 Uses |= NewUses; in update() 440 return (isRegInSet(Defs, Reg) || isRegInSet(Uses, Reg)); in checkRegDefsUses() 521 return !Defs.insert(V).second || Uses in updateDefsUses() [all...] |