Home
last modified time | relevance | path

Searched refs:ResultIndex (Results 1 – 19 of 19) sorted by relevance

/external/llvm-project/llvm/lib/Analysis/
DReleaseModeModelRunner.cpp45 int32_t ResultIndex = -1; member in __anon31bc526b0111::ReleaseModeModelRunner
64 ResultIndex = in ReleaseModeModelRunner()
66 assert(ResultIndex >= 0 && "Cannot find DecisionName in inlining model"); in ReleaseModeModelRunner()
82 *static_cast<int64_t *>(CompiledModel->result_data(ResultIndex))); in run()
/external/llvm/lib/Transforms/Scalar/
DStructurizeCFG.cpp66 unsigned ResultIndex; member in __anon8acdf3800111::NearestCommonDominator
85 ResultIndex = 1; in addBlock()
99 if (Numbering > ResultIndex) { in addBlock()
101 ResultIndex = Numbering; in addBlock()
103 } else if (Numbering == ResultIndex) { in addBlock()
/external/clang/lib/Sema/
DSemaPseudoObject.cpp190 unsigned ResultIndex; member in __anon023896250111::PseudoOpBuilder
195 : S(S), ResultIndex(PseudoObjectExpr::NoResult), in PseudoOpBuilder()
207 assert(ResultIndex == PseudoObjectExpr::NoResult); in addResultSemanticExpr()
208 ResultIndex = Semantics.size(); in addResultSemanticExpr()
227 assert(ResultIndex == PseudoObjectExpr::NoResult); in setResultToLastSemantic()
228 ResultIndex = Semantics.size() - 1; in setResultToLastSemantic()
380 assert(ResultIndex == PseudoObjectExpr::NoResult); in captureValueAsResult()
398 ResultIndex = index; in captureValueAsResult()
405 Semantics, ResultIndex); in complete()
DSemaExpr.cpp1551 unsigned ResultIndex = in CreateGenericSelectionExpr() local
1556 ContainsUnexpandedParameterPack, ResultIndex); in CreateGenericSelectionExpr()
/external/llvm-project/clang/lib/Sema/
DSemaPseudoObject.cpp182 unsigned ResultIndex; member in __anon2c7334130111::PseudoOpBuilder
188 : S(S), ResultIndex(PseudoObjectExpr::NoResult), in PseudoOpBuilder()
200 assert(ResultIndex == PseudoObjectExpr::NoResult); in addResultSemanticExpr()
201 ResultIndex = Semantics.size(); in addResultSemanticExpr()
223 assert(ResultIndex == PseudoObjectExpr::NoResult); in setResultToLastSemantic()
224 ResultIndex = Semantics.size() - 1; in setResultToLastSemantic()
380 assert(ResultIndex == PseudoObjectExpr::NoResult); in captureValueAsResult()
398 ResultIndex = index; in captureValueAsResult()
407 Semantics, ResultIndex); in complete()
DSemaExpr.cpp1739 unsigned ResultIndex = in CreateGenericSelectionExpr() local
1744 ContainsUnexpandedParameterPack, ResultIndex); in CreateGenericSelectionExpr()
/external/clang/lib/AST/
DExpr.cpp3466 unsigned ResultIndex) in GenericSelectionExpr() argument
3468 AssocExprs[ResultIndex]->getType(), in GenericSelectionExpr()
3469 AssocExprs[ResultIndex]->getValueKind(), in GenericSelectionExpr()
3470 AssocExprs[ResultIndex]->getObjectKind(), in GenericSelectionExpr()
3471 AssocExprs[ResultIndex]->isTypeDependent(), in GenericSelectionExpr()
3472 AssocExprs[ResultIndex]->isValueDependent(), in GenericSelectionExpr()
3473 AssocExprs[ResultIndex]->isInstantiationDependent(), in GenericSelectionExpr()
3477 NumAssocs(AssocExprs.size()), ResultIndex(ResultIndex), in GenericSelectionExpr()
3502 NumAssocs(AssocExprs.size()), ResultIndex(-1U), GenericLoc(GenericLoc), in GenericSelectionExpr()
3782 PseudoObjectExprBits.ResultIndex = resultIndex + 1; in PseudoObjectExpr()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp3834 Value *ResultPtr = nullptr, *ResultIndex = nullptr; in optimizeMemoryInst() local
3892 ResultIndex = V; in optimizeMemoryInst()
3909 Instruction *I = dyn_cast_or_null<Instruction>(ResultIndex); in optimizeMemoryInst()
3910 if (I && (ResultIndex != AddrMode.BaseReg)) in optimizeMemoryInst()
3918 if (ResultIndex) in optimizeMemoryInst()
3919 ResultIndex = Builder.CreateAdd(ResultIndex, V, "sunkaddr"); in optimizeMemoryInst()
3921 ResultIndex = V; in optimizeMemoryInst()
3927 if (ResultIndex) { in optimizeMemoryInst()
3932 ResultPtr = Builder.CreateGEP(I8Ty, ResultPtr, ResultIndex, "sunkaddr"); in optimizeMemoryInst()
3935 ResultIndex = V; in optimizeMemoryInst()
[all …]
/external/llvm-project/clang-tools-extra/clangd/
DXRefs.cpp307 llvm::DenseMap<SymbolID, size_t> ResultIndex; in locateASTReferent() local
325 ResultIndex[ID] = Result.size() - 1; in locateASTReferent()
390 if (Index && !ResultIndex.empty()) { in locateASTReferent()
392 for (auto It : ResultIndex) in locateASTReferent()
396 auto &R = Result[ResultIndex.lookup(Sym.ID)]; in locateASTReferent()
/external/llvm-project/clang/include/clang/AST/
DExpr.h5556 unsigned NumAssocs, ResultIndex; variable
5668 unsigned ResultIndex);
5688 unsigned ResultIndex);
5718 return ResultIndex; in getResultIndex()
5722 bool isResultDependent() const { return ResultIndex == ResultDependentIndex; } in isResultDependent()
5775 /*Offset=*/0, ResultIndex); in associations()
5777 /*Offset=*/NumAssocs, ResultIndex); in associations()
5785 /*Offset=*/0, ResultIndex); in associations()
5787 /*Offset=*/NumAssocs, ResultIndex); in associations()
6066 if (PseudoObjectExprBits.ResultIndex == 0) return NoResult; in getResultExprIndex()
[all …]
DStmt.h586 unsigned ResultIndex : 32 - 8 - NumExprBits; variable
/external/llvm-project/clang/lib/AST/
DExpr.cpp4043 bool ContainsUnexpandedParameterPack, unsigned ResultIndex) in GenericSelectionExpr() argument
4044 : Expr(GenericSelectionExprClass, AssocExprs[ResultIndex]->getType(), in GenericSelectionExpr()
4045 AssocExprs[ResultIndex]->getValueKind(), in GenericSelectionExpr()
4046 AssocExprs[ResultIndex]->getObjectKind()), in GenericSelectionExpr()
4047 NumAssocs(AssocExprs.size()), ResultIndex(ResultIndex), in GenericSelectionExpr()
4052 assert(ResultIndex < NumAssocs && "ResultIndex is out-of-bounds!"); in GenericSelectionExpr()
4071 NumAssocs(AssocExprs.size()), ResultIndex(ResultDependentIndex), in GenericSelectionExpr()
4094 bool ContainsUnexpandedParameterPack, unsigned ResultIndex) { in Create() argument
4101 RParenLoc, ContainsUnexpandedParameterPack, ResultIndex); in Create()
4494 PseudoObjectExprBits.ResultIndex = resultIndex + 1; in PseudoObjectExpr()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp4900 Value *ResultPtr = nullptr, *ResultIndex = nullptr; in optimizeMemoryInst() local
4974 ResultIndex = V; in optimizeMemoryInst()
4992 if (ResultIndex) in optimizeMemoryInst()
4993 ResultIndex = Builder.CreateAdd(ResultIndex, V, "sunkaddr"); in optimizeMemoryInst()
4995 ResultIndex = V; in optimizeMemoryInst()
5001 if (ResultIndex) { in optimizeMemoryInst()
5008 ? Builder.CreateInBoundsGEP(I8Ty, ResultPtr, ResultIndex, in optimizeMemoryInst()
5010 : Builder.CreateGEP(I8Ty, ResultPtr, ResultIndex, "sunkaddr"); in optimizeMemoryInst()
5013 ResultIndex = V; in optimizeMemoryInst()
5016 if (!ResultIndex) { in optimizeMemoryInst()
[all …]
/external/clang/include/clang/AST/
DExpr.h4417 unsigned NumAssocs, ResultIndex; variable
4427 unsigned ResultIndex);
4469 bool isResultDependent() const { return ResultIndex == -1U; } in isResultDependent()
4476 return ResultIndex; in getResultIndex()
4729 if (PseudoObjectExprBits.ResultIndex == 0) return NoResult; in getResultExprIndex()
4730 return PseudoObjectExprBits.ResultIndex - 1; in getResultExprIndex()
4735 if (PseudoObjectExprBits.ResultIndex == 0) in getResultExpr()
4737 return getSubExprsBuffer()[PseudoObjectExprBits.ResultIndex]; in getResultExpr()
DStmt.h217 unsigned ResultIndex : 32 - 8 - NumExprBits; in LLVM_ALIGNAS() local
/external/llvm-project/llvm/lib/CodeGen/
DCodeGenPrepare.cpp5056 Value *ResultPtr = nullptr, *ResultIndex = nullptr; in optimizeMemoryInst() local
5130 ResultIndex = V; in optimizeMemoryInst()
5148 if (ResultIndex) in optimizeMemoryInst()
5149 ResultIndex = Builder.CreateAdd(ResultIndex, V, "sunkaddr"); in optimizeMemoryInst()
5151 ResultIndex = V; in optimizeMemoryInst()
5157 if (ResultIndex) { in optimizeMemoryInst()
5164 ? Builder.CreateInBoundsGEP(I8Ty, ResultPtr, ResultIndex, in optimizeMemoryInst()
5166 : Builder.CreateGEP(I8Ty, ResultPtr, ResultIndex, "sunkaddr"); in optimizeMemoryInst()
5169 ResultIndex = V; in optimizeMemoryInst()
5172 if (!ResultIndex) { in optimizeMemoryInst()
[all …]
/external/llvm-project/clang/lib/Serialization/
DASTReaderStmt.cpp1355 E->ResultIndex = Record.readInt(); in VisitGenericSelectionExpr()
1376 E->PseudoObjectExprBits.ResultIndex = Record.readInt(); in VisitPseudoObjectExpr()
DASTWriterStmt.cpp1219 Record.push_back(E->ResultIndex); in VisitGenericSelectionExpr()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp926 E->ResultIndex = Record[Idx++]; in VisitGenericSelectionExpr()
937 E->PseudoObjectExprBits.ResultIndex = Record[Idx++]; in VisitPseudoObjectExpr()