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.cpp383 void TracePC::HandleCmp(uintptr_t PC, T Arg1, T Arg2) { in HandleCmp() argument
384 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()
484 void __sanitizer_cov_trace_cmp8(uint64_t Arg1, uint64_t Arg2) { in __sanitizer_cov_trace_cmp8() argument
486 fuzzer::TPC.HandleCmp(PC, Arg1, Arg2); in __sanitizer_cov_trace_cmp8()
495 void __sanitizer_cov_trace_const_cmp8(uint64_t Arg1, uint64_t Arg2) { in __sanitizer_cov_trace_const_cmp8() argument
497 fuzzer::TPC.HandleCmp(PC, Arg1, Arg2); in __sanitizer_cov_trace_const_cmp8()
503 void __sanitizer_cov_trace_cmp4(uint32_t Arg1, uint32_t Arg2) { in __sanitizer_cov_trace_cmp4() argument
[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()
167 size_t Size = BAL::size(Arg1, Arg2, Arg3);
171 EXPECT_TRUE(BAL::serialize(OB, Arg1, Arg2, Arg3)); in TEST()
182 EXPECT_EQ(Arg2, ArgOut2); in TEST()
177 int32_t Arg2 = 42; TEST() local
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenCL.cpp251 Expr *Arg2 = TheCall->getArg(2); in checkBuiltinEnqueueKernel() local
271 if (Arg2->getType().getUnqualifiedType().getAsString() != "ndrange_t") { in checkBuiltinEnqueueKernel()
461 const Expr *Arg2 = Call->getArg(2); in checkBuiltinRWPipe() local
462 if (!Arg2->getType()->isIntegerType() && in checkBuiltinRWPipe()
463 !Arg2->getType()->isUnsignedIntegerType()) { in checkBuiltinRWPipe()
466 << Arg2->getType() << Arg2->getSourceRange(); in checkBuiltinRWPipe()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DValistChecker.cpp318 const MemRegion *Arg2 = in checkVAListStartCall() local
320 if (Arg2) { in checkVAListStartCall()
321 if (ChecksEnabled[CK_CopyToSelf] && VAList == Arg2) { in checkVAListStartCall()
327 } else if (!State->contains<InitializedVALists>(Arg2) && !Symbolic) { in checkVAListStartCall()
336 reportUninitializedAccess(Arg2, "Uninitialized va_list is copied", C); in checkVAListStartCall()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DStripSymbols.cpp154 Value *Arg2 = CI->getArgOperand(1); in stripDebugDeclareImpl()
163 if (Arg2->use_empty()) in stripDebugDeclareImpl()
164 if (Constant *C = dyn_cast<Constant>(Arg2)) in stripDebugDeclareImpl()
148 Value *Arg2 = CI->getArgOperand(1); stripDebugDeclareImpl() local
H A DArgumentPromotion.cpp190 std::optional<unsigned> Arg2; in doPromotion() local
192 Arg2 = NewArgIndices[*AllocSize->second]; in doPromotion()
193 assert(Arg2 != (unsigned)-1 && "allocsize cannot be promoted argument"); in doPromotion()
195 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;
305 template <class Arg1, class Arg2, class Result> // deprecated in C+…
306 class pointer_to_binary_function : public binary_function<Arg1, Arg2, Result>
309 explicit pointer_to_binary_function(Result (*f)(Arg1, Arg2));
310 Result operator()(Arg1 x, Arg2 y) const;
313 template <class Arg1, class Arg2, class Result>
314 pointer_to_binary_function<Arg1,Arg2,Result> ptr_fun(Result (*f)(Arg1,Arg2)); // deprecated in C+…
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUMCExpr.cpp86 static int64_t op(AMDGPUMCExpr::VariantKind Kind, int64_t Arg1, int64_t Arg2) { in op() argument
91 return std::max(Arg1, Arg2); in op()
93 return Arg1 | Arg2; in op()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTStructuralEquivalence.cpp106 const TemplateArgument &Arg2);
109 const TemplateArgumentLoc &Arg2);
660 const TemplateArgument &Arg2) { in IsStructurallyEquivalent() argument
661 if (Arg1.getKind() != Arg2.getKind()) in IsStructurallyEquivalent()
669 return IsStructurallyEquivalent(Context, Arg1.getAsType(), Arg2.getAsType()); in IsStructurallyEquivalent()
673 Arg2.getIntegralType())) in IsStructurallyEquivalent()
677 Arg2.getAsIntegral()); in IsStructurallyEquivalent()
680 return IsStructurallyEquivalent(Context, Arg1.getAsDecl(), Arg2.getAsDecl()); in IsStructurallyEquivalent()
687 Arg2.getAsTemplate()); in IsStructurallyEquivalent()
692 Arg2.getAsTemplateOrTemplatePattern()); in IsStructurallyEquivalent()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallEvent.h1384 template <typename T, typename Arg1, typename Arg2>
1385 T *create(Arg1 A1, Arg2 A2, ProgramStateRef St, const LocationContext *LCtx, in create()
1392 template <typename T, typename Arg1, typename Arg2, typename Arg3>
1393 T *create(Arg1 A1, Arg2 A2, Arg3 A3, ProgramStateRef St, in create()
1400 template <typename T, typename Arg1, typename Arg2, typename Arg3,
1402 T *create(Arg1 A1, Arg2 A2, Arg3 A3, Arg4 A4, ProgramStateRef St, in create()
/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.cpp62 Value *Arg0, Value *Arg1, Value *Arg2, Value *Arg3, in callAppendArgs() argument
73 return Builder.CreateCall(Fn, {Desc, NumArgsValue, Arg0, Arg1, Arg2, Arg3, in callAppendArgs()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFCheckAndAdjustIR.cpp161 Value *Arg2 = Call->getArgOperand(2); in removeCompareBuiltin() local
166 auto *ICmp = new ICmpInst(Opcode, Arg1, Arg2); in removeCompareBuiltin()
/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/clang/lib/AST/Interp/
H A DInterpBuiltin.cpp314 const Floating &Arg2 = getParam<Floating>(Frame, 1); in interp__builtin_copysign() local
317 Copy.copySign(Arg2.getAPFloat()); in interp__builtin_copysign()
968 const Floating &Arg2 = S.Stk.peek<Floating>(); in interp__builtin_complex() local
975 Result.atIndex(1).deref<Floating>() = Arg2; in interp__builtin_complex()
/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.cpp1637 std::pair<Type, std::string> Arg2 = in emitDagShuffle() local
1639 assert_with_loc(Arg1.first == Arg2.first, in emitDagShuffle()
1652 std::string S = "__builtin_shufflevector(" + Arg1.second + ", " + Arg2.second; in emitDagShuffle()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp163 Value *Arg2, const Twine &Name = "") { in CreateCallEx2() argument
164 CallInst *R = B.CreateCall(Callee, {Arg1, Arg2}, Name); in CreateCallEx2()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DNewGVN.cpp1072 Value *Arg1, Value *Arg2, in createBinaryExpression() argument
1087 if (shouldSwapOperands(Arg1, Arg2)) in createBinaryExpression()
1088 std::swap(Arg1, Arg2); in createBinaryExpression()
1091 E->op_push_back(lookupOperandLeader(Arg2)); in createBinaryExpression()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVEmitIntrinsics.cpp113 Value *Arg, Value *Arg2, ArrayRef<Constant *> Imms, in buildIntrWithMD() argument
116 Args.push_back(Arg2); in buildIntrWithMD()
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.cpp1851 auto *Arg2 = cast<TypedInit>(Args[2]); in ParseOperation() local
1852 assert(isa<IntRecTy>(Arg2->getType())); in ParseOperation()
1853 RHS = Arg2; in ParseOperation()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAutoUpgrade.cpp4569 Value *Arg2 = CI->getArgOperand(2); in UpgradeIntrinsicCall() local
4570 if (Arg2->getType()->isIntegerTy(32) && !CI->getType()->isIntegerTy(64)) in UpgradeIntrinsicCall()
4580 Arg2 = ConstantInt::get(Type::getInt32Ty(C), in UpgradeIntrinsicCall()
4581 cast<ConstantInt>(Arg2)->getZExtValue()); in UpgradeIntrinsicCall()
4583 NewCall = Builder.CreateCall(NewFn, {Arg0, Arg1, Arg2}); in UpgradeIntrinsicCall()

12