/external/llvm/include/llvm/Transforms/Scalar/ |
D | GVN.h | 141 LeaderTableEntry &Curr = LeaderTable[N]; 142 if (!Curr.Val) { 143 Curr.Val = V; 144 Curr.BB = BB; 151 Node->Next = Curr.Next; 152 Curr.Next = Node; 159 LeaderTableEntry *Curr = &LeaderTable[N]; 161 while (Curr && (Curr->Val != I || Curr->BB != BB)) { 162 Prev = Curr; 163 Curr = Curr->Next; [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Scalar/ |
D | GVN.h | 199 LeaderTableEntry &Curr = LeaderTable[N]; 200 if (!Curr.Val) { 201 Curr.Val = V; 202 Curr.BB = BB; 209 Node->Next = Curr.Next; 210 Curr.Next = Node; 217 LeaderTableEntry *Curr = &LeaderTable[N]; 219 while (Curr && (Curr->Val != I || Curr->BB != BB)) { 220 Prev = Curr; 221 Curr = Curr->Next; [all …]
|
/external/clang/lib/ARCMigrate/ |
D | TransProtectedScope.cpp | 64 SwitchCase *Curr = S->getSwitchCaseList(); in VisitSwitchStmt() local 65 if (!Curr) in VisitSwitchStmt() 67 Stmt *Parent = getCaseParent(Curr); in VisitSwitchStmt() 68 Curr = Curr->getNextSwitchCase(); in VisitSwitchStmt() 70 while (Curr) { in VisitSwitchStmt() 71 if (getCaseParent(Curr) != Parent) in VisitSwitchStmt() 73 Curr = Curr->getNextSwitchCase(); in VisitSwitchStmt() 77 Curr = S->getSwitchCaseList(); in VisitSwitchStmt() 79 while (Curr) { in VisitSwitchStmt() 80 Cases.push_back(CaseInfo(Curr,SourceRange(Curr->getLocStart(), NextLoc))); in VisitSwitchStmt() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/LoopAccessAnalysis/ |
D | underlying-objects-2.ll | 16 ; Curr = A[0]; // Prev_0 18 ; Prev = Curr; // Prev = PHI (Prev_0, Curr) 19 ; Curr = A[i]; 21 ; Curr[j] = Prev[j] * B[j] 27 ; should not assume that Curr and Prev share the same underlying object. 29 ; If it did we would try to dependence-analyze Curr and Prev and the analysis
|
/external/llvm/test/Analysis/LoopAccessAnalysis/ |
D | underlying-objects-2.ll | 16 ; Curr = A[0]; // Prev_0 18 ; Prev = Curr; // Prev = PHI (Prev_0, Curr) 19 ; Curr = A[i]; 21 ; Curr[j] = Prev[j] * B[j] 27 ; should not assume that Curr and Prev share the same underlying object. 29 ; If it did we would try to dependence-analyze Curr and Prev and the analysis
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/AggressiveInstCombine/ |
D | TruncInstCombine.cpp | 74 Value *Curr = Worklist.back(); in buildTruncExpressionDag() local 76 if (isa<Constant>(Curr)) { in buildTruncExpressionDag() 81 auto *I = dyn_cast<Instruction>(Curr); in buildTruncExpressionDag() 155 Value *Curr = Worklist.back(); in getMinBitWidth() local 157 if (isa<Constant>(Curr)) { in getMinBitWidth() 163 auto *I = cast<Instruction>(Curr); in getMinBitWidth()
|
/external/swiftshader/third_party/subzero/runtime/ |
D | wasm-runtime.cpp | 397 int Curr = read(Fd, Iov[I].Ptr.asPtr(), Iov[I].Length); in env$$__syscall145() local 399 if (Curr < 0) { in env$$__syscall145() 402 Count += Curr; in env$$__syscall145() 417 int Curr = write(Fd, Iov[I].Ptr.asPtr(), Iov[I].Length); in env$$__syscall146() local 419 if (Curr < 0) { in env$$__syscall146() 422 Count += Curr; in env$$__syscall146()
|
/external/llvm/lib/Transforms/Scalar/ |
D | ADCE.cpp | 96 Instruction *Curr = Worklist.pop_back_val(); in aggressiveDCE() local 99 if (const DILocation *DL = Curr->getDebugLoc()) in aggressiveDCE() 102 for (Use &OI : Curr->operands()) { in aggressiveDCE()
|
D | LoopDistribute.cpp | 430 for (auto Curr = PartitionContainer.cbegin(), in cloneLoops() local 433 Next != E; ++Curr, ++Next) in cloneLoops() 436 Curr->getDistributedLoop()->getExitingBlock()); in cloneLoops()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/obj2yaml/ |
D | macho2yaml.cpp | 96 const SectionType *Curr = in extractSections() local 98 for (; reinterpret_cast<const void *>(Curr) < End; Curr++) { in extractSections() 101 memcpy((void *)&Sec, Curr, sizeof(SectionType)); in extractSections() 105 Sections.push_back(constructSection(*Curr)); in extractSections() 108 return reinterpret_cast<const char *>(Curr); in extractSections() 173 auto Curr = Start + i * sizeof(MachO::build_tool_version); in processLoadCommandData() local 175 memcpy((void *)&BV, Curr, sizeof(MachO::build_tool_version)); in processLoadCommandData()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | GVN.cpp | 487 LeaderTableEntry &Curr = LeaderTable[N]; in addToLeaderTable() local 488 if (!Curr.Val) { in addToLeaderTable() 489 Curr.Val = V; in addToLeaderTable() 490 Curr.BB = BB; in addToLeaderTable() 497 Node->Next = Curr.Next; in addToLeaderTable() 498 Curr.Next = Node; in addToLeaderTable() 505 LeaderTableEntry* Curr = &LeaderTable[N]; in removeFromLeaderTable() local 507 while (Curr->Val != V || Curr->BB != BB) { in removeFromLeaderTable() 508 Prev = Curr; in removeFromLeaderTable() 509 Curr = Curr->Next; in removeFromLeaderTable() [all …]
|
/external/llvm/tools/obj2yaml/ |
D | macho2yaml.cpp | 91 const SectionType *Curr = in extractSections() local 93 for (; reinterpret_cast<const void *>(Curr) < End; Curr++) { in extractSections() 96 memcpy((void *)&Sec, Curr, sizeof(SectionType)); in extractSections() 100 Sections.push_back(constructSection(*Curr)); in extractSections() 103 return reinterpret_cast<const char *>(Curr); in extractSections()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/ |
D | PPCBoolRetToInt.cpp | 79 Value *Curr = WorkList.back(); in findAllDefs() local 81 auto *CurrUser = dyn_cast<User>(Curr); in findAllDefs() 84 if (CurrUser && !isa<CallInst>(Curr)) in findAllDefs()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-stress/ |
D | llvm-stress.cpp | 718 BasicBlock *Curr = Instr->getParent(); in IntroduceControlFlow() local 720 BasicBlock *Next = Curr->splitBasicBlock(Loc, "CF"); in IntroduceControlFlow() 721 Instr->moveBefore(Curr->getTerminator()); in IntroduceControlFlow() 722 if (Curr != &F->getEntryBlock()) { in IntroduceControlFlow() 723 BranchInst::Create(Curr, Next, Instr, Curr->getTerminator()); in IntroduceControlFlow() 724 Curr->getTerminator()->eraseFromParent(); in IntroduceControlFlow()
|
/external/llvm/tools/llvm-stress/ |
D | llvm-stress.cpp | 668 BasicBlock *Curr = Instr->getParent(); in IntroduceControlFlow() local 670 BasicBlock *Next = Curr->splitBasicBlock(Loc, "CF"); in IntroduceControlFlow() 671 Instr->moveBefore(Curr->getTerminator()); in IntroduceControlFlow() 672 if (Curr != &F->getEntryBlock()) { in IntroduceControlFlow() 673 BranchInst::Create(Curr, Next, Instr, Curr->getTerminator()); in IntroduceControlFlow() 674 Curr->getTerminator()->eraseFromParent(); in IntroduceControlFlow()
|
/external/llvm/include/llvm/Support/ |
D | ScopedPrinter.h | 151 uint64_t Curr = Value; in printFlags() local 152 while (Curr > 0) { in printFlags() 153 if (Curr & 1) in printFlags() 155 Curr >>= 1; in printFlags()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/ |
D | x86-cmov-converter.ll | 80 ;;unsigned BinarySearch(unsigned Mask, Node *Curr, Node *Next) { 81 ;; while (Curr->Val > Next->Val) { 82 ;; Curr = Next; 83 ;; if (Mask & (0x1 << Curr->Val)) 84 ;; Next = Curr->Right; 86 ;; Next = Curr->Left; 88 ;; return Curr->Val; 239 define i32 @BinarySearch(i32 %Mask, %struct.Node* nocapture readonly %Curr, %struct.Node* nocapture… 241 %Val8 = getelementptr inbounds %struct.Node, %struct.Node* %Curr, i64 0, i32 0
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | ScopedPrinter.h | 153 uint64_t Curr = Value; in printFlags() local 154 while (Curr > 0) { in printFlags() 155 if (Curr & 1) in printFlags() 157 Curr >>= 1; in printFlags()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCBoolRetToInt.cpp | 67 Value *Curr = WorkList.back(); in findAllDefs() local 69 if (User *CurrUser = dyn_cast<User>(Curr)) in findAllDefs()
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | SparseBitVector.h | 152 int find_next(unsigned Curr) const { 153 if (Curr >= BITS_PER_ELEMENT) 156 unsigned WordPos = Curr / BITWORD_SIZE; 157 unsigned BitPos = Curr % BITWORD_SIZE;
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | SparseBitVector.h | 148 int find_next(unsigned Curr) const { in find_next() 149 if (Curr >= BITS_PER_ELEMENT) in find_next() 152 unsigned WordPos = Curr / BITWORD_SIZE; in find_next() 153 unsigned BitPos = Curr % BITWORD_SIZE; in find_next()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | EarlyCSE.cpp | 738 Instruction *Curr = WorkList.pop_back_val(); in handleBranchCondition() local 740 AvailableValues.insert(Curr, TorF); in handleBranchCondition() 742 << Curr->getName() << "' as " << *TorF << " in " in handleBranchCondition() 748 if (unsigned Count = replaceDominatedUsesWith(Curr, TorF, DT, in handleBranchCondition() 755 if (MatchBinOp(Curr, PropagateOpcode)) in handleBranchCondition() 756 for (auto &Op : cast<BinaryOperator>(Curr)->operands()) in handleBranchCondition()
|
D | LoopDistribute.cpp | 466 for (auto Curr = PartitionContainer.cbegin(), in cloneLoops() local 469 Next != E; ++Curr, ++Next) in cloneLoops() 472 Curr->getDistributedLoop()->getExitingBlock()); in cloneLoops()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | CodeExtractor.cpp | 98 User const *Curr = ToVisit.pop_back_val(); in isBlockValidForExtraction() local 99 if (!Visited.insert(Curr).second) in isBlockValidForExtraction() 101 if (isa<BlockAddress const>(Curr)) in isBlockValidForExtraction() 104 if (isa<Instruction>(Curr) && cast<Instruction>(Curr)->getParent() != &BB) in isBlockValidForExtraction() 107 for (auto const &U : Curr->operands()) { in isBlockValidForExtraction()
|
/external/llvm/include/llvm/ADT/ |
D | SparseBitVector.h | 140 int find_next(unsigned Curr) const { 141 if (Curr >= BITS_PER_ELEMENT) 144 unsigned WordPos = Curr / BITWORD_SIZE; 145 unsigned BitPos = Curr % BITWORD_SIZE;
|