/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerTracePC.cpp | 383 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 D | FuzzerMutate.cpp | 212 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 D | FuzzerMutate.h | 117 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 D | FuzzerTracePC.h | 37 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 D | simple_packed_serialization_test.cpp | 164 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 D | SemaOpenCL.cpp | 251 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 D | ValistChecker.cpp | 318 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 D | StripSymbols.cpp | 154 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 D | ArgumentPromotion.cpp | 190 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 D | functional | 26 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 D | AMDGPUMCExpr.cpp | 86 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 D | ASTStructuralEquivalence.cpp | 106 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 D | CallEvent.h | 1384 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 D | LibCallsShrinkWrap.cpp | 84 float Val, Value *Arg2, CmpInst::Predicate Cmp2, in createOrCond() argument 87 auto Cond2 = createCond(BBBuilder, Arg2, Cmp2, Val2); in createOrCond()
|
H A D | AMDGPUEmitPrintf.cpp | 62 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 D | BPFCheckAndAdjustIR.cpp | 161 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 D | CompressInstEmitter.cpp | 297 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 D | InterpBuiltin.cpp | 314 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 D | Diagnostic.cpp | 147 StringRef Arg2, StringRef Arg3) { in SetDelayedDiagnostic() argument 153 DelayedDiagArg2 = Arg2.str(); in SetDelayedDiagnostic()
|
/freebsd/contrib/llvm-project/clang/utils/TableGen/ |
H A D | NeonEmitter.cpp | 1637 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 D | AMDGPULibCalls.cpp | 163 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 D | NewGVN.cpp | 1072 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 D | SPIRVEmitIntrinsics.cpp | 113 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 D | TGParser.cpp | 1851 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 D | AutoUpgrade.cpp | 4569 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()
|