Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/utils/TableGen/
H A DCodeGenMapTable.cpp277 RecordVal *ColFieldName = CurInstr->getValue(ColFields->getElement(j)); in isKeyColInstr()
279 std::string KeyColValue = KeyCol->getElement(j)->getAsUnquotedString(); in isKeyColInstr()
337 Init *ColFieldJ = ColFields->getElement(j); in getInstrForColumn()
340 Init *ColFieldJVallue = CurValueCol->getElement(j); in getInstrForColumn()
458 std::string ColName = ColFields->getElement(j)->getAsUnquotedString(); in emitMapFuncBody()
461 OS << ColName << "_" << ColumnI->getElement(j)->getAsUnquotedString(); in emitMapFuncBody()
525 ListInit *ListJ = dyn_cast<ListInit>(List->getElement(j)); in emitEnums()
535 std::string ColName = ColFields->getElement(j)->getAsUnquotedString(); in emitEnums()
536 ColFieldValueMap[ColName].push_back((ValueCols[k])->getElement(j)); in emitEnums()
H A DCodeGenRegisters.cpp633 ST.evaluate(SubRegs->getElement(i), Lists[i], Def->getLoc()); in expand()
768 RegBank.getSets().evaluate(AltOrders->getElement(i), Order, R->getLoc()); in CodeGenRegisterClass()
H A DCodeGenSchedule.cpp1812 BitInit *Val = cast<BitInit>(MoveElimInfo->getElement(I)); in collectRegisterFiles()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DStmtObjC.h35 Stmt *getElement() { return SubExprs[ELEM]; } in getElement() function
41 const Stmt *getElement() const { return SubExprs[ELEM]; } in getElement() function
H A DExprObjC.h213 Expr *getElement(unsigned Index) { in getElement() function
217 const Expr *getElement(unsigned Index) const { in getElement() function
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DExprEngineObjC.cpp115 const Stmt *elem = S->getElement(); in VisitObjCForCollectionStmt()
H A DBugReporter.cpp998 return FS->getElement(); in getTerminatorCondition()
1311 return cast<ObjCForCollectionStmt>(S)->getElement() == Cond; in isConditionForTerminator()
1826 s2End == FS->getElement()) { in optimizeEdges()
/freebsd-12.1/contrib/llvm/lib/TableGen/
H A DRecord.cpp618 Vals.push_back(getElement(Element)); in convertInitListSlice()
625 DefInit *DI = dyn_cast<DefInit>(getElement(i)); in getElementAsRecord()
753 return LHSl->getElement(0); in Fold()
1153 Init *Node = MHSl ? MHSl->getElement(i) : UnsetInit::get(); in Fold()
1154 Init *Name = RHSl ? RHSl->getElement(i) : UnsetInit::get(); in Fold()
1497 return List->getElement(getElementNum()); in resolveReferences()
H A DTGParser.cpp970 Init *Item = LHSl->getElement(0); in ParseOperation()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DDebugInfoMetadata.cpp1066 if (getElement(0) != dwarf::DW_OP_constu || in isConstant()
1067 getElement(2) != dwarf::DW_OP_stack_value) in isConstant()
1069 if (getNumElements() == 6 && getElement(3) != dwarf::DW_OP_LLVM_fragment) in isConstant()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DBasicObjCFoundationChecks.cpp324 warnIfNilExpr(AL->getElement(i), "Array element cannot be nil", C); in checkPostStmt()
891 const Stmt *Element = FCS->getElement(); in checkElementNonNil()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGObjC.cpp162 const Expr *Rhs = ALE->getElement(i); in EmitObjCCollectionLiteral()
1580 if (const DeclStmt *SD = dyn_cast<DeclStmt>(S.getElement())) in EmitObjCForCollectionStmt()
1731 if (const DeclStmt *SD = dyn_cast<DeclStmt>(S.getElement())) { in EmitObjCForCollectionStmt()
1746 elementType = cast<Expr>(S.getElement())->getType(); in EmitObjCForCollectionStmt()
1772 elementLValue = EmitLValue(cast<Expr>(S.getElement())); in EmitObjCForCollectionStmt()
1840 elementLValue = EmitLValue(cast<Expr>(S.getElement())); in EmitObjCForCollectionStmt()
H A DCodeGenPGO.cpp586 Visit(S->getElement()); in VisitObjCForCollectionStmt()
H A DCoverageMappingGen.cpp1079 Visit(S->getElement()); in VisitObjCForCollectionStmt()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DLiveVariables.cpp440 Stmt *element = OS->getElement(); in VisitObjCForCollectionStmt()
H A DUninitializedValues.cpp704 if (const auto *DS = dyn_cast<DeclStmt>(FS->getElement())) { in VisitObjCForCollectionStmt()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DStmtPrinter.cpp340 if (auto *DS = dyn_cast<DeclStmt>(Node->getElement())) in VisitObjCForCollectionStmt()
343 PrintExpr(cast<Expr>(Node->getElement())); in VisitObjCForCollectionStmt()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp483 Objs.push_back(ArrLit->getElement(i)); in getNSArrayObjects()
/freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.cpp181 addConstantValue(*VariableDIE, /*Unsigned=*/true, Expr->getElement(1)); in getOrCreateGlobalVariableDIE()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTWriterStmt.cpp1038 Record.AddStmt(E->getElement(i)); in VisitObjCArrayLiteral()
1187 Record.AddStmt(S->getElement()); in VisitObjCForCollectionStmt()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h2371 uint64_t getElement(unsigned I) const {
2486 return getNumElements() > 0 && getElement(0) == dwarf::DW_OP_deref;
/freebsd-12.1/contrib/llvm/include/llvm/TableGen/
H A DRecord.h684 Init *getElement(unsigned i) const { in getElement() function
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp1697 if (DeclStmt *DS = dyn_cast<DeclStmt>(S->getElement())) { in RewriteObjCForCollectionStmt()
1714 DeclRefExpr *DR = cast<DeclRefExpr>(S->getElement()); in RewriteObjCForCollectionStmt()
2729 InitExprs.push_back(Exp->getElement(i)); in RewriteObjCArrayLiteralExpr()
5424 return CS->getElement() == DS; in IsDeclStmtInForeachHeader()
H A DRewriteObjC.cpp1486 if (DeclStmt *DS = dyn_cast<DeclStmt>(S->getElement())) { in RewriteObjCForCollectionStmt()
1503 DeclRefExpr *DR = cast<DeclRefExpr>(S->getElement()); in RewriteObjCForCollectionStmt()
4543 return CS->getElement() == DS; in IsDeclStmtInForeachHeader()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/ASTMatchers/
H A DASTMatchers.h5214 AST_TYPELOC_TRAVERSE_MATCHER_DECL(hasElementType, getElement,

12