HomeSort by relevance Sort by last modified time
    Searched defs:StrLen (Results 1 - 6 of 6) sorted by null

  /external/llvm/lib/Transforms/Utils/
BuildLibCalls.cpp 35 /// EmitStrLen - Emit a call to the strlen function to the builder, for the
45 Constant *StrLen = M->getOrInsertFunction("strlen", AttrListPtr::get(AWI, 2),
49 CallInst *CI = B.CreateCall(StrLen, CastToCStr(Ptr, B), "strlen");
50 if (const Function *F = dyn_cast<Function>(StrLen->stripPointerCasts()))
  /external/llvm/include/llvm/ADT/
StringMap.h 44 unsigned StrLen;
46 explicit StringMapEntryBase(unsigned Len) : StrLen(Len) {}
48 unsigned getKeyLength() const { return StrLen; }
115 explicit StringMapEntry(unsigned strLen)
116 : StringMapEntryBase(strLen), second() {}
117 StringMapEntry(unsigned strLen, const ValueTy &V)
118 : StringMapEntryBase(strLen), second(V) {}
  /external/llvm/lib/Analysis/
ConstantFolding.cpp 477 unsigned StrLen = Str.size();
482 if ((NumBits >> 3) == StrLen + 1 && (NumBits & 7) == 0 &&
487 for (signed i = StrLen-1; i >= 0; i--) {
492 for (unsigned i = 0; i < StrLen; i++) {
    [all...]
  /external/llvm/lib/Transforms/Scalar/
SimplifyLibCalls.cpp 166 // memory is to be moved to. We just generate a call to strlen.
267 // zero (a weird way to spell strlen).
511 // 'strlen' Optimizations
523 // Constant folding: strlen("xyz") -> 3
527 // strlen(x) != 0 --> *x != 0
528 // strlen(x) == 0 --> *x == 0
655 // strcspn(s, "") -> strlen(s)
679 // fold strstr(a, b) == a -> strncmp(a, b, strlen(b)) == 0
681 Value *StrLen = EmitStrLen(CI->getArgOperand(1), B, TD);
683 StrLen, B, TD)
    [all...]
  /external/clang/lib/Sema/
SemaChecking.cpp     [all...]
  /external/clang/lib/Serialization/
ASTWriter.cpp     [all...]

Completed in 54 milliseconds