Home
last modified time | relevance | path

Searched refs:Add (Results 1 – 25 of 952) sorted by relevance

12345678910>>...39

/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriterDecl.cpp1950 Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteDeclAbbrevs()
1986 Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteDeclAbbrevs()
2146 Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteDeclAbbrevs()
2175 Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteDeclAbbrevs()
2181 Abv->Add(BitCodeAbbrevOp(serialization::DECL_VAR)); in WriteDeclAbbrevs()
2227 Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteDeclAbbrevs()
2290 Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteDeclAbbrevs()
2310 Abv->Add(BitCodeAbbrevOp(0)); // NonOdrUseReason in WriteDeclAbbrevs()
2355 Abv->Add(BitCodeAbbrevOp(0)); // PathSize in WriteDeclAbbrevs()
2364 Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); in WriteDeclAbbrevs()
[all …]
H A DASTWriter.cpp1199 MetadataAbbrev->Add(BitCodeAbbrevOp(METADATA)); in WriteControlBlock()
1228 Abbrev->Add(BitCodeAbbrevOp(MODULE_NAME)); in WriteControlBlock()
1477 Abbrev->Add(BitCodeAbbrevOp(ORIGINAL_PCH_DIR)); in WriteControlBlock()
1524 IFAbbrev->Add(BitCodeAbbrevOp(INPUT_FILE)); in WriteInputFiles()
1536 IFHAbbrev->Add(BitCodeAbbrevOp(INPUT_FILE_HASH)); in WriteInputFiles()
2510 Abbrev->Add(BitCodeAbbrevOp(MACRO_OFFSET)); in WritePreprocessor()
2730 Abbrev->Add(BitCodeAbbrevOp(SUBMODULE_HEADER)); in WriteSubmodules()
3100 Abbrev->Add(BitCodeAbbrevOp(TYPE_OFFSET)); in WriteTypeDeclOffsets()
3113 Abbrev->Add(BitCodeAbbrevOp(DECL_OFFSET)); in WriteTypeDeclOffsets()
3145 Abbrev->Add(BitCodeAbbrevOp(FILE_SORTED_DECLS)); in WriteFileDeclIDsMap()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/tsan/tests/unit/
H A Dtsan_mutexset_test.cpp30 mset.Add(1, true, 2); in TEST()
36 mset.Add(3, true, 4); in TEST()
37 mset.Add(5, false, 6); in TEST()
49 mset.Add(1, true, 2); in TEST()
53 mset.Add(1, true, 2); in TEST()
67 mset.Add(1, true, 2); in TEST()
77 mset.Add(1, true, 2); in TEST()
78 mset.Add(1, true, 2); in TEST()
79 mset.Add(3, true, 4); in TEST()
80 mset.Add(3, true, 4); in TEST()
[all …]
/llvm-project-15.0.7/llvm/lib/Remarks/
H A DBitstreamRemarkSerializer.cpp56 Abbrev->Add(BitCodeAbbrevOp(RECORD_META_CONTAINER_INFO)); in setupMetaBlockInfo()
58 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 2)); // Type. in setupMetaBlockInfo()
68 Abbrev->Add(BitCodeAbbrevOp(RECORD_META_REMARK_VERSION)); in setupMetaRemarkVersion()
87 Abbrev->Add(BitCodeAbbrevOp(RECORD_META_STRTAB)); in setupMetaStrTab()
111 Abbrev->Add(BitCodeAbbrevOp(RECORD_META_EXTERNAL_FILE)); in setupMetaExternalFile()
112 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); // Filename. in setupMetaExternalFile()
133 Abbrev->Add(BitCodeAbbrevOp(RECORD_REMARK_HEADER)); in setupRemarkBlockInfo()
147 Abbrev->Add(BitCodeAbbrevOp(RECORD_REMARK_DEBUG_LOC)); in setupRemarkBlockInfo()
160 Abbrev->Add(BitCodeAbbrevOp(RECORD_REMARK_HOTNESS)); in setupRemarkBlockInfo()
172 Abbrev->Add(BitCodeAbbrevOp(RECORD_REMARK_ARG_WITH_DEBUGLOC)); in setupRemarkBlockInfo()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/ARC/
H A DARCOptAddrMode.cpp233 if (!isAddConstantOp(Add, Incr)) in tryToCombine()
255 if (MoveTo == &Add) { in tryToCombine()
257 Add.getParent()->insertAfter(Add.getIterator(), &Ldst); in tryToCombine()
259 if (Result == &Add) in tryToCombine()
268 Add.eraseFromParent(); in tryToCombine()
280 MachineInstr *First = Add; in canJoinInstructions()
282 if (MDT->dominates(Ldst, Add)) in canJoinInstructions()
284 else if (!MDT->dominates(Add, Ldst)) in canJoinInstructions()
317 if (&MI == Ldst || &MI == Add) in canJoinInstructions()
323 if (MDT->dominates(Add, &MI)) in canJoinInstructions()
[all …]
/llvm-project-15.0.7/lldb/source/DataFormatters/
H A DFormattersHelpers.cpp30 category_sp->GetRegexTypeFormatsContainer()->Add( in AddFormat()
33 category_sp->GetTypeFormatsContainer()->Add(std::move(type_name), in AddFormat()
41 category_sp->GetRegexTypeSummariesContainer()->Add( in AddSummary()
44 category_sp->GetTypeSummariesContainer()->Add(std::move(type_name), in AddSummary()
54 category_sp->GetRegexTypeSummariesContainer()->Add( in AddStringSummary()
57 category_sp->GetTypeSummariesContainer()->Add(std::move(type_name), in AddStringSummary()
68 category_sp->GetRegexTypeSummariesContainer()->Add( in AddOneLineSummary()
82 category_sp->GetRegexTypeSummariesContainer()->Add( in AddCXXSummary()
97 category_sp->GetRegexTypeSyntheticsContainer()->Add( in AddCXXSynthetic()
112 category_sp->GetRegexTypeFiltersContainer()->Add( in AddFilter()
[all …]
/llvm-project-15.0.7/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp543 case Instruction::Add: in getEncodedBinaryOpcode()
568 case AtomicRMWInst::Add: return bitc::RMW_ADD; in getEncodedRMWOperation()
879 Abbv->Add(BitCodeAbbrevOp(0)); // Addrspace = 0 in writeTypeTable()
885 Abbv->Add(BitCodeAbbrevOp(0)); // Addrspace = 0 in writeTypeTable()
1316 Abbv->Add(BitCodeAbbrevOp(0)); in writeModuleInfo()
1323 Abbv->Add(BitCodeAbbrevOp(0)); in writeModuleInfo()
1345 Abbv->Add(AbbrevOpToUse); in writeModuleInfo()
4062 Abbv->Add(BitCodeAbbrevOp(bitc::FS_ALIAS)); in writePerModuleGlobalValueSummary()
4153 Abbv->Add(BitCodeAbbrevOp(bitc::FS_COMBINED)); in writeCombinedGlobalValueSummary()
4601 Abbv->Add(BitCodeAbbrevOp(Record)); in writeBlob()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp401 Abbv->Add(BitCodeAbbrevOp(Record)); in writeBlob()
402 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); in writeBlob()
519 case Instruction::Add: in getEncodedBinaryOpcode()
575 case AtomicRMWInst::Add: in getEncodedRMWOperation()
979 Abbv->Add(BitCodeAbbrevOp(0)); // Addrspace = 0 in writeTypeTable()
986 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in writeTypeTable()
1015 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_ARRAY)); in writeTypeTable()
1260 Abbv->Add(BitCodeAbbrevOp(0)); in writeModuleInfo()
1267 Abbv->Add(BitCodeAbbrevOp(0)); in writeModuleInfo()
1817 Abbv->Add(BitCodeAbbrevOp(bitc::METADATA_NAME)); in writeModuleMetadata()
[all …]
/llvm-project-15.0.7/libc/src/math/docs/
H A Dadd_math_function.md19 - Add function specs to the file:
29 - Add `add_math_entrypoint_object(<func>)` to:
37 - Add function definition to:
41 - Add the corresponding `add_entrypoint_object` to:
45 - Add architectural specific implementations to:
91 - Add unit test to:
95 - Add the corresponding entry point to:
106 - Add an exhaustive test to:
110 - Add the corresponding entry point to:
125 - Add a performance test to:
[all …]
/llvm-project-15.0.7/clang-tools-extra/pseudo/lib/
H A DBracket.cpp86 auto Add = [&](const pseudo::Token &Tok, Bracket::BracketKind K, in findBrackets() local
94 Add(Tok, Bracket::Paren, Bracket::Open); in findBrackets()
97 Add(Tok, Bracket::Paren, Bracket::Close); in findBrackets()
100 Add(Tok, Bracket::Brace, Bracket::Open); in findBrackets()
103 Add(Tok, Bracket::Brace, Bracket::Close); in findBrackets()
106 Add(Tok, Bracket::Square, Bracket::Open); in findBrackets()
109 Add(Tok, Bracket::Square, Bracket::Close); in findBrackets()
/llvm-project-15.0.7/llvm/lib/IR/
H A DBuiltinGCs.cpp120 static GCRegistry::Add<ErlangGC> A("erlang",
122 static GCRegistry::Add<OcamlGC> B("ocaml", "ocaml 3.10-compatible GC");
123 static GCRegistry::Add<ShadowStackGC>
125 static GCRegistry::Add<StatepointGC> D("statepoint-example",
127 static GCRegistry::Add<CoreCLRGC> E("coreclr", "CoreCLR-compatible GC");
/llvm-project-15.0.7/clang/lib/Frontend/
H A DSerializedDiagnosticPrinter.cpp417 Abbrev.Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Line. in AddSourceLocationAbbrev()
418 Abbrev.Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Column. in AddSourceLocationAbbrev()
442 Abbrev->Add(BitCodeAbbrevOp(RECORD_VERSION)); in EmitBlockInfoBlock()
443 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); in EmitBlockInfoBlock()
460 Abbrev->Add(BitCodeAbbrevOp(RECORD_DIAG)); in EmitBlockInfoBlock()
471 Abbrev->Add(BitCodeAbbrevOp(RECORD_CATEGORY)); in EmitBlockInfoBlock()
479 Abbrev->Add(BitCodeAbbrevOp(RECORD_SOURCE_RANGE)); in EmitBlockInfoBlock()
486 Abbrev->Add(BitCodeAbbrevOp(RECORD_DIAG_FLAG)); in EmitBlockInfoBlock()
495 Abbrev->Add(BitCodeAbbrevOp(RECORD_FILENAME)); in EmitBlockInfoBlock()
497 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Size. in EmitBlockInfoBlock()
[all …]
/llvm-project-15.0.7/llvm/lib/MC/MCDisassembler/
H A DMCExternalSymbolizer.cpp85 const MCExpr *Add = nullptr; in tryAddingSymbolicOperand() local
90 Add = MCSymbolRefExpr::create(Sym, Ctx); in tryAddingSymbolicOperand()
92 Add = MCConstantExpr::create((int)SymbolicOp.AddSymbol.Value, Ctx); in tryAddingSymbolicOperand()
114 if (Add) in tryAddingSymbolicOperand()
115 LHS = MCBinaryExpr::createSub(Add, Sub, Ctx); in tryAddingSymbolicOperand()
122 } else if (Add) { in tryAddingSymbolicOperand()
124 Expr = MCBinaryExpr::createAdd(Add, Off, Ctx); in tryAddingSymbolicOperand()
126 Expr = Add; in tryAddingSymbolicOperand()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DStdLibTests.cpp88 auto Add = [&](const LangOptions &LO, in TEST() local
109 EXPECT_FALSE(Add(LO, {"std"})) << "Disabled in config"; in TEST()
115 EXPECT_FALSE(Add(LO, {"std"})) << "No <vector> found"; in TEST()
117 EXPECT_TRUE(Add(LO, {"std"})) << "Indexing as C++98"; in TEST()
118 EXPECT_FALSE(Add(LO, {"std"})) << "Don't reindex"; in TEST()
120 EXPECT_TRUE(Add(LO, {"std"})) << "Indexing as C++11"; in TEST()
122 EXPECT_FALSE(Add(LO, {"libc"})) << "No <stdio.h>"; in TEST()
124 EXPECT_TRUE(Add(LO, {"libc"})) << "Indexing as C"; in TEST()
/llvm-project-15.0.7/lldb/source/Plugins/Language/CPlusPlus/
H A DCPlusPlusLanguage.cpp949 cpp_category_sp->GetTypeSummariesContainer()->Add( in LoadLibStdcppFormatters()
951 cpp_category_sp->GetTypeSummariesContainer()->Add( in LoadLibStdcppFormatters()
955 cpp_category_sp->GetTypeSummariesContainer()->Add( in LoadLibStdcppFormatters()
960 cpp_category_sp->GetTypeSummariesContainer()->Add( in LoadLibStdcppFormatters()
962 cpp_category_sp->GetTypeSummariesContainer()->Add( in LoadLibStdcppFormatters()
966 cpp_category_sp->GetTypeSummariesContainer()->Add( in LoadLibStdcppFormatters()
979 cpp_category_sp->GetTypeSummariesContainer()->Add( in LoadLibStdcppFormatters()
981 cpp_category_sp->GetTypeSummariesContainer()->Add( in LoadLibStdcppFormatters()
985 cpp_category_sp->GetTypeSummariesContainer()->Add( in LoadLibStdcppFormatters()
990 cpp_category_sp->GetTypeSummariesContainer()->Add( in LoadLibStdcppFormatters()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/AArch64/Disassembler/
H A DAArch64ExternalSymbolizer.cpp169 const MCExpr *Add = nullptr; in tryAddingSymbolicOperand() local
176 Add = MCSymbolRefExpr::create(Sym, Variant, Ctx); in tryAddingSymbolicOperand()
178 Add = MCSymbolRefExpr::create(Sym, Ctx); in tryAddingSymbolicOperand()
180 Add = MCConstantExpr::create(SymbolicOp.AddSymbol.Value, Ctx); in tryAddingSymbolicOperand()
202 if (Add) in tryAddingSymbolicOperand()
203 LHS = MCBinaryExpr::createSub(Add, Sub, Ctx); in tryAddingSymbolicOperand()
210 } else if (Add) { in tryAddingSymbolicOperand()
212 Expr = MCBinaryExpr::createAdd(Add, Off, Ctx); in tryAddingSymbolicOperand()
214 Expr = Add; in tryAddingSymbolicOperand()
/llvm-project-15.0.7/flang/unittests/Common/
H A DFastIntSetTest.cpp26 ASSERT_TRUE(set.Add(0)); in TEST()
31 ASSERT_TRUE(set.Add(0)); // duplicate in TEST()
40 ASSERT_FALSE(set.Add(N)); in TEST()
45 ASSERT_TRUE(set.Add(N - 1)); in TEST()
61 ASSERT_TRUE(set.Add(j)) << j; in TEST()
79 ASSERT_TRUE(set.Add(j)) << j; in TEST()
90 ASSERT_TRUE(set.Add(j)) << j; in TEST()
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dcomplex.cpp15 ValueWithRealFlags<Complex<R>> Complex<R>::Add( in Add() function in Fortran::evaluate::value::Complex
18 Part reSum{re_.Add(that.re_, rounding).AccumulateFlags(flags)}; in Add()
19 Part imSum{im_.Add(that.im_, rounding).AccumulateFlags(flags)}; in Add()
42 Part adbc{ad.Add(bc, rounding).AccumulateFlags(flags)}; in Multiply()
64 den = dS.Add(that.re_, rounding).AccumulateFlags(flags); in Divide()
67 den = cS.Add(that.im_, rounding).AccumulateFlags(flags); in Divide()
73 re1 = re_.Add(bS, rounding).AccumulateFlags(flags); in Divide()
76 re1 = aS.Add(im_, rounding).AccumulateFlags(flags); in Divide()
/llvm-project-15.0.7/llvm/examples/ModuleMaker/
H A DModuleMaker.cpp54 Instruction *Add = BinaryOperator::Create(Instruction::Add, Two, Three, in main() local
58 BB->getInstList().push_back(Add); in main()
61 BB->getInstList().push_back(ReturnInst::Create(Context, Add)); in main()
/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dinitial-image.h38 Result Add(ConstantSubscript, std::size_t, const A &, FoldingContext &) { in Add() function
42 Result Add(ConstantSubscript offset, std::size_t bytes, const Constant<T> &x, in Add() function
62 Result Add(ConstantSubscript offset, std::size_t bytes, in Add() function
92 Result Add(ConstantSubscript, std::size_t, const Constant<SomeDerived> &,
95 Result Add(ConstantSubscript offset, std::size_t bytes, const Expr<T> &x, in Add() function
98 [&](const auto &y) { return Add(offset, bytes, y, c); }, x.u); in Add()
/llvm-project-15.0.7/clang/lib/Driver/
H A DSanitizerArgs.cpp233 Add &= ~TrapRemove; in parseSanitizeTrapArgs()
344 Add &= ~AllRemove; in SanitizerArgs()
357 Add &= ~InvalidTrappingKinds; in SanitizerArgs()
400 Add &= ~SanitizerKind::CFIMFCall; in SanitizerArgs()
412 Add &= Supported; in SanitizerArgs()
437 Add = expandSanitizerGroups(Add); in SanitizerArgs()
439 Add &= ~AllRemove; in SanitizerArgs()
442 Add &= ~InvalidTrappingKinds; in SanitizerArgs()
448 Add &= Supported; in SanitizerArgs()
450 if (Add & SanitizerKind::Fuzzer) in SanitizerArgs()
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dfmsubadd-combine.ll30 %Add = fadd <2 x double> %AB, %C
31 %subadd = shufflevector <2 x double> %Add, <2 x double> %Sub, <2 x i32> <i32 0, i32 3>
56 %Add = fadd <4 x float> %AB, %C
57 %subadd = shufflevector <4 x float> %Add, <4 x float> %Sub, <4 x i32> <i32 0, i32 5, i32 2, i32 7>
82 %Add = fadd <4 x double> %AB, %C
83 …%subadd = shufflevector <4 x double> %Add, <4 x double> %Sub, <4 x i32> <i32 0, i32 5, i32 2, i32 …
108 %Add = fadd <8 x float> %AB, %C
145 %Add = fadd <8 x double> %AB, %C
182 %Add = fadd <16 x float> %AB, %C
199 %Add = fadd <2 x double> %AB, %C
[all …]
/llvm-project-15.0.7/llvm/unittests/Transforms/Vectorize/
H A DVPlanHCFGTest.cpp73 VPInstruction *Add = dyn_cast<VPInstruction>(&*Iter++); in TEST_F() local
74 EXPECT_EQ(Instruction::Add, Add->getOpcode()); in TEST_F()
75 EXPECT_EQ(2u, Add->getNumOperands()); in TEST_F()
76 EXPECT_EQ(Load, Add->getOperand(0)); in TEST_F()
81 EXPECT_EQ(Add, Store->getOperand(0)); in TEST_F()
85 EXPECT_EQ(Instruction::Add, IndvarAdd->getOpcode()); in TEST_F()
/llvm-project-15.0.7/libunwind/cmake/Modules/
H A DHandleLibunwindFlags.cmake71 # Add a macro definition if condition is true.
78 # Add a macro definition if condition is not true.
85 # Add a macro definition to the __config_site file if the specified condition
107 # Add a list of flags to all of 'CMAKE_CXX_FLAGS', 'CMAKE_C_FLAGS',
127 # Add all the flags supported by the compiler to all of
138 # Add a specified list of flags to both 'LIBUNWIND_COMPILE_FLAGS' and
165 # Add a list of flags to 'LIBUNWIND_COMPILE_FLAGS'.
190 # Add a list of flags to 'LIBUNWIND_C_FLAGS'.
215 # Add a list of flags to 'LIBUNWIND_CXX_FLAGS'.
240 # Add a list of flags to 'LIBUNWIND_LINK_FLAGS'.
[all …]
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp379 if (Add == nullptr || in getVarAndConst()
380 (Add->getOpcode() != Instruction::Add && !isAddLikeOr(Add, *DL))) in getVarAndConst()
387 Summand = Add->getOperand(1); in getVarAndConst()
389 Summand = Add->getOperand(0); in getVarAndConst()
775 if (Add.first == nullptr) in tryCreateIncrementingGatScat()
777 Value *OffsetsIncoming = Add.first; in tryCreateIncrementingGatScat()
778 int64_t Immediate = Add.second; in tryCreateIncrementingGatScat()
824 if (Add.first == nullptr) in tryCreateIncrementingWBGatScat()
827 int64_t Immediate = Add.second; in tryCreateIncrementingWBGatScat()
1080 case Instruction::Add: in optimiseOffsets()
[all …]

12345678910>>...39