Home
last modified time | relevance | path

Searched refs:ToReplace (Results 1 – 15 of 15) sorted by relevance

/external/google-fruit/include/fruit/impl/meta/
Dvector.h173 template <typename ToReplace, typename NewElem, typename T>
178 template <typename ToReplace, typename NewElem>
179 struct apply<ToReplace, NewElem, ToReplace> {
185 template <typename V, typename ToReplace, typename NewElem>
187 using type = TransformVector(V, PartialCall(ReplaceInVectorHelper, ToReplace, NewElem));
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUPropagateAttributes.cpp200 SmallVector<std::pair<CallBase *, Function *>, 32> ToReplace; in process() local
243 ToReplace.push_back(std::make_pair(CI, NewF)); in process()
249 while (!ToReplace.empty()) { in process()
250 auto R = ToReplace.pop_back_val(); in process()
DAMDGPUAtomicOptimizer.cpp43 SmallVector<ReplacementInfo, 8> ToReplace; member in __anone529b93c0111::AMDGPUAtomicOptimizer
96 const bool Changed = !ToReplace.empty(); in runOnFunction()
98 for (ReplacementInfo &Info : ToReplace) { in runOnFunction()
102 ToReplace.clear(); in runOnFunction()
159 ToReplace.push_back(Info); in visitAtomicRMWInst()
241 ToReplace.push_back(Info); in visitIntrinsicInst()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUPropagateAttributes.cpp247 SmallVector<std::pair<CallBase *, Function *>, 32> ToReplace; in process() local
291 ToReplace.push_back(std::make_pair(CI, NewF)); in process()
297 while (!ToReplace.empty()) { in process()
298 auto R = ToReplace.pop_back_val(); in process()
DAMDGPUAtomicOptimizer.cpp43 SmallVector<ReplacementInfo, 8> ToReplace; member in __anon88edfa480111::AMDGPUAtomicOptimizer
96 const bool Changed = !ToReplace.empty(); in runOnFunction()
98 for (ReplacementInfo &Info : ToReplace) { in runOnFunction()
102 ToReplace.clear(); in runOnFunction()
159 ToReplace.push_back(Info); in visitAtomicRMWInst()
241 ToReplace.push_back(Info); in visitIntrinsicInst()
/external/llvm/lib/Transforms/Scalar/
DRewriteStatepointsForGC.cpp1345 CallInst *ToReplace = cast<CallInst>(CS.getInstruction()); in makeStatepointExplicitImpl() local
1350 Call->setTailCall(ToReplace->isTailCall()); in makeStatepointExplicitImpl()
1351 Call->setCallingConv(ToReplace->getCallingConv()); in makeStatepointExplicitImpl()
1355 AttributeSet NewAttrs = legalizeCallAttributes(ToReplace->getAttributes()); in makeStatepointExplicitImpl()
1365 assert(ToReplace->getNextNode() && "Not a terminator, must have next!"); in makeStatepointExplicitImpl()
1366 Builder.SetInsertPoint(ToReplace->getNextNode()); in makeStatepointExplicitImpl()
1367 Builder.SetCurrentDebugLocation(ToReplace->getNextNode()->getDebugLoc()); in makeStatepointExplicitImpl()
1369 InvokeInst *ToReplace = cast<InvokeInst>(CS.getInstruction()); in makeStatepointExplicitImpl() local
1375 StatepointID, NumPatchBytes, CallTarget, ToReplace->getNormalDest(), in makeStatepointExplicitImpl()
1376 ToReplace->getUnwindDest(), Flags, CallArgs, TransitionArgs, DeoptArgs, in makeStatepointExplicitImpl()
[all …]
/external/llvm-project/llvm/tools/llvm-objcopy/ELF/
DELFObjcopy.cpp326 SmallVector<SectionBase *, 13> ToReplace; in replaceDebugSections() local
329 ToReplace.push_back(&Sec); in replaceDebugSections()
333 for (SectionBase *S : ToReplace) { in replaceDebugSections()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp616 for (GCRelocateInst *ToReplace : Targets) { in simplifyRelocatesOffABase()
617 assert(ToReplace->getBasePtrIndex() == RelocatedBase->getBasePtrIndex() && in simplifyRelocatesOffABase()
619 if (ToReplace->getBasePtrIndex() == ToReplace->getDerivedPtrIndex()) { in simplifyRelocatesOffABase()
624 if (RelocatedBase->getParent() != ToReplace->getParent()) { in simplifyRelocatesOffABase()
632 Value *Base = ToReplace->getBasePtr(); in simplifyRelocatesOffABase()
633 auto Derived = dyn_cast<GetElementPtrInst>(ToReplace->getDerivedPtr()); in simplifyRelocatesOffABase()
647 Builder.SetCurrentDebugLocation(ToReplace->getDebugLoc()); in simplifyRelocatesOffABase()
677 Replacement->takeName(ToReplace); in simplifyRelocatesOffABase()
681 if (Replacement->getType() != ToReplace->getType()) { in simplifyRelocatesOffABase()
683 Builder.CreateBitCast(Replacement, ToReplace->getType()); in simplifyRelocatesOffABase()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp959 for (GCRelocateInst *ToReplace : Targets) { in simplifyRelocatesOffABase()
960 assert(ToReplace->getBasePtrIndex() == RelocatedBase->getBasePtrIndex() && in simplifyRelocatesOffABase()
962 if (ToReplace->getBasePtrIndex() == ToReplace->getDerivedPtrIndex()) { in simplifyRelocatesOffABase()
967 if (RelocatedBase->getParent() != ToReplace->getParent()) { in simplifyRelocatesOffABase()
975 Value *Base = ToReplace->getBasePtr(); in simplifyRelocatesOffABase()
976 auto Derived = dyn_cast<GetElementPtrInst>(ToReplace->getDerivedPtr()); in simplifyRelocatesOffABase()
990 Builder.SetCurrentDebugLocation(ToReplace->getDebugLoc()); in simplifyRelocatesOffABase()
1020 Replacement->takeName(ToReplace); in simplifyRelocatesOffABase()
1024 if (Replacement->getType() != ToReplace->getType()) { in simplifyRelocatesOffABase()
1026 Builder.CreateBitCast(Replacement, ToReplace->getType()); in simplifyRelocatesOffABase()
[all …]
/external/llvm-project/llvm/lib/CodeGen/
DCodeGenPrepare.cpp1046 for (GCRelocateInst *ToReplace : Targets) { in simplifyRelocatesOffABase()
1047 assert(ToReplace->getBasePtrIndex() == RelocatedBase->getBasePtrIndex() && in simplifyRelocatesOffABase()
1049 if (ToReplace->getBasePtrIndex() == ToReplace->getDerivedPtrIndex()) { in simplifyRelocatesOffABase()
1054 if (RelocatedBase->getParent() != ToReplace->getParent()) { in simplifyRelocatesOffABase()
1062 Value *Base = ToReplace->getBasePtr(); in simplifyRelocatesOffABase()
1063 auto *Derived = dyn_cast<GetElementPtrInst>(ToReplace->getDerivedPtr()); in simplifyRelocatesOffABase()
1077 Builder.SetCurrentDebugLocation(ToReplace->getDebugLoc()); in simplifyRelocatesOffABase()
1107 Replacement->takeName(ToReplace); in simplifyRelocatesOffABase()
1111 if (Replacement->getType() != ToReplace->getType()) { in simplifyRelocatesOffABase()
1113 Builder.CreateBitCast(Replacement, ToReplace->getType()); in simplifyRelocatesOffABase()
[all …]
/external/clang/utils/TableGen/
DNeonEmitter.cpp1746 std::string ToReplace = cast<StringInit>(DI->getArg(0))->getAsUnquotedString(); in emitDagNameReplace() local
1749 size_t Idx = S.find(ToReplace); in emitDagNameReplace()
1751 assert_with_loc(Idx != std::string::npos, "name should contain '" + ToReplace + "'!"); in emitDagNameReplace()
1752 S.replace(Idx, ToReplace.size(), ReplaceWith); in emitDagNameReplace()
/external/llvm-project/clang/utils/TableGen/
DNeonEmitter.cpp1759 std::string ToReplace = cast<StringInit>(DI->getArg(0))->getAsUnquotedString(); in emitDagNameReplace() local
1762 size_t Idx = S.find(ToReplace); in emitDagNameReplace()
1764 assert_with_loc(Idx != std::string::npos, "name should contain '" + ToReplace + "'!"); in emitDagNameReplace()
1765 S.replace(Idx, ToReplace.size(), ReplaceWith); in emitDagNameReplace()
/external/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp3500 SmallVector<SDNode *, 4> ToReplace; in SwapAllSelectUsers() local
3507 ToReplace.push_back(User); in SwapAllSelectUsers()
3510 for (SmallVector<SDNode *, 4>::iterator UI = ToReplace.begin(), in SwapAllSelectUsers()
3511 UE = ToReplace.end(); UI != UE; ++UI) { in SwapAllSelectUsers()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp5664 SmallVector<SDNode *, 4> ToReplace; in SwapAllSelectUsers() local
5671 ToReplace.push_back(User); in SwapAllSelectUsers()
5674 for (SmallVector<SDNode *, 4>::iterator UI = ToReplace.begin(), in SwapAllSelectUsers()
5675 UE = ToReplace.end(); UI != UE; ++UI) { in SwapAllSelectUsers()
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp5815 SmallVector<SDNode *, 4> ToReplace; in SwapAllSelectUsers() local
5822 ToReplace.push_back(User); in SwapAllSelectUsers()
5825 for (SmallVector<SDNode *, 4>::iterator UI = ToReplace.begin(), in SwapAllSelectUsers()
5826 UE = ToReplace.end(); UI != UE; ++UI) { in SwapAllSelectUsers()