Home
last modified time | relevance | path

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

12345678910>>...44

/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp179 /// Add an Objective-C type parameter list to the given record. in AddObjCTypeParamList()
210 /// Add to the record the first declaration from each module file that in getPartialSpecializations()
221 /// Add to the record the first template specialization from each module in AddTemplateSpecializations()
2271 Abv->Add(BitCodeAbbrevOp(Code)); in WriteDeclAbbrevs()
2273 Abv->Add(BitCodeAbbrevOp(0)); // CanonicalDecl in WriteDeclAbbrevs()
2274 Abv->Add(BitCodeAbbrevOp(Kind)); in WriteDeclAbbrevs()
2279 Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); in WriteDeclAbbrevs()
2282 Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); in WriteDeclAbbrevs()
2284 Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // InstantiatedFrom in WriteDeclAbbrevs()
2285 Abv->Add(BitCodeAbbrevO in WriteDeclAbbrevs()
[all...]
H A DASTWriter.cpp718 Abv->Add(BitCodeAbbrevOp(serialization::TYPE_EXT_QUAL)); in AddStmtsExprs()
719 Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // Type in AddStmtsExprs()
720 Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 3)); // Quals in AddStmtsExprs()
1231 // Add the remaining bytes: in createSignatureForNamedModule()
1343 Abbrev->Add(BitCodeAbbrevOp(AST_BLOCK_HASH)); in writeUnhashedControlBlock()
1344 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); in writeUnhashedControlBlock()
1354 Abbrev->Add(BitCodeAbbrevOp(SIGNATURE)); in writeUnhashedControlBlock()
1355 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); in writeUnhashedControlBlock()
1420 Abbrev->Add(BitCodeAbbrevOp(HEADER_SEARCH_ENTRY_USAGE)); in WriteControlBlock()
1421 Abbrev->Add(BitCodeAbbrevO in WriteControlBlock()
[all...]
/llvm-project/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/llvm/lib/Remarks/
H A DBitstreamRemarkSerializer.cpp57 Abbrev->Add(BitCodeAbbrevOp(RECORD_META_CONTAINER_INFO)); in setupMetaBlockInfo()
58 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Version. in setupMetaBlockInfo()
59 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 2)); // Type. in setupMetaBlockInfo()
69 Abbrev->Add(BitCodeAbbrevOp(RECORD_META_REMARK_VERSION)); in setupMetaRemarkVersion()
70 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Version. in setupMetaRemarkVersion()
88 Abbrev->Add(BitCodeAbbrevOp(RECORD_META_STRTAB)); in setupMetaStrTab()
89 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); // Raw table. in setupMetaStrTab()
112 Abbrev->Add(BitCodeAbbrevOp(RECORD_META_EXTERNAL_FILE)); in setupMetaExternalFile()
113 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); // Filename. in setupMetaExternalFile()
134 Abbrev->Add(BitCodeAbbrevOp(RECORD_REMARK_HEADER)); in setupRemarkBlockInfo()
[all …]
/llvm-project/llvm/lib/Target/ARC/
H A DARCOptAddrMode.cpp80 bool noUseOfAddBeforeLoadOrStore(const MachineInstr *Add,
95 MachineInstr *canJoinInstructions(MachineInstr *Ldst, MachineInstr *Add,
192 bool ARCOptAddrMode::noUseOfAddBeforeLoadOrStore(const MachineInstr *Add, in noUseOfAddBeforeLoadOrStore() argument
194 Register R = Add->getOperand(0).getReg(); in noUseOfAddBeforeLoadOrStore()
230 for (auto &Add : MRI->use_nodbg_instructions(B)) { in tryToCombine() local
232 if (!isAddConstantOp(Add, Incr)) in tryToCombine()
238 MachineInstr *MoveTo = canJoinInstructions(&Ldst, &Add, &Uses); in tryToCombine()
243 if (!canFixPastUses(Uses, Add.getOperand(2), B)) in tryToCombine()
246 LLVM_DEBUG(MachineInstr *First = &Ldst; MachineInstr *Last = &Add; in tryToCombine()
254 if (MoveTo == &Add) { in tryToCombine()
[all …]
/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp637 case Instruction::Add: in getEncodedBinaryOpcode()
662 case AtomicRMWInst::Add: return bitc::RMW_ADD; in getEncodedRMWOperation()
1054 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_OPAQUE_POINTER)); in writeTypeTable()
1055 Abbv->Add(BitCodeAbbrevOp(0)); // Addrspace = 0 in writeTypeTable()
1060 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_FUNCTION)); in writeTypeTable()
1061 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // isvararg in writeTypeTable()
1062 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in writeTypeTable()
1063 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in writeTypeTable()
1068 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_STRUCT_ANON)); in writeTypeTable()
1069 Abbv->Add(BitCodeAbbrevO in writeTypeTable()
[all...]
/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp408 Abbv->Add(BitCodeAbbrevOp(Record)); in writeBlob()
409 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); in writeBlob()
480 case Instruction::Add: in getEncodedBinaryOpcode()
548 case AtomicRMWInst::Add: in getEncodedRMWOperation()
958 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_POINTER)); in writeTypeTable()
959 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in writeTypeTable()
960 Abbv->Add(BitCodeAbbrevOp(0)); // Addrspace = 0 in writeTypeTable()
965 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_FUNCTION)); in writeTypeTable()
966 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // isvararg in writeTypeTable()
967 Abbv->Add(BitCodeAbbrevO in writeTypeTable()
[all...]
/llvm-project/llvm/test/CodeGen/X86/
H A Dload-sample-profile.ll6 ; NOPROFILE: Add FS discriminators in MIR
8 ; NOPROFILE: Add FS discriminators in MIR
10 ; NOPROFILE: Add FS discriminators in MIR
14 ; PROFILE-NOMFS: Add FS discriminators in MIR
16 ; PROFILE-NOMFS: Add FS discriminators in MIR
18 ; PROFILE-NOMFS: Add FS discriminators in MIR
23 ; PROFILE-MFS: Add FS discriminators in MIR
25 ; PROFILE-MFS: Add FS discriminators in MIR
27 ; PROFILE-MFS: Add FS discriminators in MIR
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
109 …%subadd = shufflevector <8 x float> %Add, <8 x float> %Sub, <8 x i32> <i32 0, i32 9, i32 2, i32 11…
145 %Add = fadd <8 x double> %AB, %C
146 …%subadd = shufflevector <8 x double> %Add, <8 x double> %Sub, <8 x i32> <i32 0, i32 9, i32 2, i32 …
[all …]
/llvm-project/libc/src/math/docs/
H A Dadd_math_function.md14 - Add entry points `libc.src.math.func` to the following files:
19 - Add function specs to the file:
29 - Add `add_math_entrypoint_object(<func>)` to:
33 - Add function declaration (under `LIBC_NAMESPACE` namespace) to:
37 - Add function definition to:
41 - Add the corresponding `add_entrypoint_object` to:
45 - Add architectural specific implementations to:
74 - Add the function enum to `LIBC_NAMESPACE::testing::mpfr::Operation` in the
79 - Add support for `func` in the `MPFRNumber` class and the corresponding link
91 - Add smok
[all...]
/llvm-project/clang/lib/Frontend/
H A DSerializedDiagnosticPrinter.cpp212 /// Add SourceLocation information the specified record.
216 /// Add SourceLocation information the specified record.
223 /// Add CharSourceRange information the specified record.
414 Abbrev.Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 10)); // File ID. in AddSourceLocationAbbrev()
415 Abbrev.Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Line. in AddSourceLocationAbbrev()
416 Abbrev.Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Column. in AddSourceLocationAbbrev()
417 Abbrev.Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Offset; in AddSourceLocationAbbrev()
440 Abbrev->Add(BitCodeAbbrevOp(RECORD_VERSION)); in EmitBlockInfoBlock()
441 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); in EmitBlockInfoBlock()
458 Abbrev->Add(BitCodeAbbrevO in EmitBlockInfoBlock()
[all...]
/llvm-project/clang-tools-extra/pseudo/lib/
H A DBracket.cpp
/llvm-project/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/llvm/lib/MC/MCDisassembler/
H A DMCExternalSymbolizer.cpp86 const MCExpr *Add = nullptr; in tryAddingSymbolicOperand()
91 Add = MCSymbolRefExpr::create(Sym, Ctx); in tryAddingSymbolicOperand()
93 Add = MCConstantExpr::create((int)SymbolicOp.AddSymbol.Value, Ctx); in tryAddingSymbolicOperand()
115 if (Add) in tryAddingSymbolicOperand()
116 LHS = MCBinaryExpr::createSub(Add, Sub, Ctx); in tryAddingSymbolicOperand()
123 } else if (Add) { in tryAddingSymbolicOperand()
125 Expr = MCBinaryExpr::createAdd(Add, Off, Ctx); in tryAddingSymbolicOperand()
127 Expr = Add; in tryAddingSymbolicOperand()
85 const MCExpr *Add = nullptr; tryAddingSymbolicOperand() local
/llvm-project/llvm/lib/IR/
H A DBuiltinGCs.cpp122 static GCRegistry::Add<ErlangGC> A("erlang",
124 static GCRegistry::Add<OcamlGC> B("ocaml", "ocaml 3.10-compatible GC");
125 static GCRegistry::Add<ShadowStackGC>
127 static GCRegistry::Add<StatepointGC> D("statepoint-example",
129 static GCRegistry::Add<CoreCLRGC> E("coreclr", "CoreCLR-compatible GC");
/llvm-project/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()
55 Part ccPdd{cc.Add(dd, rounding).AccumulateFlags(flags)}; in Divide()
63 Part acPbd{ac.Add(bd, rounding).AccumulateFlags(flags)}; in Divide()
83 den = dS.Add(that.re_, rounding).AccumulateFlags(flags); in Divide()
86 den = cS.Add(that.im_, rounding).AccumulateFlags(flags); in Divide()
92 re1 = re_.Add(bS, rounding).AccumulateFlags(flags); in Divide()
95 re1 = aS.Add(im_, rounding).AccumulateFlags(flags); in Divide()
/llvm-project/llvm/lib/Target/AArch64/Disassembler/
H A DAArch64ExternalSymbolizer.cpp168 const MCExpr *Add = nullptr; in tryAddingSymbolicOperand()
175 Add = MCSymbolRefExpr::create(Sym, Variant, Ctx); in tryAddingSymbolicOperand()
177 Add = MCSymbolRefExpr::create(Sym, Ctx); in tryAddingSymbolicOperand()
179 Add = MCConstantExpr::create(SymbolicOp.AddSymbol.Value, Ctx); in tryAddingSymbolicOperand()
201 if (Add) in tryAddingSymbolicOperand()
202 LHS = MCBinaryExpr::createSub(Add, Sub, Ctx); in tryAddingSymbolicOperand()
209 } else if (Add) { in tryAddingSymbolicOperand()
211 Expr = MCBinaryExpr::createAdd(Add, Off, Ctx); in tryAddingSymbolicOperand()
213 Expr = Add; in tryAddingSymbolicOperand()
169 const MCExpr *Add = nullptr; tryAddingSymbolicOperand() local
/llvm-project/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/clang/lib/Driver/
H A DSanitizerArgs.cpp281 SanitizerMask Add = parseArgValues(D, Arg, DiagnoseErrors);
285 Add & AlwaysOut & ~DiagnosedAlwaysOutViolations) {
294 Output |= expandSanitizerGroups(Add); in needsUbsanRt()
426 SanitizerMask Add = parseArgValues(D, Arg, DiagnoseErrors); in SanitizerArgs()
433 if ((Add & SanitizerKind::ObjectSize) && DiagnoseErrors) in SanitizerArgs()
438 AllAddedKinds |= expandSanitizerGroups(Add); in SanitizerArgs()
441 Add &= ~AllRemove; in SanitizerArgs()
443 // sanitizers in Add are those which have been explicitly enabled. in SanitizerArgs()
446 Add & InvalidTrappingKinds & ~DiagnosedKinds) { in SanitizerArgs()
454 Add in SanitizerArgs()
259 SanitizerMask Add = parseArgValues(D, Arg, true); parseSanitizeTrapArgs() local
354 SanitizerMask Add = parseArgValues(D, Arg, DiagnoseErrors); SanitizerArgs() local
637 SanitizerMask Add = parseArgValues(D, Arg, DiagnoseErrors); SanitizerArgs() local
[all...]
/llvm-project/llvm/examples/ModuleMaker/
H A DModuleMaker.cpp54 Instruction *Add = BinaryOperator::Create(Instruction::Add, Two, Three, in main() local
58 Add->insertInto(BB, BB->end()); in main()
61 ReturnInst::Create(Context, Add)->insertInto(BB, BB->end()); in main()
/llvm-project/llvm/unittests/CodeGen/
H A DSelectionDAGPatternMatchTest.cpp252 SDValue Add = DAG->getNode(ISD::ADD, DL, Int32VT, Op0, Op1); in TEST_F()
253 SDValue Sub = DAG->getNode(ISD::SUB, DL, Int32VT, Add, Op0); in TEST_F()
254 SDValue Mul = DAG->getNode(ISD::MUL, DL, Int32VT, Add, Sub); in TEST_F() local
297 EXPECT_TRUE(sd_match(Add, m_c_BinOp(ISD::ADD, m_Value(), m_Value()))); in TEST_F()
298 EXPECT_TRUE(sd_match(Add, m_Add(m_Value(), m_Value()))); in TEST_F()
299 EXPECT_TRUE(sd_match(Add, m_AddLike(m_Value(), m_Value()))); in TEST_F()
301 Mul, m_Mul(m_OneUse(m_Opc(ISD::SUB)), m_NUses<2>(m_Specific(Add))))); in TEST_F()
496 SDValue Add = DAG->getNode(ISD::ADD, DL, Int32VT, Op0, Op1);
497 SDValue Sub = DAG->getNode(ISD::SUB, DL, Int32VT, Add, Op0);
502 EXPECT_TRUE(sd_match(Add, m_AllO
131 SDValue Add = DAG->getNode(ISD::ADD, DL, Int32VT, Op0, Op1); TEST_F() local
303 SDValue Add = DAG->getNode(ISD::ADD, DL, Int32VT, Op0, Op1); TEST_F() local
361 SDValue Add = DAG->getNode(ISD::ADD, DL, Int64VT, Op0, Op0); TEST_F() local
[all...]
/llvm-project/flang/include/flang/Evaluate/
H A Dinitial-image.h40 Result Add(ConstantSubscript, std::size_t, const A &, FoldingContext &) { in Add() function
44 Result Add(ConstantSubscript offset, std::size_t bytes, const Constant<T> &x, in Add() function
64 Result Add(ConstantSubscript offset, std::size_t bytes, in Add() function
100 Result Add(ConstantSubscript, std::size_t, const Constant<SomeDerived> &,
103 Result Add(ConstantSubscript offset, std::size_t bytes, const Expr<T> &x, in Add() function
106 [&](const auto &y) { return Add(offset, bytes, y, c); }, x.u); in Add()
/llvm-project/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp345 if (I->getOpcode() == Instruction::Add || I->getOpcode() == Instruction::Or || in getIfConst()
352 if (I->getOpcode() == Instruction::Add) in getIfConst()
377 Instruction *Add = dyn_cast<Instruction>(Inst); in getVarAndConst()
378 if (Add == nullptr || in getVarAndConst() local
379 (Add->getOpcode() != Instruction::Add && !isAddLikeOr(Add, *DL))) in getVarAndConst()
385 if ((Const = getIfConst(Add->getOperand(0)))) in getVarAndConst()
386 Summand = Add->getOperand(1); in getVarAndConst()
387 else if ((Const = getIfConst(Add in getVarAndConst()
774 std::pair<Value *, int64_t> Add = getVarAndConst(Offsets, TypeScale); tryCreateIncrementingGatScat() local
824 std::pair<Value *, int64_t> Add = getVarAndConst(Offsets, TypeScale); tryCreateIncrementingWBGatScat() local
1179 Value *Add = Builder.CreateAdd(Builder.CreateMul(X, XScale), CheckAndCreateOffsetAdd() local
[all...]
/llvm-project/bolt/lib/Passes/
H A DFixRelaxationPass.cpp42 const MCInst &Add = *NextII; in runOnFunction() local
43 if (!BC.MIB->matchAdrpAddPair(Adrp, Add)) in runOnFunction()
46 const MCSymbol *Symbol = BC.MIB->getTargetSymbol(Add); in runOnFunction()
51 const int64_t Addend = BC.MIB->getTargetAddend(Add); in runOnFunction()
/llvm-project/llvm/docs/
H A DAddingConstrainedIntrinsics.rst2 How To Add A Constrained Floating-Point Intrinsic
11 Add the intrinsic
16 Add the new intrinsic to the table of intrinsics::
20 Add SelectionDAG node types
23 Add the new STRICT version of the node type to the ISD::NodeType enum::
34 Add new record to the mapping of instructions to constrained intrinsic and
96 Add documentation and tests

12345678910>>...44