| /freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/ |
| H A D | SyntheticTypeNameBuilder.cpp | 689 std::optional<size_t> ArrayIndex = tagToArrayIndex(CU, CurChild); in OrderedChildrenIndexAssigner() local 690 if (!ArrayIndex) in OrderedChildrenIndexAssigner() 693 assert((*ArrayIndex < ChildIndexesWidth.size()) && in OrderedChildrenIndexAssigner() 695 ChildIndexesWidth[*ArrayIndex]++; in OrderedChildrenIndexAssigner() 751 std::optional<size_t> ArrayIndex = tagToArrayIndex(CU, ChildDieEntry); in getChildIndex() local 752 if (!ArrayIndex) in getChildIndex() 755 assert((*ArrayIndex < OrderedChildIdxs.size()) && in getChildIndex() 757 assert(ChildIndexesWidth[*ArrayIndex] < 16 && in getChildIndex() 761 OrderedChildIdxs[*ArrayIndex], ChildIndexesWidth[*ArrayIndex]); in getChildIndex() 762 OrderedChildIdxs[*ArrayIndex]++; in getChildIndex()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/ |
| H A D | ThreadSafetyOps.def | 36 TIL_OPCODE_DEF(ArrayIndex)
|
| H A D | ThreadSafetyTIL.h | 1103 class ArrayIndex : public SExpr { 1105 ArrayIndex(SExpr *A, SExpr *N) : SExpr(COP_ArrayIndex), Array(A), Index(N) {} in ArrayIndex() function 1106 ArrayIndex(const ArrayIndex &E, SExpr *A, SExpr *N) in ArrayIndex() function 1125 typename C::CType compare(const ArrayIndex* E, C& Cmp) const { in compare()
|
| H A D | ThreadSafetyTraverse.h | 757 void printArrayIndex(const ArrayIndex *E, StreamType &SS) { in printArrayIndex()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | Compiler.h | 417 std::optional<uint64_t> ArrayIndex; variable 627 OldArrayIndex = Ctx->ArrayIndex; in ArrayIndexScope() 628 Ctx->ArrayIndex = Index; in ArrayIndexScope() 631 ~ArrayIndexScope() { Ctx->ArrayIndex = OldArrayIndex; } in ~ArrayIndexScope()
|
| H A D | Pointer.cpp | 227 Path.push_back(APValue::LValuePathEntry::ArrayIndex(Index)); in toAPValue() 257 Path.push_back(APValue::LValuePathEntry::ArrayIndex(Index)); in toAPValue()
|
| H A D | InterpBuiltin.cpp | 2751 unsigned ArrayIndex = 0; in InterpretOffsetOf() local 2775 int64_t Index = ArrayIndices[ArrayIndex]; in InterpretOffsetOf() 2782 ++ArrayIndex; in InterpretOffsetOf()
|
| H A D | Compiler.cpp | 2323 if (!ArrayIndex) in VisitArrayInitIndexExpr() 2325 return this->emitConst(*ArrayIndex, E); in VisitArrayInitIndexExpr()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprAgg.cpp | 678 auto Emit = [&](Expr *Init, uint64_t ArrayIndex) { in EmitArrayInit() argument 680 if (ArrayIndex > 0) { in EmitArrayInit() 683 llvm::ConstantInt::get(CGF.SizeTy, ArrayIndex), "arrayinit.element"); in EmitArrayInit() 698 unsigned ArrayIndex = 0; in EmitArrayInit() local 701 if (ArrayIndex >= NumInitElements) in EmitArrayInit() 704 EmbedS->doForEachDataElement(Emit, ArrayIndex); in EmitArrayInit() 706 Emit(Args[i], ArrayIndex); in EmitArrayInit() 707 ArrayIndex++; in EmitArrayInit()
|
| H A D | CGExprConstant.cpp | 1414 auto Emit = [&](const Expr *Init, unsigned ArrayIndex) { in EmitArrayInitialization() argument 1419 if (ArrayIndex == 0) in EmitArrayInitialization() 1427 unsigned ArrayIndex = 0; in EmitArrayInitialization() local 1451 ArrayIndex++; in EmitArrayInitialization() 1453 if ((ArrayIndex - EmbedS->getDataElementCount()) == 0) in EmitArrayInitialization() 1458 if (!Emit(Init, ArrayIndex)) in EmitArrayInitialization() 1460 ArrayIndex++; in EmitArrayInitialization()
|
| H A D | CGBuiltin.cpp | 940 const Expr *ArrayIndex = nullptr; member in __anon6c984ebf0411::StructFieldAccess 951 if (ArrayIndex) in VisitArraySubscriptExpr() 956 ArrayIndex = E->getIdx(); in VisitArraySubscriptExpr() 1075 const Expr *Idx = Visitor.ArrayIndex; in emitCountedBySize()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | AbstractBasicReader.h | 208 APValue::LValuePathEntry::ArrayIndex(asImpl().readUInt32())); in readLValuePathSerializationHelper()
|
| H A D | APValue.h | 215 static LValuePathEntry ArrayIndex(uint64_t Index) {
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 382 uint64_t ArrayIndex = IsArray ? Entries.back().getAsArrayIndex() in validIndexAdjustments() local 386 return {ArrayIndex, ArraySize - ArrayIndex}; in validIndexAdjustments() 409 Entries.push_back(PathEntry::ArrayIndex(0)); in addArrayUnchecked() 420 Entries.push_back(PathEntry::ArrayIndex(0)); in addUnsizedArrayUnchecked() 445 Entries.push_back(PathEntry::ArrayIndex(Imag)); in addComplexUnchecked() 457 Entries.push_back(PathEntry::ArrayIndex(Idx)); in addVectorElementUnchecked() 476 Entries.back() = PathEntry::ArrayIndex( in adjustIndex() 486 uint64_t ArrayIndex = IsArray ? Entries.back().getAsArrayIndex() in adjustIndex() local 491 if (N < -(int64_t)ArrayIndex || N > ArraySize - ArrayIndex) { in adjustIndex() 495 (llvm::APInt&)N += ArrayIndex; in adjustIndex() [all …]
|
| H A D | ItaniumMangle.cpp | 6379 {APValue::LValuePathEntry::ArrayIndex(0)}, in mangleTemplateArg()
|
| H A D | Expr.cpp | 2314 LValuePathEntry Path[1] = {LValuePathEntry::ArrayIndex(0)}; in EvaluateInContext()
|
| H A D | ASTImporter.cpp | 10758 ToPath[LoopIdx] = APValue::LValuePathEntry::ArrayIndex( in ImportAPValue()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | ThreadSafetyCommon.cpp | 662 return new (Arena) til::ArrayIndex(E0, E1); in translateArraySubscriptExpr()
|