Home
last modified time | relevance | path

Searched refs:getElement (Results 1 – 25 of 37) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeGenMapTable.cpp267 RecordVal *ColFieldName = CurInstr->getValue(ColFields->getElement(j)); in isKeyColInstr()
269 std::string KeyColValue = KeyCol->getElement(j)->getAsUnquotedString(); in isKeyColInstr()
326 Init *ColFieldJ = ColFields->getElement(j); in getInstrForColumn()
329 Init *ColFieldJVallue = CurValueCol->getElement(j); in getInstrForColumn()
449 std::string ColName = ColFields->getElement(j)->getAsUnquotedString(); in emitMapFuncBody()
452 OS << ColName << "_" << ColumnI->getElement(j)->getAsUnquotedString(); in emitMapFuncBody()
518 auto *ListJ = cast<ListInit>(List->getElement(j)); in emitEnums()
528 std::string ColName = ColFields->getElement(j)->getAsUnquotedString(); in emitEnums()
529 ColFieldValueMap[ColName].push_back((ValueCols[k])->getElement(j)); in emitEnums()
H A DCodeGenRegisters.cpp627 ST.evaluate(SubRegs->getElement(i), Lists[i], Def->getLoc()); in expand()
774 RegBank.getSets().evaluate(AltOrders->getElement(i), Order, R->getLoc()); in CodeGenRegisterClass()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewVisitor.cpp1674 Type->setType(LogicalVisitor->getElement(StreamTPI, UDT.Type)); in visitKnownRecord()
1850 Subrange->setType(getElement(StreamTPI, AR.getIndexType())); in visitKnownRecord()
1921 Array->setType(getElement(StreamTPI, TIArrayType)); in visitKnownRecord()
1947 Element->setType(getElement(StreamTPI, BF.getType())); in visitKnownRecord()
2072 Scope->setType(getElement(StreamTPI, Enum.getUnderlyingType())); in visitKnownRecord()
2220 LVElement *Class = getElement(StreamTPI, MF.getClassType()); in visitKnownRecord()
2361 : getElement(StreamTPI, Ptr.getReferentType()); in visitKnownRecord()
2650 LVElement *BaseClass = getElement(StreamTPI, Base.getBaseType()); in visitKnownMember()
3178 Symbol->setType(getElement(StreamTPI, TI)); in createDataMember()
3188 Symbol->setType(getElement(StreamTPI, TI)); in createDataMember()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/utils/TableGen/
H A DClangOpcodesEmitter.cpp72 if (auto *TypeClass = dyn_cast<DefInit>(Types->getElement(I))) { in Enumerate()
311 if (auto *TypeClass = dyn_cast<DefInit>(Types->getElement(I))) { in EmitGroup()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DStmtObjC.h34 Stmt *getElement() { return SubExprs[ELEM]; } in getElement() function
40 const Stmt *getElement() const { return SubExprs[ELEM]; } in getElement() function
H A DExprObjC.h231 Expr *getElement(unsigned Index) { in getElement() function
235 const Expr *getElement(unsigned Index) const { in getElement() function
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineObjC.cpp111 const Stmt *elem = S->getElement(); in VisitObjCForCollectionStmt()
H A DBugReporter.cpp1111 return FS->getElement(); in getTerminatorCondition()
1396 return cast<ObjCForCollectionStmt>(S)->getElement() == Cond; in isConditionForTerminator()
1910 s2End == FS->getElement()) { in optimizeEdges()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DDebugInfoMetadata.cpp2036 (getElement(0) != dwarf::DW_OP_consts && in isConstant()
2037 getElement(0) != dwarf::DW_OP_constu)) in isConstant()
2040 if (getNumElements() == 2 && getElement(0) == dwarf::DW_OP_consts) in isConstant()
2043 if ((getNumElements() == 3 && getElement(2) != dwarf::DW_OP_stack_value) || in isConstant()
2044 (getNumElements() == 6 && (getElement(2) != dwarf::DW_OP_stack_value || in isConstant()
2045 getElement(3) != dwarf::DW_OP_LLVM_fragment))) in isConstant()
2047 return getElement(0) == dwarf::DW_OP_constu in isConstant()
/freebsd-14.2/contrib/llvm-project/llvm/lib/TableGen/
H A DRecord.cpp717 DefInit *DI = dyn_cast<DefInit>(getElement(i)); in getElementAsRecord()
893 return LHSl->getElement(0); in Fold()
1033 StringInit *Element = dyn_cast<StringInit>(List->getElement(0)); in interleaveStringList()
1041 StringInit *Element = dyn_cast<StringInit>(List->getElement(I)); in interleaveStringList()
1056 List->getElement(0)->convertInitializerTo(IntRecTy::get(RK))); in interleaveIntList()
1064 List->getElement(I)->convertInitializerTo(IntRecTy::get(RK))); in interleaveIntList()
1293 return TheList->getElement(i); in Fold()
1309 Args.push_back(TheList->getElement(i)); in Fold()
1719 Init *Node = MHSl ? MHSl->getElement(i) : UnsetInit::get(RK); in Fold()
1720 Init *Name = RHSl ? RHSl->getElement(i) : UnsetInit::get(RK); in Fold()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DBasicObjCFoundationChecks.cpp334 warnIfNilExpr(AL->getElement(i), "Array element cannot be nil", C); in checkPostStmt()
901 const Stmt *Element = FCS->getElement(); in checkElementNonNil()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjC.cpp172 const Expr *Rhs = ALE->getElement(i); in EmitObjCCollectionLiteral()
1774 if (const DeclStmt *SD = dyn_cast<DeclStmt>(S.getElement())) in EmitObjCForCollectionStmt()
1925 if (const DeclStmt *SD = dyn_cast<DeclStmt>(S.getElement())) { in EmitObjCForCollectionStmt()
1940 elementType = cast<Expr>(S.getElement())->getType(); in EmitObjCForCollectionStmt()
2000 elementLValue = EmitLValue(cast<Expr>(S.getElement())); in EmitObjCForCollectionStmt()
2068 elementLValue = EmitLValue(cast<Expr>(S.getElement())); in EmitObjCForCollectionStmt()
H A DCodeGenPGO.cpp732 Visit(S->getElement()); in VisitObjCForCollectionStmt()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/
H A DLVCodeViewVisitor.h348 LVElement *getElement(uint32_t StreamIdx, TypeIndex TI,
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DLiveVariables.cpp421 Stmt *element = OS->getElement(); in VisitObjCForCollectionStmt()
H A DUninitializedValues.cpp684 if (const auto *DS = dyn_cast<DeclStmt>(FS->getElement())) { in VisitObjCForCollectionStmt()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp1302 VI.Expr->getElement(0) == llvm::dwarf::DW_OP_deref) in collectVariableInfoFromMFTable()
3247 (DIE->getElement(0) == dwarf::DW_OP_plus_uconst)) in collectGlobalVariableInfo()
3253 std::make_pair(DIGV, DIE->getElement(1))); in collectGlobalVariableInfo()
3463 APSInt Value(APInt(/*BitWidth=*/64, DIE->getElement(1)), isUnsigned); in emitDebugInfoForGlobal()
H A DDwarfUnit.cpp1413 static_cast<int64_t>(BE->getElement(1)) != DefaultLowerBound) in constructGenericSubrangeDIE()
1415 BE->getElement(1)); in constructGenericSubrangeDIE()
H A DDwarfCompileUnit.cpp223 Expr->getElement(1)); in addLocationAttribute()
/freebsd-14.2/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp483 Objs.push_back(ArrLit->getElement(i)); in getNSArrayObjects()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DStmtPrinter.cpp419 if (auto *DS = dyn_cast<DeclStmt>(Node->getElement())) in VisitObjCForCollectionStmt()
422 PrintExpr(cast<Expr>(Node->getElement())); in VisitObjCForCollectionStmt()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp1702 if (DeclStmt *DS = dyn_cast<DeclStmt>(S->getElement())) { in RewriteObjCForCollectionStmt()
1719 DeclRefExpr *DR = cast<DeclRefExpr>(S->getElement()); in RewriteObjCForCollectionStmt()
2735 InitExprs.push_back(Exp->getElement(i)); in RewriteObjCArrayLiteralExpr()
5420 return CS->getElement() == DS; in IsDeclStmtInForeachHeader()
H A DRewriteObjC.cpp1494 if (DeclStmt *DS = dyn_cast<DeclStmt>(S->getElement())) { in RewriteObjCForCollectionStmt()
1511 DeclRefExpr *DR = cast<DeclRefExpr>(S->getElement()); in RewriteObjCForCollectionStmt()
4546 return CS->getElement() == DS; in IsDeclStmtInForeachHeader()
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterStmt.cpp1398 Record.AddStmt(E->getElement(i)); in VisitObjCArrayLiteral()
1547 Record.AddStmt(S->getElement()); in VisitObjCForCollectionStmt()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DRecord.h771 Init *getElement(unsigned i) const { in getElement() function

12