Home
last modified time | relevance | path

Searched refs:Curr (Results 1 – 25 of 34) sorted by relevance

12

/external/llvm/include/llvm/Transforms/Scalar/
DGVN.h141 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/
DGVN.h199 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/
DTransProtectedScope.cpp64 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/
Dunderlying-objects-2.ll16 ; 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/
Dunderlying-objects-2.ll16 ; 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/
DTruncInstCombine.cpp74 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/
Dwasm-runtime.cpp397 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/
DADCE.cpp96 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()
DLoopDistribute.cpp430 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/
Dmacho2yaml.cpp96 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/llvm/tools/obj2yaml/
Dmacho2yaml.cpp91 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/
DPPCBoolRetToInt.cpp79 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/llvm/tools/llvm-stress/
Dllvm-stress.cpp668 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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-stress/
Dllvm-stress.cpp718 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/include/llvm/Support/
DScopedPrinter.h151 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/
Dx86-cmov-converter.ll80 ;;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/
DScopedPrinter.h153 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/
DPPCBoolRetToInt.cpp67 Value *Curr = WorkList.back(); in findAllDefs() local
69 if (User *CurrUser = dyn_cast<User>(Curr)) in findAllDefs()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DSparseBitVector.h148 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/
DEarlyCSE.cpp738 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()
DLoopDistribute.cpp466 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/
DCodeExtractor.cpp98 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/
DSparseBitVector.h140 int find_next(unsigned Curr) const {
141 if (Curr >= BITS_PER_ELEMENT)
144 unsigned WordPos = Curr / BITWORD_SIZE;
145 unsigned BitPos = Curr % BITWORD_SIZE;
/external/llvm/include/llvm/TableGen/
DRecord.h1593 const char *Curr = Start; in RecordParts() local
1594 bool isDigitPart = ascii_isdigit(Curr[0]); in RecordParts()
1596 bool isDigit = ascii_isdigit(Curr[I]); in RecordParts()
1600 Start = &Curr[I]; in RecordParts()
1601 isDigitPart = ascii_isdigit(Curr[I]); in RecordParts()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/TableGen/
DRecord.h1699 const char *Curr = Start; in RecordParts() local
1700 bool isDigitPart = ascii_isdigit(Curr[0]); in RecordParts()
1702 bool isDigit = ascii_isdigit(Curr[I]); in RecordParts()
1706 Start = &Curr[I]; in RecordParts()
1707 isDigitPart = ascii_isdigit(Curr[I]); in RecordParts()

12