Searched refs:CharSize (Results 1 – 9 of 9) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | ValueTracking.h | 239 unsigned CharSize = 8); 283 uint64_t GetStringLength(const Value *V, unsigned CharSize = 8);
|
/external/clang/lib/Lex/ |
D | Lexer.cpp | 2294 unsigned CharSize; in SkipBlockComment() local 2295 unsigned char C = getCharAndSize(CurPtr, CharSize); in SkipBlockComment() 2296 CurPtr += CharSize; in SkipBlockComment() 2725 unsigned CharSize; in tryReadUCN() local 2726 char Kind = getCharAndSize(StartPtr, CharSize); in tryReadUCN() 2742 const char *CurPtr = StartPtr + CharSize; in tryReadUCN() 2747 char C = getCharAndSize(CurPtr, CharSize); in tryReadUCN() 2773 CurPtr += CharSize; in tryReadUCN()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/ |
D | SimplifyLibCalls.h | 188 Value *optimizeStringLength(CallInst *CI, IRBuilder<> &B, unsigned CharSize);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 447 unsigned CharSize) { in optimizeStringLength() argument 451 if (uint64_t Len = GetStringLength(Src, CharSize)) in optimizeStringLength() 463 if (!isGEPBasedOnPointerToString(GEP, CharSize)) in optimizeStringLength() 467 if (getConstantDataArrayInfo(GEP->getOperand(0), Slice, CharSize)) { in optimizeStringLength() 515 uint64_t LenTrue = GetStringLength(SI->getTrueValue(), CharSize); in optimizeStringLength() 516 uint64_t LenFalse = GetStringLength(SI->getFalseValue(), CharSize); in optimizeStringLength()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 3194 unsigned CharSize) { in isGEPBasedOnPointerToString() argument 3202 if (!AT || !AT->getElementType()->isIntegerTy(CharSize)) in isGEPBasedOnPointerToString() 3333 unsigned CharSize) { in GetStringLengthH() argument 3346 uint64_t Len = GetStringLengthH(IncValue, PHIs, CharSize); in GetStringLengthH() 3362 uint64_t Len1 = GetStringLengthH(SI->getTrueValue(), PHIs, CharSize); in GetStringLengthH() 3364 uint64_t Len2 = GetStringLengthH(SI->getFalseValue(), PHIs, CharSize); in GetStringLengthH() 3374 if (!getConstantDataArrayInfo(V, Slice, CharSize)) in GetStringLengthH() 3392 uint64_t llvm::GetStringLength(const Value *V, unsigned CharSize) { in GetStringLength() argument 3397 uint64_t Len = GetStringLengthH(V, PHIs, CharSize); in GetStringLength()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | Constants.h | 644 bool isString(unsigned CharSize = 8) const;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | Constants.cpp | 2717 bool ConstantDataSequential::isString(unsigned CharSize) const { in isString() 2718 return isa<ArrayType>(getType()) && getElementType()->isIntegerTy(CharSize); in isString()
|
/external/clang/include/clang/AST/ |
D | ASTContext.h | 1825 int64_t toBits(CharUnits CharSize) const;
|
/external/clang/lib/AST/ |
D | ASTContext.cpp | 1863 int64_t ASTContext::toBits(CharUnits CharSize) const { in toBits() 1864 return CharSize.getQuantity() * getCharWidth(); in toBits()
|