/external/llvm-project/clang-tools-extra/clang-tidy/altera/ |
D | StructPackAlignCheck.cpp | 72 uint64_t CharSize = Result.Context->getCharWidth(); in check() local 75 CharUnits::fromQuantity(ceil((float)TotalBitSize / CharSize)); in check() 77 ceil((float)Struct->getMaxAlignment() / CharSize)); in check()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | ValueTracking.h | 271 unsigned CharSize = 8); 315 uint64_t GetStringLength(const Value *V, unsigned CharSize = 8);
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | ValueTracking.h | 300 unsigned CharSize = 8); 344 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/llvm-project/clang/lib/Lex/ |
D | Lexer.cpp | 2524 unsigned CharSize; in SkipBlockComment() local 2525 unsigned char C = getCharAndSize(CurPtr, CharSize); in SkipBlockComment() 2526 CurPtr += CharSize; in SkipBlockComment() 2992 unsigned CharSize; in tryReadUCN() local 2993 char Kind = getCharAndSize(StartPtr, CharSize); in tryReadUCN() 3009 const char *CurPtr = StartPtr + CharSize; in tryReadUCN() 3014 char C = getCharAndSize(CurPtr, CharSize); in tryReadUCN() 3040 CurPtr += CharSize; in tryReadUCN()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/ |
D | SimplifyLibCalls.h | 245 Value *optimizeStringLength(CallInst *CI, IRBuilder<> &B, unsigned CharSize);
|
/external/llvm-project/llvm/include/llvm/Transforms/Utils/ |
D | SimplifyLibCalls.h | 242 Value *optimizeStringLength(CallInst *CI, IRBuilderBase &B, unsigned CharSize);
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 634 unsigned CharSize) { in optimizeStringLength() argument 638 if (uint64_t Len = GetStringLength(Src, CharSize)) in optimizeStringLength() 650 if (!isGEPBasedOnPointerToString(GEP, CharSize)) in optimizeStringLength() 654 if (getConstantDataArrayInfo(GEP->getOperand(0), Slice, CharSize)) { in optimizeStringLength() 700 uint64_t LenTrue = GetStringLength(SI->getTrueValue(), CharSize); in optimizeStringLength() 701 uint64_t LenFalse = GetStringLength(SI->getFalseValue(), CharSize); in optimizeStringLength() 716 return B.CreateZExt(B.CreateLoad(B.getIntNTy(CharSize), Src, "strlenfirst"), in optimizeStringLength()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 3617 unsigned CharSize) { in isGEPBasedOnPointerToString() argument 3625 if (!AT || !AT->getElementType()->isIntegerTy(CharSize)) in isGEPBasedOnPointerToString() 3756 unsigned CharSize) { in GetStringLengthH() argument 3769 uint64_t Len = GetStringLengthH(IncValue, PHIs, CharSize); in GetStringLengthH() 3785 uint64_t Len1 = GetStringLengthH(SI->getTrueValue(), PHIs, CharSize); in GetStringLengthH() 3787 uint64_t Len2 = GetStringLengthH(SI->getFalseValue(), PHIs, CharSize); in GetStringLengthH() 3797 if (!getConstantDataArrayInfo(V, Slice, CharSize)) in GetStringLengthH() 3815 uint64_t llvm::GetStringLength(const Value *V, unsigned CharSize) { in GetStringLength() argument 3820 uint64_t Len = GetStringLengthH(V, PHIs, CharSize); in GetStringLength()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 3874 unsigned CharSize) { in isGEPBasedOnPointerToString() argument 3882 if (!AT || !AT->getElementType()->isIntegerTy(CharSize)) in isGEPBasedOnPointerToString() 4013 unsigned CharSize) { in GetStringLengthH() argument 4026 uint64_t Len = GetStringLengthH(IncValue, PHIs, CharSize); in GetStringLengthH() 4042 uint64_t Len1 = GetStringLengthH(SI->getTrueValue(), PHIs, CharSize); in GetStringLengthH() 4044 uint64_t Len2 = GetStringLengthH(SI->getFalseValue(), PHIs, CharSize); in GetStringLengthH() 4054 if (!getConstantDataArrayInfo(V, Slice, CharSize)) in GetStringLengthH() 4072 uint64_t llvm::GetStringLength(const Value *V, unsigned CharSize) { in GetStringLength() argument 4077 uint64_t Len = GetStringLengthH(V, PHIs, CharSize); in GetStringLength()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Constants.h | 648 bool isString(unsigned CharSize = 8) const;
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | Constants.h | 650 bool isString(unsigned CharSize = 8) const;
|
/external/clang/include/clang/AST/ |
D | ASTContext.h | 1825 int64_t toBits(CharUnits CharSize) const;
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Constants.cpp | 2849 bool ConstantDataSequential::isString(unsigned CharSize) const { in isString() 2850 return isa<ArrayType>(getType()) && getElementType()->isIntegerTy(CharSize); in isString()
|
/external/llvm-project/llvm/lib/IR/ |
D | Constants.cpp | 3201 bool ConstantDataSequential::isString(unsigned CharSize) const { in isString() 3202 return isa<ArrayType>(getType()) && getElementType()->isIntegerTy(CharSize); in isString()
|
/external/llvm-project/clang/include/clang/AST/ |
D | ASTContext.h | 2133 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()
|
/external/llvm-project/clang/lib/AST/ |
D | ASTContext.cpp | 2372 int64_t ASTContext::toBits(CharUnits CharSize) const { in toBits() 2373 return CharSize.getQuantity() * getCharWidth(); in toBits()
|