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
39 if (!TLI->has(LibFunc::strlen))
49 Constant *StrLen = M->getOrInsertFunction("strlen", AttrListPtr::get(AWI),
53 CallInst *CI = B.CreateCall(StrLen, CastToCStr(Ptr, B), "strlen");
54 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 480 unsigned StrLen = Str.size();
485 if ((NumBits >> 3) == StrLen + 1 && (NumBits & 7) == 0 &&
490 for (signed i = StrLen-1; i >= 0; i--) {
495 for (unsigned i = 0; i < StrLen; i++) {
    [all...]
  /external/llvm/lib/Transforms/Scalar/
SimplifyLibCalls.cpp 170 // memory is to be moved to. We just generate a call to strlen.
273 // zero (a weird way to spell strlen).
488 if (Dst == Src) { // stpcpy(x,x) -> x+strlen(x)
489 Value *StrLen = EmitStrLen(Src, B, TD, TLI);
490 return StrLen ? B.CreateInBoundsGEP(Dst, StrLen) : 0;
561 // 'strlen' Optimizations
573 // Constant folding: strlen("xyz") -> 3
577 // strlen(x) != 0 --> *x != 0
578 // strlen(x) == 0 --> *x ==
    [all...]
  /external/clang/lib/Serialization/
ASTWriter.cpp     [all...]
  /external/clang/lib/Sema/
SemaChecking.cpp     [all...]

Completed in 81 milliseconds