Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeGenMapTable.cpp265 CurInstr->getValue(ColFields->getElement(J)); in isKeyColInstr()
267 std::string KeyColValue = KeyCol->getElement(J)->getAsUnquotedString(); in isKeyColInstr()
324 const Init *ColFieldJ = ColFields->getElement(J); in getInstrForColumn()
327 const Init *ColFieldJVallue = CurValueCol->getElement(J); in getInstrForColumn()
447 std::string ColName = ColFields->getElement(J)->getAsUnquotedString(); in emitMapFuncBody()
450 OS << ColName << "_" << ColumnI->getElement(J)->getAsUnquotedString(); in emitMapFuncBody()
521 std::string ColName = ColFields->getElement(J)->getAsUnquotedString(); in emitEnums()
524 MapEntry.insert(List->getElement(J)); in emitEnums()
H A DCallingConvEmitter.cpp167 Parms.push_back(getQualifiedRegisterName(LI->getElement(0))); in emitAction()
238 std::string Name = getQualifiedRegisterName(RegList->getElement(I)); in emitAction()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewVisitor.cpp837 LVElement *Element = LogicalVisitor->getElement(StreamTPI, Local.Type); in visitKnownRecord()
887 LVElement *Element = LogicalVisitor->getElement(StreamTPI, Local.Type); in visitKnownRecord()
1029 Symbol->setType(LogicalVisitor->getElement(StreamTPI, Constant.Type)); in visitKnownRecord()
1365 Symbol->setType(LogicalVisitor->getElement(StreamTPI, Data.Type)); in visitKnownRecord()
1437 LVElement *Element = LogicalVisitor->getElement(StreamTPI, Local.Type); in visitKnownRecord()
1552 Function->setType(LogicalVisitor->getElement(StreamTPI, TIFunctionType)); in visitKnownRecord()
1667 Type->setType(LogicalVisitor->getElement(StreamTPI, UDT.Type)); in visitKnownRecord()
1843 Subrange->setType(getElement(StreamTPI, AR.getIndexType())); in visitKnownRecord()
1914 Array->setType(getElement(StreamTPI, TIArrayType)); in visitKnownRecord()
1940 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
H A DExprObjC.h229 Expr *getElement(unsigned Index) { in getElement() function
233 const Expr *getElement(unsigned Index) const { 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()
327 if (auto *TypeClass = dyn_cast<DefInit>(Types->getElement(I))) { in EmitGroup()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineObjC.cpp111 const Stmt *elem = S->getElement(); in VisitObjCForCollectionStmt()
H A DBugReporter.cpp1138 return FS->getElement(); in getTerminatorCondition()
1425 return cast<ObjCForCollectionStmt>(S)->getElement() == Cond; in isConditionForTerminator()
1939 s2End == FS->getElement()) { in optimizeEdges()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaHLSL.h44 const llvm::hlsl::rootsig::RootElement &getElement() const { return Element; } in getElement() function
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDebugInfoMetadata.cpp2501 (getElement(0) != dwarf::DW_OP_consts && in isConstant()
2502 getElement(0) != dwarf::DW_OP_constu)) in isConstant()
2505 if (getNumElements() == 2 && getElement(0) == dwarf::DW_OP_consts) in isConstant()
2508 if ((getNumElements() == 3 && getElement(2) != dwarf::DW_OP_stack_value) || in isConstant()
2509 (getNumElements() == 6 && (getElement(2) != dwarf::DW_OP_stack_value || in isConstant()
2510 getElement(3) != dwarf::DW_OP_LLVM_fragment))) in isConstant()
2512 return getElement(0) == dwarf::DW_OP_constu in isConstant()
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DRecord.cpp765 const auto *DI = dyn_cast<DefInit>(getElement(Idx)); in getElementAsRecord()
940 return LHSl->getElement(0); in Fold()
1114 const auto *Element = dyn_cast<StringInit>(List->getElement(0)); in interleaveStringList()
1137 List->getElement(0)->convertInitializerTo(IntRecTy::get(RK))); in interleaveIntList()
1384 return TheList->getElement(i); in Fold()
1400 Args.push_back(TheList->getElement(i)); in Fold()
1824 const Init *Node = MHSl ? MHSl->getElement(i) : UnsetInit::get(RK); in Fold()
1825 const Init *Name = RHSl ? RHSl->getElement(i) : UnsetInit::get(RK); in Fold()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DBasicObjCFoundationChecks.cpp333 warnIfNilExpr(AL->getElement(i), "Array element cannot be nil", C); in checkPostStmt()
896 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()
1822 if (const DeclStmt *SD = dyn_cast<DeclStmt>(S.getElement())) in EmitObjCForCollectionStmt()
1970 if (const DeclStmt *SD = dyn_cast<DeclStmt>(S.getElement())) { in EmitObjCForCollectionStmt()
1985 elementType = cast<Expr>(S.getElement())->getType(); in EmitObjCForCollectionStmt()
2046 elementLValue = EmitLValue(cast<Expr>(S.getElement())); in EmitObjCForCollectionStmt()
2114 elementLValue = EmitLValue(cast<Expr>(S.getElement())); in EmitObjCForCollectionStmt()
H A DCodeGenPGO.cpp821 Visit(S->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/clang/lib/Analysis/
H A DLiveVariables.cpp458 Stmt *element = OS->getElement(); in VisitObjCForCollectionStmt()
H A DUninitializedValues.cpp690 if (const auto *DS = dyn_cast<DeclStmt>(FS->getElement())) { in VisitObjCForCollectionStmt()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp1309 VI.Expr->getElement(0) == llvm::dwarf::DW_OP_deref) in collectVariableInfoFromMFTable()
3261 (DIE->getElement(0) == dwarf::DW_OP_plus_uconst)) in collectGlobalVariableInfo()
3267 std::make_pair(DIGV, DIE->getElement(1))); in collectGlobalVariableInfo()
3475 APSInt Value(APInt(/*BitWidth=*/64, DIE->getElement(1)), isUnsigned); in emitDebugInfoForGlobal()
H A DDwarfUnit.cpp1672 static_cast<int64_t>(BE->getElement(1)) != DefaultLowerBound) in constructGenericSubrangeDIE()
1674 BE->getElement(1)); in constructGenericSubrangeDIE()
/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.cpp427 if (auto *DS = dyn_cast<DeclStmt>(Node->getElement())) in VisitObjCForCollectionStmt()
430 PrintExpr(cast<Expr>(Node->getElement())); in VisitObjCForCollectionStmt()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaHLSL.cpp1076 Elements.push_back(RootSigElement.getElement()); in ActOnFinishRootSignatureDecl()
1128 const llvm::hlsl::rootsig::RootElement &Elem = RootSigElem.getElement(); in handleRootSignatureElements()
1181 const llvm::hlsl::rootsig::RootElement &Elem = RootSigElem.getElement(); in handleRootSignatureElements()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp1700 if (DeclStmt *DS = dyn_cast<DeclStmt>(S->getElement())) { in RewriteObjCForCollectionStmt()
1717 DeclRefExpr *DR = cast<DeclRefExpr>(S->getElement()); in RewriteObjCForCollectionStmt()
2733 InitExprs.push_back(Exp->getElement(i)); in RewriteObjCArrayLiteralExpr()
5384 return CS->getElement() == DS; in IsDeclStmtInForeachHeader()
H A DRewriteObjC.cpp1492 if (DeclStmt *DS = dyn_cast<DeclStmt>(S->getElement())) { in RewriteObjCForCollectionStmt()
1509 DeclRefExpr *DR = cast<DeclRefExpr>(S->getElement()); in RewriteObjCForCollectionStmt()
4525 return CS->getElement() == DS; in IsDeclStmtInForeachHeader()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterStmt.cpp1431 Record.AddStmt(E->getElement(i)); in VisitObjCArrayLiteral()
1580 Record.AddStmt(S->getElement()); in VisitObjCForCollectionStmt()

12