Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeGenMapTable.cpp265 RecordVal *ColFieldName = CurInstr->getValue(ColFields->getElement(j)); in isKeyColInstr()
267 std::string KeyColValue = KeyCol->getElement(j)->getAsUnquotedString(); in isKeyColInstr()
324 Init *ColFieldJ = ColFields->getElement(j); in getInstrForColumn()
327 Init *ColFieldJVallue = CurValueCol->getElement(j); in getInstrForColumn()
450 std::string ColName = ColFields->getElement(j)->getAsUnquotedString(); in emitMapFuncBody()
453 OS << ColName << "_" << ColumnI->getElement(j)->getAsUnquotedString(); in emitMapFuncBody()
518 auto *ListJ = cast<ListInit>(List->getElement(j)); in emitEnums()
530 std::string ColName = ColFields->getElement(j)->getAsUnquotedString(); in emitEnums()
531 ColFieldValueMap[ColName].push_back((ValueCols[k])->getElement(j)); in emitEnums()
H A DDXILEmitter.cpp194 OpAttributes.emplace_back(IntrPropList->getElement(i)->getAsString()); in DXILOperationDesc()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewVisitor.cpp850 LVElement *Element = LogicalVisitor->getElement(StreamTPI, Local.Type); in visitKnownRecord()
900 LVElement *Element = LogicalVisitor->getElement(StreamTPI, Local.Type); in visitKnownRecord()
1036 Symbol->setType(LogicalVisitor->getElement(StreamTPI, Constant.Type)); in visitKnownRecord()
1372 Symbol->setType(LogicalVisitor->getElement(StreamTPI, Data.Type)); in visitKnownRecord()
1444 LVElement *Element = LogicalVisitor->getElement(StreamTPI, Local.Type); in visitKnownRecord()
1559 Function->setType(LogicalVisitor->getElement(StreamTPI, TIFunctionType)); in visitKnownRecord()
1674 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()
[all …]
/freebsd/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
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DClangOpcodesEmitter.cpp70 if (const auto *TypeClass = dyn_cast<DefInit>(Types->getElement(I))) { in Enumerate()
334 if (auto *TypeClass = dyn_cast<DefInit>(Types->getElement(I))) { in EmitGroup()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDebugInfoMetadata.cpp2223 (getElement(0) != dwarf::DW_OP_consts && in isConstant()
2224 getElement(0) != dwarf::DW_OP_constu)) in isConstant()
2227 if (getNumElements() == 2 && getElement(0) == dwarf::DW_OP_consts) in isConstant()
2230 if ((getNumElements() == 3 && getElement(2) != dwarf::DW_OP_stack_value) || in isConstant()
2231 (getNumElements() == 6 && (getElement(2) != dwarf::DW_OP_stack_value || in isConstant()
2232 getElement(3) != dwarf::DW_OP_LLVM_fragment))) in isConstant()
2234 return getElement(0) == dwarf::DW_OP_constu in isConstant()
/freebsd/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/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DBasicObjCFoundationChecks.cpp334 warnIfNilExpr(AL->getElement(i), "Array element cannot be nil", C); in checkPostStmt()
897 const Stmt *Element = FCS->getElement(); in checkElementNonNil()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjC.cpp172 const Expr *Rhs = ALE->getElement(i); in EmitObjCCollectionLiteral()
1778 if (const DeclStmt *SD = dyn_cast<DeclStmt>(S.getElement())) in EmitObjCForCollectionStmt()
1926 if (const DeclStmt *SD = dyn_cast<DeclStmt>(S.getElement())) { in EmitObjCForCollectionStmt()
1941 elementType = cast<Expr>(S.getElement())->getType(); in EmitObjCForCollectionStmt()
2001 elementLValue = EmitLValue(cast<Expr>(S.getElement())); in EmitObjCForCollectionStmt()
2069 elementLValue = EmitLValue(cast<Expr>(S.getElement())); in EmitObjCForCollectionStmt()
H A DCodeGenPGO.cpp821 Visit(S->getElement()); in VisitObjCForCollectionStmt()
/freebsd/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/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/
H A DLVCodeViewVisitor.h348 LVElement *getElement(uint32_t StreamIdx, TypeIndex TI,
/freebsd/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);
H A DDwarfUnit.cpp1446 static_cast<int64_t>(BE->getElement(1)) != DefaultLowerBound) in constructGenericSubrangeDIE()
1448 BE->getElement(1)); in constructGenericSubrangeDIE()
H A DDwarfCompileUnit.cpp238 Expr->getElement(1)); in addLocationAttribute()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp1121 return FS->getElement(); in getTerminatorCondition()
1408 return cast<ObjCForCollectionStmt>(S)->getElement() == Cond; in isConditionForTerminator()
1922 s2End == FS->getElement()) { in optimizeEdges()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenRegisters.cpp642 ST.evaluate(SubRegs->getElement(i), Lists[i], Def->getLoc()); in expand()
794 RegBank.getSets().evaluate(AltOrders->getElement(i), Order, R->getLoc()); in CodeGenRegisterClass()
H A DCodeGenSchedule.cpp1866 BitInit *Val = cast<BitInit>(MoveElimInfo->getElement(I)); in collectRegisterFiles()
/freebsd/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp483 Objs.push_back(ArrLit->getElement(i)); in getNSArrayObjects()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DStmtPrinter.cpp422 if (auto *DS = dyn_cast<DeclStmt>(Node->getElement())) in VisitObjCForCollectionStmt()
425 PrintExpr(cast<Expr>(Node->getElement())); in VisitObjCForCollectionStmt()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp1701 if (DeclStmt *DS = dyn_cast<DeclStmt>(S->getElement())) { in RewriteObjCForCollectionStmt()
1718 DeclRefExpr *DR = cast<DeclRefExpr>(S->getElement()); in RewriteObjCForCollectionStmt()
2734 InitExprs.push_back(Exp->getElement(i)); in RewriteObjCArrayLiteralExpr()
5418 return CS->getElement() == DS; in IsDeclStmtInForeachHeader()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterStmt.cpp1408 Record.AddStmt(E->getElement(i)); in VisitObjCArrayLiteral()
1557 Record.AddStmt(S->getElement()); in VisitObjCForCollectionStmt()
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DRecord.h771 Init *getElement(unsigned i) const { in getElement() function
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjC.cpp2377 ArrayLiteral->getElement(I), 0); in checkArrayLiteral()

12