Home
last modified time | relevance | path

Searched refs:Arg2 (Results 1 – 25 of 30) sorted by relevance

12

/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerTracePC.cpp384 uint64_t ArgXor = Arg1 ^ Arg2; in HandleCmp()
386 TORC4.Insert(ArgXor, Arg1, Arg2); in HandleCmp()
388 TORC8.Insert(ArgXor, Arg1, Arg2); in HandleCmp()
390 uint64_t AbsoluteDistance = (Arg1 == Arg2 ? 0 : Clzll(Arg1 - Arg2) + 1); in HandleCmp()
486 fuzzer::TPC.HandleCmp(PC, Arg1, Arg2); in __sanitizer_cov_trace_cmp8()
497 fuzzer::TPC.HandleCmp(PC, Arg1, Arg2); in __sanitizer_cov_trace_const_cmp8()
505 fuzzer::TPC.HandleCmp(PC, Arg1, Arg2); in __sanitizer_cov_trace_cmp4()
513 fuzzer::TPC.HandleCmp(PC, Arg1, Arg2); in __sanitizer_cov_trace_const_cmp4()
521 fuzzer::TPC.HandleCmp(PC, Arg1, Arg2); in __sanitizer_cov_trace_cmp2()
529 fuzzer::TPC.HandleCmp(PC, Arg1, Arg2); in __sanitizer_cov_trace_const_cmp2()
[all …]
H A DFuzzerMutate.cpp212 const void *Arg1, const void *Arg2, in MakeDictionaryEntryFromCMP() argument
221 ExistingBytes = HandleFirst ? Arg1 : Arg2; in MakeDictionaryEntryFromCMP()
245 T Arg1, T Arg2, const uint8_t *Data, size_t Size) { in MakeDictionaryEntryFromCMP() argument
247 if (Rand.RandBool()) Arg2 = Bswap(Arg2); in MakeDictionaryEntryFromCMP()
249 T Arg2Mutation = static_cast<T>(Arg2 + Rand(-1, 1)); in MakeDictionaryEntryFromCMP()
250 return MakeDictionaryEntryFromCMP(&Arg1, &Arg2, &Arg1Mutation, &Arg2Mutation, in MakeDictionaryEntryFromCMP()
255 const Word &Arg1, const Word &Arg2, const uint8_t *Data, size_t Size) { in MakeDictionaryEntryFromCMP() argument
256 return MakeDictionaryEntryFromCMP(Arg1.data(), Arg2.data(), Arg1.data(), in MakeDictionaryEntryFromCMP()
257 Arg2.data(), Arg1.size(), Data, Size); in MakeDictionaryEntryFromCMP()
H A DFuzzerMutate.h117 DictionaryEntry MakeDictionaryEntryFromCMP(T Arg1, T Arg2,
119 DictionaryEntry MakeDictionaryEntryFromCMP(const Word &Arg1, const Word &Arg2,
121 DictionaryEntry MakeDictionaryEntryFromCMP(const void *Arg1, const void *Arg2,
H A DFuzzerTracePC.h37 void Insert(size_t Idx, const T &Arg1, const T &Arg2) { in Insert()
40 Table[Idx].B = Arg2; in Insert()
75 template <class T> void HandleCmp(uintptr_t PC, T Arg1, T Arg2);
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/tests/unit/
H A Dsimple_packed_serialization_test.cpp164 int32_t Arg2 = 42; in TEST() local
167 size_t Size = BAL::size(Arg1, Arg2, Arg3); in TEST()
171 EXPECT_TRUE(BAL::serialize(OB, Arg1, Arg2, Arg3)); in TEST()
182 EXPECT_EQ(Arg2, ArgOut2); in TEST()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DValistChecker.cpp319 const MemRegion *Arg2 = in checkVAListStartCall() local
321 if (Arg2) { in checkVAListStartCall()
322 if (ChecksEnabled[CK_CopyToSelf] && VAList == Arg2) { in checkVAListStartCall()
328 } else if (!State->contains<InitializedVALists>(Arg2) && !Symbolic) { in checkVAListStartCall()
337 reportUninitializedAccess(Arg2, "Uninitialized va_list is copied", C); in checkVAListStartCall()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DArena.cpp150 auto *Arg2 = parse(A, In); in parse() local
151 if (!Arg2) in parse()
158 return &(A.*Op)(*Arg1, *Arg2); in parse()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DStripSymbols.cpp154 Value *Arg2 = CI->getArgOperand(1); in stripDebugDeclareImpl() local
163 if (Arg2->use_empty()) in stripDebugDeclareImpl()
164 if (Constant *C = dyn_cast<Constant>(Arg2)) in stripDebugDeclareImpl()
H A DArgumentPromotion.cpp189 std::optional<unsigned> Arg2; in doPromotion() local
191 Arg2 = NewArgIndices[*AllocSize->second]; in doPromotion()
192 assert(Arg2 != (unsigned)-1 && "allocsize cannot be promoted argument"); in doPromotion()
194 NF->addFnAttr(Attribute::getWithAllocSizeArgs(F->getContext(), Arg1, Arg2)); in doPromotion()
/freebsd/contrib/llvm-project/libcxx/include/
H A Dfunctional26 template <class Arg1, class Arg2, class Result>
30 typedef Arg2 second_argument_type;
290 template <class Arg1, class Arg2, class Result> // deprecated in C+…
291 class pointer_to_binary_function : public binary_function<Arg1, Arg2, Result>
294 explicit pointer_to_binary_function(Result (*f)(Arg1, Arg2));
295 Result operator()(Arg1 x, Arg2 y) const;
298 template <class Arg1, class Arg2, class Result>
299 pointer_to_binary_function<Arg1,Arg2,Result> ptr_fun(Result (*f)(Arg1,Arg2)); // deprecated in C+…
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTStructuralEquivalence.cpp105 const TemplateArgument &Arg2);
108 const TemplateArgumentLoc &Arg2);
650 const TemplateArgument &Arg2) { in IsStructurallyEquivalent() argument
651 if (Arg1.getKind() != Arg2.getKind()) in IsStructurallyEquivalent()
663 Arg2.getIntegralType())) in IsStructurallyEquivalent()
667 Arg2.getAsIntegral()); in IsStructurallyEquivalent()
677 Arg2.getAsTemplate()); in IsStructurallyEquivalent()
686 Arg2.getAsExpr()); in IsStructurallyEquivalent()
689 return Arg1.structurallyEquals(Arg2); in IsStructurallyEquivalent()
693 Arg2.pack_elements()); in IsStructurallyEquivalent()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallEvent.h1312 template <typename T, typename Arg1, typename Arg2>
1313 T *create(Arg1 A1, Arg2 A2, ProgramStateRef St, const LocationContext *LCtx, in create()
1320 template <typename T, typename Arg1, typename Arg2, typename Arg3>
1321 T *create(Arg1 A1, Arg2 A2, Arg3 A3, ProgramStateRef St, in create()
1328 template <typename T, typename Arg1, typename Arg2, typename Arg3,
1330 T *create(Arg1 A1, Arg2 A2, Arg3 A3, Arg4 A4, ProgramStateRef St, in create()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFCheckAndAdjustIR.cpp158 Value *Arg2 = Call->getArgOperand(2); in removeCompareBuiltin() local
163 auto *ICmp = new ICmpInst(Opcode, Arg1, Arg2); in removeCompareBuiltin()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLibCallsShrinkWrap.cpp84 float Val, Value *Arg2, CmpInst::Predicate Cmp2, in createOrCond() argument
87 auto Cond2 = createCond(BBBuilder, Arg2, Cmp2, Val2); in createOrCond()
H A DAMDGPUEmitPrintf.cpp61 Value *Arg0, Value *Arg1, Value *Arg2, Value *Arg3, in callAppendArgs() argument
72 return Builder.CreateCall(Fn, {Desc, NumArgsValue, Arg0, Arg1, Arg2, Arg3, in callAppendArgs()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DCompressInstEmitter.cpp297 static bool validateArgsTypes(Init *Arg1, Init *Arg2) { in validateArgsTypes() argument
298 return cast<DefInit>(Arg1)->getDef() == cast<DefInit>(Arg2)->getDef(); in validateArgsTypes()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVEmitIntrinsics.cpp61 Value *Arg, Value *Arg2, in buildIntrWithMD() argument
67 Args.push_back(Arg2); in buildIntrWithMD()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterpBuiltin.cpp329 const Floating &Arg2 = getParam<Floating>(Frame, 1); in interp__builtin_copysign() local
332 Copy.copySign(Arg2.getAPFloat()); in interp__builtin_copysign()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DDiagnostic.cpp147 StringRef Arg2, StringRef Arg3) { in SetDelayedDiagnostic() argument
153 DelayedDiagArg2 = Arg2.str(); in SetDelayedDiagnostic()
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DNeonEmitter.cpp1644 std::pair<Type, std::string> Arg2 = in emitDagShuffle() local
1646 assert_with_loc(Arg1.first == Arg2.first, in emitDagShuffle()
1659 std::string S = "__builtin_shufflevector(" + Arg1.second + ", " + Arg2.second; in emitDagShuffle()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp162 Value *Arg2, const Twine &Name = "") { in CreateCallEx2() argument
163 CallInst *R = B.CreateCall(Callee, {Arg1, Arg2}, Name); in CreateCallEx2()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DNewGVN.cpp1068 Value *Arg1, Value *Arg2, in createBinaryExpression() argument
1083 if (shouldSwapOperands(Arg1, Arg2)) in createBinaryExpression()
1084 std::swap(Arg1, Arg2); in createBinaryExpression()
1087 E->op_push_back(lookupOperandLeader(Arg2)); in createBinaryExpression()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnostic.h979 StringRef Arg2 = "", StringRef Arg3 = "");
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.cpp1845 auto *Arg2 = cast<TypedInit>(Args[2]); in ParseOperation() local
1846 assert(isa<IntRecTy>(Arg2->getType())); in ParseOperation()
1847 RHS = Arg2; in ParseOperation()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAutoUpgrade.cpp4477 Value *Arg2 = CI->getArgOperand(2); in UpgradeIntrinsicCall() local
4478 if (Arg2->getType()->isIntegerTy(32) && !CI->getType()->isIntegerTy(64)) in UpgradeIntrinsicCall()
4488 Arg2 = ConstantInt::get(Type::getInt32Ty(C), in UpgradeIntrinsicCall()
4489 cast<ConstantInt>(Arg2)->getZExtValue()); in UpgradeIntrinsicCall()
4491 NewCall = Builder.CreateCall(NewFn, {Arg0, Arg1, Arg2}); in UpgradeIntrinsicCall()

12