/external/llvm/include/llvm/Analysis/ |
TargetLibraryInfo.h | 43 namespace LibFunc { 61 unsigned char AvailableArray[(LibFunc::NumLibFuncs+3)/4]; 63 static const char *const StandardNames[LibFunc::NumLibFuncs]; 70 void setState(LibFunc::Func F, AvailabilityState State) { 74 AvailabilityState getState(LibFunc::Func F) const { 110 bool getLibFunc(StringRef funcName, LibFunc::Func &F) const; 113 void setUnavailable(LibFunc::Func F) { 118 void setAvailable(LibFunc::Func F) { 124 void setAvailableWithName(LibFunc::Func F, StringRef Name) { 205 bool getLibFunc(StringRef funcName, LibFunc::Func &F) const [all...] |
/external/llvm/lib/Analysis/ |
TargetLibraryInfo.cpp | 28 const char *const TargetLibraryInfoImpl::StandardNames[LibFunc::NumLibFuncs] = { 58 for (unsigned F = 1; F < LibFunc::NumLibFuncs; ++F) { 66 TLI.setUnavailable(LibFunc::ldexp); 67 TLI.setUnavailable(LibFunc::ldexpf); 68 TLI.setUnavailable(LibFunc::ldexpl); 77 TLI.setUnavailable(LibFunc::memcpy); 78 TLI.setUnavailable(LibFunc::memset); 79 TLI.setUnavailable(LibFunc::memset_pattern16); 87 TLI.setUnavailable(LibFunc::memset_pattern16); 90 TLI.setUnavailable(LibFunc::memset_pattern16) [all...] |
VectorUtils.cpp | 138 LibFunc::Func Func; 151 case LibFunc::sin: 152 case LibFunc::sinf: 153 case LibFunc::sinl: 155 case LibFunc::cos: 156 case LibFunc::cosf: 157 case LibFunc::cosl: 159 case LibFunc::exp: 160 case LibFunc::expf: 161 case LibFunc::expl [all...] |
MemoryBuiltins.cpp | 45 LibFunc::Func Func; 55 {LibFunc::malloc, MallocLike, 1, 0, -1}, 56 {LibFunc::valloc, MallocLike, 1, 0, -1}, 57 {LibFunc::Znwj, OpNewLike, 1, 0, -1}, // new(unsigned int) 58 {LibFunc::ZnwjRKSt9nothrow_t, MallocLike, 2, 0, -1}, // new(unsigned int, nothrow) 59 {LibFunc::Znwm, OpNewLike, 1, 0, -1}, // new(unsigned long) 60 {LibFunc::ZnwmRKSt9nothrow_t, MallocLike, 2, 0, -1}, // new(unsigned long, nothrow) 61 {LibFunc::Znaj, OpNewLike, 1, 0, -1}, // new[](unsigned int) 62 {LibFunc::ZnajRKSt9nothrow_t, MallocLike, 2, 0, -1}, // new[](unsigned int, nothrow) 63 {LibFunc::Znam, OpNewLike, 1, 0, -1}, // new[](unsigned long [all...] |
ConstantFolding.cpp | [all...] |
MemoryLocation.cpp | 97 if (TLI.has(LibFunc::memset_pattern16) &&
|
BasicAliasAnalysis.cpp | 537 if (TLI.has(LibFunc::memset_pattern16) && [all...] |
/external/llvm/lib/Transforms/IPO/ |
FunctionAttrs.cpp | [all...] |
GlobalOpt.cpp | [all...] |
/external/llvm/lib/Transforms/Scalar/ |
PartiallyInlineLibCalls.cpp | 80 LibFunc::Func LibFunc; 82 !TLI->getLibFunc(CalledFunc->getName(), LibFunc)) 85 switch (LibFunc) { 86 case LibFunc::sqrtf: 87 case LibFunc::sqrt:
|
DeadStoreElimination.cpp | 179 if (TLI.has(LibFunc::strcpy) && 180 F->getName() == TLI.getName(LibFunc::strcpy)) { 183 if (TLI.has(LibFunc::strncpy) && 184 F->getName() == TLI.getName(LibFunc::strncpy)) { 187 if (TLI.has(LibFunc::strcat) && 188 F->getName() == TLI.getName(LibFunc::strcat)) { 191 if (TLI.has(LibFunc::strncat) && 192 F->getName() == TLI.getName(LibFunc::strncat)) { [all...] |
LoopIdiomRecognize.cpp | 417 if (!TLI->has(LibFunc::memset)) 510 if (SplatValue && TLI->has(LibFunc::memset) && 516 } else if (DestAS == 0 && TLI->has(LibFunc::memset_pattern16) && 615 if (!TLI->has(LibFunc::memcpy)) [all...] |
MemCpyOptimizer.cpp | [all...] |
/external/llvm/lib/Transforms/Utils/ |
SimplifyLibCalls.cpp | 55 static bool ignoreCallingConv(LibFunc::Func Func) { 56 return Func == LibFunc::abs || Func == LibFunc::labs || 57 Func == LibFunc::llabs || Func == LibFunc::strlen; 97 LibFunc::Func DoubleFn, LibFunc::Func FloatFn, 98 LibFunc::Func LongDoubleFn) { 130 static bool checkStringCopyLibFuncSignature(Function *F, LibFunc::Func Func) { 144 llvm_unreachable("Can't check signature for non-string-copy libfunc.") [all...] |
BuildLibCalls.cpp | 38 if (!TLI->has(LibFunc::strlen)) 63 if (!TLI->has(LibFunc::strchr)) 87 if (!TLI->has(LibFunc::strncmp)) 114 if (!TLI->has(LibFunc::strcpy)) 137 if (!TLI->has(LibFunc::strncpy)) 164 if (!TLI->has(LibFunc::memcpy_chk)) 188 if (!TLI->has(LibFunc::memchr)) 210 if (!TLI->has(LibFunc::memcmp)) 293 if (!TLI->has(LibFunc::putchar)) 315 if (!TLI->has(LibFunc::puts) [all...] |
/external/llvm/lib/Target/PowerPC/ |
PPCCTRLoops.cpp | 316 LibFunc::Func Func; 330 case LibFunc::copysign: 331 case LibFunc::copysignf: 333 case LibFunc::copysignl: 335 case LibFunc::fabs: 336 case LibFunc::fabsf: 337 case LibFunc::fabsl: 339 case LibFunc::sqrt: 340 case LibFunc::sqrtf: 341 case LibFunc::sqrtl [all...] |
/external/llvm/include/llvm/Transforms/Utils/ |
SimplifyLibCalls.h | 59 Value *optimizeStrpCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc::Func Func); 60 Value *optimizeStrpNCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc::Func Func);
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
SelectionDAGBuilder.cpp | [all...] |
FastISel.cpp | [all...] |
/external/llvm/lib/LTO/ |
LTOCodeGenerator.cpp | 371 for (unsigned I = 0, E = static_cast<unsigned>(LibFunc::NumLibFuncs); 373 LibFunc::Func F = static_cast<LibFunc::Func>(I);
|
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCompares.cpp | [all...] |