Home
last modified time | relevance | path

Searched refs:Replacement (Results 1 – 25 of 68) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DR600OpenCLImageTypeLoweringPass.cpp179 Value *Replacement = nullptr; in replaceImageUses() local
182 Replacement = ConstantInt::get(Int32Type, ResourceID); in replaceImageUses()
184 Replacement = &ImageSizeArg; in replaceImageUses()
186 Replacement = &ImageFormatArg; in replaceImageUses()
191 Inst->replaceAllUsesWith(Replacement); in replaceImageUses()
212 Value *Replacement = nullptr; in replaceSamplerUses() local
215 Replacement = ConstantInt::get(Int32Type, ResourceID); in replaceSamplerUses()
220 Inst->replaceAllUsesWith(Replacement); in replaceSamplerUses()
DAMDGPURewriteOutArguments.cpp385 for (std::pair<ReturnInst *, ReplacementVec> &Replacement : Replacements) { in runOnFunction()
386 ReturnInst *RI = Replacement.first; in runOnFunction()
397 for (std::pair<Argument *, Value *> ReturnPoint : Replacement.second) { in runOnFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/ObjCARC/
DObjCARCContract.cpp650 Instruction *Replacement = Inst; in runOnFunction() local
656 if (Replacement->getType() != UseTy) { in runOnFunction()
667 Replacement = in runOnFunction()
668 new BitCastInst(Replacement, UseTy, "", &InsertBB->back()); in runOnFunction()
681 PHI->setIncomingValue(i, Replacement); in runOnFunction()
684 if (Replacement->getType() != UseTy) in runOnFunction()
685 Replacement = new BitCastInst(Replacement, UseTy, "", in runOnFunction()
687 U.set(Replacement); in runOnFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DInterleavedAccessPass.cpp406 for (auto &Replacement : ReplacementMap) { in tryReplaceExtracts() local
407 auto *Extract = Replacement.first; in tryReplaceExtracts()
408 auto *Vector = Replacement.second.first; in tryReplaceExtracts()
409 auto Index = Replacement.second.second; in tryReplaceExtracts()
DSafeStack.cpp611 Value *Replacement = IRBUser.CreateBitCast(Off, AI->getType(), Name); in moveStaticAllocasToUnsafeStack() local
616 PHI->setIncomingValueForBlock(PHI->getIncomingBlock(U), Replacement); in moveStaticAllocasToUnsafeStack()
618 U.set(Replacement); in moveStaticAllocasToUnsafeStack()
/third_party/grpc/test/core/client_channel/
Dretry_throttle_test.cc68 TEST(ServerRetryThrottleData, Replacement) { in TEST() argument
99 TEST(ServerRetryThrottleMap, Replacement) { in TEST() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DFunctionImportUtils.cpp310 auto Replacement = RenamedComdats.find(C); in processGlobalsForThinLTO() local
311 if (Replacement != RenamedComdats.end()) in processGlobalsForThinLTO()
312 GO.setComdat(Replacement->second); in processGlobalsForThinLTO()
DBypassSlowDivision.cpp463 if (Value *Replacement = Task.getReplacement(PerBBDivCache)) { in bypassSlowDivision() local
464 I->replaceAllUsesWith(Replacement); in bypassSlowDivision()
/third_party/skia/third_party/externals/tint/src/
Dclone_context_test.cc66 struct Replacement : public Castable<Replacement, Replaceable> { struct
67 Replacement(Allocator* alloc, Symbol n) : Base(alloc, n) {} in Replacement() function
192 auto* out = alloc.Create<Replacement>(out_name); in TEST_F()
247 EXPECT_FALSE(Is<Replacement>(cloned_root->a)); in TEST_F()
248 EXPECT_TRUE(Is<Replacement>(cloned_root->a->b)); in TEST_F()
249 EXPECT_FALSE(Is<Replacement>(cloned_root->a->b->b)); in TEST_F()
250 EXPECT_TRUE(Is<Replacement>(cloned_root->b)); in TEST_F()
251 EXPECT_FALSE(Is<Replacement>(cloned_root->b->b)); in TEST_F()
306 return a.Create<Replacement>(builder.Symbols().New("<unexpected-node>")); in TEST_F()
886 TINT_INSTANTIATE_TYPEINFO(Replacement);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/
DRandomIRBuilder.cpp71 const Value *Replacement) { in isCompatibleReplacement() argument
72 if (Operand->getType() != Replacement->getType()) in isCompatibleReplacement()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroInternal.h48 void replaceAllCoroAllocs(CoroBeginInst *CB, bool Replacement);
49 void replaceAllCoroFrees(CoroBeginInst *CB, Value *Replacement);
DCoroEarly.cpp79 Value *Replacement = in lowerCoroPromise() local
82 Intrin->replaceAllUsesWith(Replacement); in lowerCoroPromise()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDIBuilder.h878 NodeTy *replaceTemporary(TempMDNode &&N, NodeTy *Replacement) { in replaceTemporary() argument
879 if (N.get() == Replacement) in replaceTemporary()
882 N->replaceAllUsesWith(Replacement); in replaceTemporary()
883 return Replacement; in replaceTemporary()
DConstant.h200 static Constant *replaceUndefsWith(Constant *C, Constant *Replacement);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DSourceMgr.h208 SMFixIt(SMRange R, const Twine &Replacement) in SMFixIt() argument
209 : Range(R), Text(Replacement.str()) { in SMFixIt()
/third_party/boost/boost/uuid/detail/
Drandom_provider_arc4random.ipp8 // "A Replacement Call for Random"
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DSourceMgr.h242 SMFixIt(SMRange R, const Twine &Replacement) in SMFixIt() argument
243 : Range(R), Text(Replacement.str()) { in SMFixIt()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp1464 Value *Replacement; in RewriteLoopBodyWithConditionConstant() local
1466 Replacement = Val; in RewriteLoopBodyWithConditionConstant()
1468 Replacement = ConstantInt::get(Type::getInt1Ty(Val->getContext()), in RewriteLoopBodyWithConditionConstant()
1479 UI->replaceUsesOfWith(LIC, Replacement); in RewriteLoopBodyWithConditionConstant()
1495 if (Value *Replacement = SimplifyInstructionWithNotEqual(UI, LIC, Val)) { in RewriteLoopBodyWithConditionConstant() local
1496 if (LI->replacementPreservesLCSSAForm(UI, Replacement)) { in RewriteLoopBodyWithConditionConstant()
1505 UI->replaceAllUsesWith(Replacement); in RewriteLoopBodyWithConditionConstant()
/third_party/typescript/scripts/
Dword2md.ts26 replacement: Replacement;
44 export interface Replacement { interface
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dstr_replace_benchmark.cc29 struct Replacement { struct
/third_party/abseil-cpp/absl/strings/
Dstr_replace_benchmark.cc29 struct Replacement { struct
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DThinLTOBitcodeWriter.cpp76 auto Replacement = RenamedComdats.find(C); in promoteInternals() local
77 if (Replacement != RenamedComdats.end()) in promoteInternals()
78 GO.setComdat(Replacement->second); in promoteInternals()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DBasicBlock.cpp72 Constant *Replacement = in ~BasicBlock() local
76 BA->replaceAllUsesWith(ConstantExpr::getIntToPtr(Replacement, in ~BasicBlock()
DConstants.cpp627 Constant *Constant::replaceUndefsWith(Constant *C, Constant *Replacement) { in replaceUndefsWith() argument
628 assert(C && Replacement && "Expected non-nullptr constant arguments"); in replaceUndefsWith()
631 assert(Ty == Replacement->getType() && "Expected matching types"); in replaceUndefsWith()
632 return Replacement; in replaceUndefsWith()
643 assert((!EltC || EltC->getType() == Replacement->getType()) && in replaceUndefsWith()
645 NewC[i] = EltC && match(EltC, m_Undef()) ? Replacement : EltC; in replaceUndefsWith()
2898 Value *Replacement = nullptr; in handleOperandChange() local
2904 Replacement = cast<Name>(this)->handleOperandChangeImpl(From, To); \ in handleOperandChange()
2911 if (!Replacement) in handleOperandChange()
2915 assert(Replacement != this && "I didn't contain From!"); in handleOperandChange()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DInstrProfReader.cpp663 StringRef Replacement, in reconstituteName() argument
665 Out.reserve(OrigName.size() + Replacement.size() - ExtractedName.size()); in reconstituteName()
667 Out.insert(Out.end(), Replacement.begin(), Replacement.end()); in reconstituteName()

123