/external/llvm/lib/Support/ |
D | Regex.cpp | 24 preg = new llvm_regex(); in Regex() 25 preg->re_endp = regex.end(); in Regex() 32 error = llvm_regcomp(preg, regex.data(), flags|REG_PEND); in Regex() 36 llvm_regfree(preg); in ~Regex() 37 delete preg; in ~Regex() 44 size_t len = llvm_regerror(error, preg, NULL, 0); in isValid() 47 llvm_regerror(error, preg, &Error[0], len); in isValid() 54 return preg->re_nsub; in getNumMatches() 58 unsigned nmatch = Matches ? preg->re_nsub+1 : 0; in match() 66 int rc = llvm_regexec(preg, String.data(), nmatch, pm.data(), REG_STARTEND); in match()
|
D | regfree.c | 50 llvm_regfree(llvm_regex_t *preg) in llvm_regfree() argument 54 if (preg->re_magic != MAGIC1) /* oops */ in llvm_regfree() 57 g = preg->re_g; in llvm_regfree() 60 preg->re_magic = 0; /* mark it invalid */ in llvm_regfree()
|
D | regerror.c | 84 llvm_regerror(int errcode, const llvm_regex_t *preg, char *errbuf, size_t errbuf_size) in llvm_regerror() argument 93 s = regatoi(preg, convbuf, sizeof convbuf); in llvm_regerror() 123 regatoi(const llvm_regex_t *preg, char *localbuf, int localbufsize) in regatoi() argument 128 if (strcmp(r->name, preg->re_endp) == 0) in regatoi()
|
D | regexec.c | 141 llvm_regexec(const llvm_regex_t *preg, const char *string, size_t nmatch, in llvm_regexec() argument 144 struct re_guts *g = preg->re_g; in llvm_regexec() 151 if (preg->re_magic != MAGIC1 || g->magic != MAGIC2) in llvm_regexec()
|
D | regcomp.c | 157 llvm_regcomp(llvm_regex_t *preg, const char *pattern, int cflags) in llvm_regcomp() argument 175 if (preg->re_endp < pattern) in llvm_regcomp() 177 len = preg->re_endp - pattern; in llvm_regcomp() 238 preg->re_nsub = g->nsub; in llvm_regcomp() 239 preg->re_g = g; in llvm_regcomp() 240 preg->re_magic = MAGIC1; in llvm_regcomp() 249 llvm_regfree(preg); in llvm_regcomp()
|
/external/llvm/lib/CodeGen/ |
D | RegAllocPBQP.cpp | 226 unsigned preg = rawOrder[i]; in build() local 227 if (mri->isReserved(preg)) in build() 231 if (!regMaskOverlaps.empty() && !regMaskOverlaps.test(preg)) in build() 236 for (MCRegUnitIterator Units(preg, tri); Units.isValid(); ++Units) { in build() 246 vrAllowed.push_back(preg); in build() 486 unsigned preg = problem.getPRegForOption(vreg, alloc); in mapPBQPToRegAlloc() local 488 << tri->getName(preg) << "\n"); in mapPBQPToRegAlloc() 489 assert(preg != 0 && "Invalid preg selected."); in mapPBQPToRegAlloc() 490 vrm->assignVirt2Phys(vreg, preg); in mapPBQPToRegAlloc()
|
/external/valgrind/main/VEX/priv/ |
D | guest_amd64_helpers.c | 1537 Int stno, preg; in do_put_x87() local 1552 preg = (stno + ftop) & 7; in do_put_x87() 1553 tag = (tagw >> (2*preg)) & 3; in do_put_x87() 1561 vexRegs[preg] = 0; /* IEEE754 64-bit zero */ in do_put_x87() 1562 vexTags[preg] = 0; in do_put_x87() 1567 (UChar*)&vexRegs[preg] ); in do_put_x87() 1568 vexTags[preg] = 1; in do_put_x87() 1597 Int i, stno, preg; in do_get_x87() local 1617 preg = (stno + ftop) & 7; in do_get_x87() 1618 if (vexTags[preg] == 0) { in do_get_x87() [all …]
|
D | guest_x86_helpers.c | 1567 Int stno, preg; in do_put_x87() local 1582 preg = (stno + ftop) & 7; in do_put_x87() 1583 tag = (tagw >> (2*preg)) & 3; in do_put_x87() 1591 vexRegs[preg] = 0; /* IEEE754 64-bit zero */ in do_put_x87() 1592 vexTags[preg] = 0; in do_put_x87() 1597 (UChar*)&vexRegs[preg] ); in do_put_x87() 1598 vexTags[preg] = 1; in do_put_x87() 1627 Int i, stno, preg; in do_get_x87() local 1647 preg = (stno + ftop) & 7; in do_get_x87() 1648 if (vexTags[preg] == 0) { in do_get_x87() [all …]
|
/external/llvm/include/llvm/Support/ |
D | Regex.h | 81 struct llvm_regex *preg; variable
|
/external/llvm/test/CodeGen/X86/ |
D | sink-hoist.ll | 70 ; sinking more conservative about sinking instructions that define a preg into a 71 ; block when we don't know if the preg is killed within the current block.
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCInstrInfo.td | 1255 // MFCR <kill of whatever preg got assigned to vreg>
|
/external/llvm/docs/ |
D | CodeGenerator.rst | 1293 physical one, use ``VirtRegMap::assignVirt2Phys(vreg, preg)``. In order to map
|