| /llvm-project-15.0.7/clang/unittests/Analysis/ |
| H A D | CloneDetectionTest.cpp | 79 for (auto &Clone : CloneGroups.front()) { in TEST() local 80 const auto ND = dyn_cast<const FunctionDecl>(Clone.getContainingDecl()); in TEST() 98 for (auto &Clone : CloneGroups.front()) { in TEST() local 99 const auto ND = dyn_cast<const FunctionDecl>(Clone.getContainingDecl()); in TEST()
|
| /llvm-project-15.0.7/llvm/tools/llvm-c-test/ |
| H A D | echo.cpp | 67 LLVMTypeRef Clone(LLVMValueRef Src) { in Clone() function 68 return Clone(LLVMTypeOf(Src)); in Clone() 71 LLVMTypeRef Clone(LLVMTypeRef Src) { in Clone() function 102 Params[i] = Clone(Params[i]); in Clone() 137 Clone(LLVMGetElementType(Src)), in Clone() 148 Clone(LLVMGetElementType(Src)), in Clone() 309 LLVMTypeRef Ty = TypeCloner(M).Clone(Cst); in clone_constant_impl() 320 LLVMTypeRef Ty = TypeCloner(M).Clone(Cst); in clone_constant_impl() 334 LLVMTypeRef Ty = TypeCloner(M).Clone(Cst); in clone_constant_impl() 420 return TypeCloner(M).Clone(Src); in CloneType() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyDebugValueManager.cpp | 57 MachineInstr *Clone = MF->CloneMachineInstr(DBI); in clone() local 58 for (auto &MO : Clone->getDebugOperandsForReg(CurrentReg)) in clone() 60 MBB->insert(Insert, Clone); in clone()
|
| H A D | WebAssemblyMachineFunctionInfo.cpp | 31 WebAssemblyFunctionInfo *Clone = in clone() local 33 Clone->MF = &DestMF; in clone() 34 return Clone; in clone()
|
| H A D | WebAssemblyRegStackify.cpp | 574 MachineInstr *Clone = &*std::prev(Insert); in rematerializeCheapDef() local 575 LIS.InsertMachineInstrInMaps(*Clone); in rematerializeCheapDef() 578 imposeStackOrdering(Clone); in rematerializeCheapDef() 580 LLVM_DEBUG(dbgs() << " - Cloned to "; Clone->dump()); in rematerializeCheapDef() 606 return Clone; in rematerializeCheapDef()
|
| /llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/ |
| H A D | Delta.cpp | 152 std::unique_ptr<ReducerWorkItem> Clone, TestRunner &Test, in CheckChunk() argument 171 ExtractChunksFromModule(O, *Clone); in CheckChunk() 174 if (verifyReducerWorkItem(*Clone, &errs())) { in CheckChunk() 190 if (!isReduced(*Clone, Test, CurrentFilepath)) { in CheckChunk() 195 return Clone; in CheckChunk() 257 std::unique_ptr<ReducerWorkItem> Clone = in runDeltaPass() local 259 ExtractChunksFromModule(NoChunksCounter, *Clone); in runDeltaPass()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | FunctionSpecialization.cpp | 413 Function *Clone = CloneFunction(F, Mappings); in cloneCandidateFunction() local 414 removeSSACopy(*Clone); in cloneCandidateFunction() 415 return Clone; in cloneCandidateFunction() 520 Function *Clone = cloneCandidateFunction(F, Mappings); in specializeFunction() local 523 rewriteCallSites(Clone, S.Args, Mappings); in specializeFunction() 528 Solver.markArgInFuncSpecialization(Clone, S.Args); in specializeFunction() 531 WorkList.push_back(Clone); in specializeFunction() 763 void rewriteCallSites(Function *Clone, const SmallVectorImpl<ArgInfo> &Args, in rewriteCallSites() argument 779 << F->getName() << " with " << Clone->getName() << "\n"); in rewriteCallSites() 786 (CS->getFunction() == Clone && in rewriteCallSites() [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/Language/CPlusPlus/ |
| H A D | LibStdcppUniquePointer.cpp | 100 m_ptr_obj = ptr_obj->Clone(ConstString("pointer")).get(); in Update() 111 m_del_obj = del_obj->Clone(ConstString("deleter")).get(); in Update() 118 m_obj_obj = obj_obj->Clone(ConstString("object")).get(); in Update()
|
| H A D | LibCxxTuple.cpp | 80 elem_sp->Clone(ConstString(llvm::formatv("[{0}]", idx).str())).get(); in GetChildAtIndex()
|
| H A D | LibStdcppTuple.cpp | 80 m_members.push_back(value_sp->Clone(ConstString(name.GetString())).get()); in Update()
|
| H A D | LibCxxAtomic.cpp | 136 return m_real_child->GetSP()->Clone(ConstString("Value")); in GetChildAtIndex()
|
| H A D | GenericOptional.cpp | 121 return val_sp->Clone(ConstString("Value")); in GetChildAtIndex()
|
| /llvm-project-15.0.7/flang/lib/Evaluate/ |
| H A D | shape.cpp | 91 values.Push(common::Clone(*dim)); in AsExtentArrayExpr() 170 ExtentExpr strideCopy{common::Clone(stride)}; in ComputeTripCount() 187 common::Clone(lower), common::Clone(upper), common::Clone(stride)); in CountTrips() 334 component.GetLastSymbol(), NamedEntity{common::Clone(component)}); in operator ()() 421 Ordering::Greater, ExtentExpr{0}, common::Clone(*ubound)}}; in GetNonNegativeExtent() 425 common::Clone(*ubound) - common::Clone(*lbound) + ExtentExpr{1}}}; in GetNonNegativeExtent() 864 common::Clone(call.arguments().at(1))}; in operator ()() 874 ActualArguments toCount{ActualArgument{common::Clone( in operator ()() 911 ConvertToType<ExtentType>(common::Clone(*nCopies))); in operator ()() 957 common::Clone(*moldElementBytes) - ExtentExpr{1}) / in operator ()() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPropagateAttributes.cpp | 98 class Clone { class in __anon1cb84a0b0111::AMDGPUPropagateAttributes 100 Clone(const FnProperties &Props, Function *OrigF, Function *NewF) : in Clone() function in __anon1cb84a0b0111::AMDGPUPropagateAttributes::Clone 117 SmallVector<Clone, 32> Clones; 203 for (Clone &C : Clones) in findFunction() 284 Clones.push_back(Clone(CallerProps, &F, NewF)); in process()
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | InstructionsTest.cpp | 738 EXPECT_TRUE(Clone->onlyReadsMemory()); in TEST() 759 EXPECT_EQ(Call->arg_size(), Clone->arg_size()); in TEST() 763 EXPECT_TRUE(Clone->hasFnAttr(Attribute::AttrKind::Cold)); in TEST() 764 EXPECT_EQ(Call->getDebugLoc(), Clone->getDebugLoc()); in TEST() 765 EXPECT_EQ(Clone->getNumOperandBundles(), 1U); in TEST() 766 EXPECT_TRUE(Clone->getOperandBundle("after")); in TEST() 788 std::unique_ptr<InvokeInst> Clone( in TEST() local 792 EXPECT_EQ(Invoke->arg_size(), Clone->arg_size()); in TEST() 796 EXPECT_EQ(Invoke->getDebugLoc(), Clone->getDebugLoc()); in TEST() 797 EXPECT_EQ(Clone->getNumOperandBundles(), 1U); in TEST() [all …]
|
| /llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/internal/ |
| H A D | gtest-param-util.h | 109 virtual ParamIteratorInterface* Clone() const = 0; 132 ParamIterator(const ParamIterator& other) : impl_(other.impl_->Clone()) {} in ParamIterator() 135 impl_.reset(other.impl_->Clone()); 148 ParamIteratorInterface<T>* clone = impl_->Clone(); 238 ParamIteratorInterface<T>* Clone() const override { in Clone() function 325 ParamIteratorInterface<T>* Clone() const override { in Clone() function 801 ParamIteratorInterface<ParamType>* Clone() const override { in Clone() function
|
| /llvm-project-15.0.7/lldb/source/Interpreter/ |
| H A D | OptionValueFileSpecList.cpp | 163 OptionValueSP OptionValueFileSpecList::Clone() const { in Clone() function in OptionValueFileSpecList 165 return Cloneable::Clone(); in Clone()
|
| /llvm-project-15.0.7/lldb/include/lldb/Utility/ |
| H A D | Cloneable.h | 44 std::shared_ptr<typename Base::TopmostBase> Clone() const override { in Clone() function
|
| /llvm-project-15.0.7/lldb/include/lldb/Interpreter/ |
| H A D | OptionValueFileSpecList.h | 66 lldb::OptionValueSP Clone() const override;
|
| /llvm-project-15.0.7/llvm/tools/bugpoint/ |
| H A D | ExtractFunction.cpp | 87 std::unique_ptr<Module> Clone = CloneModule(*Program); in deleteInstructionFromProgram() local 92 Module::iterator RFI = Clone->begin(); // Get iterator to corresponding fn in deleteInstructionFromProgram() 120 std::unique_ptr<Module> New = runPassesOn(Clone.get(), Passes); in deleteInstructionFromProgram()
|
| /llvm-project-15.0.7/flang/lib/Semantics/ |
| H A D | pointer-assignment.cpp | 337 (common::Clone(bound.second) - common::Clone(bound.first) + in CheckPointerBounds() 414 .set_lhsType(common::Clone(lhs.type)) in CheckPointerAssignment()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanTransforms.cpp | 158 auto *Clone = in sinkScalarOperands() local 162 Clone->insertBefore(SinkCandidate); in sinkScalarOperands() 172 UI->setOperand(Idx, Clone); in sinkScalarOperands()
|
| /llvm-project-15.0.7/llvm/lib/DWARFLinker/ |
| H A D | DWARFLinker.cpp | 936 if (!RefInfo.Clone) { in cloneDieReferenceAttribute() 940 RefInfo.Clone = DIE::get(DIEAlloc, dwarf::Tag(RefDie.getTag())); in cloneDieReferenceAttribute() 942 NewRefDie = RefInfo.Clone; in cloneDieReferenceAttribute() 1016 if (DIE *Clone = Info.Clone) in cloneExpression() local 1017 Offset = Clone->getOffset(); in cloneExpression() 1388 if (!Info.Clone) in cloneDIE() 1389 Info.Clone = DIE::get(DIEAlloc, dwarf::Tag(InputDIE.getTag())); in cloneDIE() 1390 Die = Info.Clone; in cloneDIE() 1557 if (DIE *Clone = cloneDIE(Child, File, Unit, StringPool, PCOffset, in cloneDIE() local 1559 Die->addChild(Clone); in cloneDIE() [all …]
|
| /llvm-project-15.0.7/flang/include/flang/Lower/Support/ |
| H A D | Utils.h | 58 return Fortran::evaluate::AsGenericExpr(Fortran::common::Clone(x)); in toEvExpr()
|
| /llvm-project-15.0.7/clang/tools/clang-format-vs/ClangFormat/ |
| H A D | ClangFormatPackage.cs | 44 public OptionPageGrid Clone() in Clone() method in LLVM.ClangFormat.OptionPageGrid 279 var optionsWithNoFallbackStyle = GetUserOptions().Clone(); in OnBeforeSave()
|