Home
last modified time | relevance | path

Searched refs:CmpEnd (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/IR/
DIntrinsicInst.cpp61 size_t CmpEnd = 4; // Skip the "llvm" component. in lookupLLVMIntrinsicByName() local
65 while (CmpEnd < Name.size() && High - Low > 0) { in lookupLLVMIntrinsicByName()
66 CmpStart = CmpEnd; in lookupLLVMIntrinsicByName()
67 CmpEnd = Name.find('.', CmpStart + 1); in lookupLLVMIntrinsicByName()
68 CmpEnd = CmpEnd == StringRef::npos ? Name.size() : CmpEnd; in lookupLLVMIntrinsicByName()
69 auto Cmp = [CmpStart, CmpEnd](const char *LHS, const char *RHS) { in lookupLLVMIntrinsicByName()
70 return strncmp(LHS + CmpStart, RHS + CmpStart, CmpEnd - CmpStart) < 0; in lookupLLVMIntrinsicByName()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DIntrinsicInst.cpp73 size_t CmpEnd = 4; // Skip the "llvm" component. in lookupLLVMIntrinsicByName() local
77 while (CmpEnd < Name.size() && High - Low > 0) { in lookupLLVMIntrinsicByName()
78 CmpStart = CmpEnd; in lookupLLVMIntrinsicByName()
79 CmpEnd = Name.find('.', CmpStart + 1); in lookupLLVMIntrinsicByName()
80 CmpEnd = CmpEnd == StringRef::npos ? Name.size() : CmpEnd; in lookupLLVMIntrinsicByName()
81 auto Cmp = [CmpStart, CmpEnd](const char *LHS, const char *RHS) { in lookupLLVMIntrinsicByName()
82 return strncmp(LHS + CmpStart, RHS + CmpStart, CmpEnd - CmpStart) < 0; in lookupLLVMIntrinsicByName()