Home
last modified time | relevance | path

Searched refs:InsertionPoint (Results 1 – 25 of 54) sorted by relevance

123

/external/llvm-project/mlir/test/Bindings/Python/
Dcontext_managers.py65 ip = InsertionPoint.at_block_terminator(m.body)
68 assert InsertionPoint.current is ip
71 assert InsertionPoint.current is ip
81 assert InsertionPoint.current is ip
87 _ = InsertionPoint.current
93 _ = InsertionPoint.current
Dinsertion_point.py26 ip = InsertionPoint(entry_block)
47 ip = InsertionPoint(entry_block.operations[1])
68 ip = InsertionPoint.at_block_begin(entry_block)
97 ip = InsertionPoint.at_block_terminator(entry_block)
118 ip = InsertionPoint.at_block_terminator(entry_block)
139 with InsertionPoint(entry_block):
141 with InsertionPoint.at_block_begin(entry_block):
Dir_operation.py254 ip = InsertionPoint.at_block_begin(entry_block)
287 ip = InsertionPoint(block)
304 ip = InsertionPoint.at_block_begin(entry_block)
Ddialects.py80 with InsertionPoint.at_block_terminator(m.body):
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIModeRegister.cpp230 MachineInstr *InsertionPoint = nullptr; in processBlockPhase1() local
258 if (InsertionPoint) { in processBlockPhase1()
259 insertSetreg(MBB, InsertionPoint, TII, IPChange.delta(NewInfo->Change)); in processBlockPhase1()
260 InsertionPoint = nullptr; in processBlockPhase1()
279 if (InsertionPoint) { in processBlockPhase1()
288 NewInfo->FirstInsertionPoint = InsertionPoint; in processBlockPhase1()
292 insertSetreg(MBB, InsertionPoint, TII, in processBlockPhase1()
297 InsertionPoint = &MI; in processBlockPhase1()
303 InsertionPoint = &MI; in processBlockPhase1()
312 NewInfo->FirstInsertionPoint = InsertionPoint; in processBlockPhase1()
[all …]
/external/llvm-project/llvm/lib/Target/AMDGPU/
DSIModeRegister.cpp235 MachineInstr *InsertionPoint = nullptr; in processBlockPhase1() local
265 if (InsertionPoint) { in processBlockPhase1()
266 insertSetreg(MBB, InsertionPoint, TII, IPChange.delta(NewInfo->Change)); in processBlockPhase1()
267 InsertionPoint = nullptr; in processBlockPhase1()
287 if (InsertionPoint) { in processBlockPhase1()
296 NewInfo->FirstInsertionPoint = InsertionPoint; in processBlockPhase1()
300 insertSetreg(MBB, InsertionPoint, TII, in processBlockPhase1()
305 InsertionPoint = &MI; in processBlockPhase1()
311 InsertionPoint = &MI; in processBlockPhase1()
320 NewInfo->FirstInsertionPoint = InsertionPoint; in processBlockPhase1()
[all …]
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
DAddUsing.cpp342 auto InsertionPoint = in apply() local
344 if (!InsertionPoint) { in apply()
345 return InsertionPoint.takeError(); in apply()
348 if (InsertionPoint->Loc.isValid()) { in apply()
353 if (InsertionPoint->AlwaysFullyQualify && in apply()
357 << InsertionPoint->Suffix; in apply()
359 assert(SM.getFileID(InsertionPoint->Loc) == SM.getMainFileID()); in apply()
360 if (auto Err = R.add(tooling::Replacement(SM, InsertionPoint->Loc, 0, in apply()
DDefineOutline.cpp276 struct InsertionPoint { struct
285 llvm::Expected<InsertionPoint> getInsertionPoint(llvm::StringRef Contents, in getInsertionPoint()
298 return InsertionPoint{Region.EnclosingNamespace, *Offset}; in getInsertionPoint()
419 auto InsertionPoint = getInsertionPoint( in apply() local
421 if (!InsertionPoint) in apply()
422 return InsertionPoint.takeError(); in apply()
425 Source, InsertionPoint->EnclosingNamespace, Sel.AST->getTokens()); in apply()
431 *CCFile, InsertionPoint->Offset, 0, *FuncDef); in apply()
DExtractVariable.cpp57 const clang::Stmt *InsertionPoint = nullptr; member in clang::clangd::__anon7cb06a760111::ExtractionContext
92 InsertionPoint = computeInsertionPoint(); in ExtractionContext()
93 if (InsertionPoint) in ExtractionContext()
122 [](const SelectionTree::Node *InsertionPoint) -> bool { in computeInsertionPoint() argument
123 if (const clang::Stmt *Stmt = InsertionPoint->ASTNode.get<clang::Stmt>()) { in computeInsertionPoint()
138 if (InsertionPoint->ASTNode.get<VarDecl>()) in computeInsertionPoint()
176 InsertionPoint->getSourceRange()) in insertDeclaration()
/external/golang-protobuf/protoc-gen-go/plugin/
Dplugin.pb.golden52InsertionPoint *string `protobuf:"bytes,2,opt,name=insertion_point" json:"insertion_point,omitem…
69 if this != nil && this.InsertionPoint != nil {
70 return *this.InsertionPoint
Dplugin.pb.go280InsertionPoint *string `protobuf:"bytes,2,opt,name=insertion_point,json=insertionPoint" json:"inse… member
318 if m != nil && m.InsertionPoint != nil {
319 return *m.InsertionPoint
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64PromoteConstant.cpp450 Instruction *InsertionPoint = findInsertionPoint(*User, OpNo); in computeInsertionPoint() local
453 LLVM_DEBUG(InsertionPoint->print(dbgs())); in computeInsertionPoint()
456 if (isDominated(InsertionPoint, User, OpNo, InsertPts)) in computeInsertionPoint()
460 if (tryAndMerge(InsertionPoint, User, OpNo, InsertPts)) in computeInsertionPoint()
466 InsertPts[InsertionPoint].emplace_back(User, OpNo); in computeInsertionPoint()
/external/llvm/lib/Target/AArch64/
DAArch64PromoteConstant.cpp443 Instruction *InsertionPoint = findInsertionPoint(*User, OpNo); in computeInsertionPoint() local
446 DEBUG(InsertionPoint->print(dbgs())); in computeInsertionPoint()
449 if (isDominated(InsertionPoint, User, OpNo, InsertPts)) in computeInsertionPoint()
453 if (tryAndMerge(InsertionPoint, User, OpNo, InsertPts)) in computeInsertionPoint()
459 InsertPts[InsertionPoint].emplace_back(User, OpNo); in computeInsertionPoint()
DAArch64LoadStoreOptimizer.cpp650 MachineBasicBlock::iterator InsertionPoint = MergeForward ? MergeMI : I; in mergeNarrowInsns() local
685 BuildMI(*MBB, InsertionPoint, DL, TII->get(getMatchingWideOpcode(Opc))) in mergeNarrowInsns()
710 BuildMI(*MBB, InsertionPoint, DL, TII->get(getBitExtrOpcode(*Rt2MI))) in mergeNarrowInsns()
718 BitExtMI2 = BuildMI(*MBB, InsertionPoint, DL, TII->get(AArch64::ANDWri)) in mergeNarrowInsns()
724 BuildMI(*MBB, InsertionPoint, DL, TII->get(getBitExtrOpcode(*RtMI))) in mergeNarrowInsns()
734 BitExtMI1 = BuildMI(*MBB, InsertionPoint, DL, TII->get(AArch64::ANDWri)) in mergeNarrowInsns()
740 BuildMI(*MBB, InsertionPoint, DL, TII->get(getBitExtrOpcode(*RtMI))) in mergeNarrowInsns()
749 BuildMI(*MBB, InsertionPoint, DL, TII->get(getBitExtrOpcode(*Rt2MI))) in mergeNarrowInsns()
774 MIB = BuildMI(*MBB, InsertionPoint, DL, TII->get(getMatchingWideOpcode(Opc))) in mergeNarrowInsns()
817 MachineBasicBlock::iterator InsertionPoint = MergeForward ? Paired : I; in mergePairedInsns() local
[all …]
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64PromoteConstant.cpp464 Instruction *InsertionPoint = findInsertionPoint(*User, OpNo); in computeInsertionPoint() local
467 LLVM_DEBUG(InsertionPoint->print(dbgs())); in computeInsertionPoint()
470 if (isDominated(InsertionPoint, User, OpNo, InsertPts)) in computeInsertionPoint()
474 if (tryAndMerge(InsertionPoint, User, OpNo, InsertPts)) in computeInsertionPoint()
480 InsertPts[InsertionPoint].emplace_back(User, OpNo); in computeInsertionPoint()
/external/clang/lib/Format/
DSortJavaScriptImports.cpp173 SourceRange InsertionPoint = References[0].Range; in analyze() local
174 InsertionPoint.setEnd(References[References.size() - 1].Range.getEnd()); in analyze()
183 unsigned PreviousSize = getSourceText(InsertionPoint).size(); in analyze()
193 << getSourceText(InsertionPoint) << "\nwith:\n" in analyze()
196 Env.getSourceManager(), CharSourceRange::getCharRange(InsertionPoint), in analyze()
/external/llvm-project/clang/lib/Format/
DSortJavaScriptImports.cpp170 SourceRange InsertionPoint = References[0].Range; in analyze() local
171 InsertionPoint.setEnd(References[References.size() - 1].Range.getEnd()); in analyze()
180 unsigned PreviousSize = getSourceText(InsertionPoint).size(); in analyze()
190 << getSourceText(InsertionPoint) << "\nwith:\n" in analyze()
193 Env.getSourceManager(), CharSourceRange::getCharRange(InsertionPoint), in analyze()
/external/swiftshader/third_party/subzero/src/
DIceCfgNode.cpp184 InstList::iterator InsertionPoint = Insts.end(); in placePhiStores() local
188 assert(InsertionPoint != Insts.begin()); in placePhiStores()
189 --InsertionPoint; in placePhiStores()
193 (void)InsertionPoint->getTerminatorEdges(); in placePhiStores()
232 InstList::iterator SafeInsertionPoint = InsertionPoint; in placePhiStores()
241 if (auto *Branch = llvm::dyn_cast<InstBr>(InsertionPoint)) { in placePhiStores()
243 if (InsertionPoint != Insts.begin()) { in placePhiStores()
244 --InsertionPoint; in placePhiStores()
245 if (llvm::isa<InstIcmp>(InsertionPoint) || in placePhiStores()
246 llvm::isa<InstFcmp>(InsertionPoint)) { in placePhiStores()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DInterleavedLoadCombinePass.cpp1123 LoadInst *InsertionPoint = InterleavedLoad.front().EI[0].LI; in combine() local
1126 if (!InsertionPoint) in combine()
1194 if (!DT.dominates(InsertionPoint, VI.SVI)) in combine()
1200 IRBuilder<> Builder(InsertionPoint); in combine()
1210 Instruction::Load, ILTy, Factor, Indices, InsertionPoint->getAlignment(), in combine()
1211 InsertionPoint->getPointerAddressSpace()); in combine()
1218 auto CI = Builder.CreatePointerCast(InsertionPoint->getOperand(0), in combine()
1223 auto LI = Builder.CreateAlignedLoad(ILTy, CI, InsertionPoint->getAlignment(), in combine()
1227 LI, nullptr, MSSA.getMemoryAccess(InsertionPoint))); in combine()
/external/llvm-project/llvm/lib/CodeGen/
DInterleavedLoadCombinePass.cpp1123 LoadInst *InsertionPoint = InterleavedLoad.front().EI[0].LI; in combine() local
1126 if (!InsertionPoint) in combine()
1194 if (!DT.dominates(InsertionPoint, VI.SVI)) in combine()
1200 IRBuilder<> Builder(InsertionPoint); in combine()
1211 Instruction::Load, ILTy, Factor, Indices, InsertionPoint->getAlign(), in combine()
1212 InsertionPoint->getPointerAddressSpace()); in combine()
1219 auto CI = Builder.CreatePointerCast(InsertionPoint->getOperand(0), in combine()
1224 auto LI = Builder.CreateAlignedLoad(ILTy, CI, InsertionPoint->getAlign(), in combine()
1228 LI, nullptr, MSSA.getMemoryAccess(InsertionPoint))); in combine()
/external/llvm-project/clang/tools/driver/
Ddriver.cpp219 int InsertionPoint = 0; in insertTargetAndModeArgs() local
221 ++InsertionPoint; in insertTargetAndModeArgs()
225 ArgVector.insert(ArgVector.begin() + InsertionPoint, in insertTargetAndModeArgs()
232 ArgVector.insert(ArgVector.begin() + InsertionPoint, in insertTargetAndModeArgs()
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsELFObjectWriter.cpp442 auto InsertionPoint = in sortRelocs() local
463 if (InsertionPoint != Sorted.end()) in sortRelocs()
464 InsertionPoint->Matched = true; in sortRelocs()
465 Sorted.insert(InsertionPoint, R)->Matched = true; in sortRelocs()
/external/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
DMipsELFObjectWriter.cpp469 auto InsertionPoint = in sortRelocs() local
490 if (InsertionPoint != Sorted.end()) in sortRelocs()
491 InsertionPoint->Matched = true; in sortRelocs()
492 Sorted.insert(InsertionPoint, R)->Matched = true; in sortRelocs()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/MCTargetDesc/
DMipsELFObjectWriter.cpp494 auto InsertionPoint = in sortRelocs() local
515 if (InsertionPoint != Sorted.end()) in sortRelocs()
516 InsertionPoint->Matched = true; in sortRelocs()
517 Sorted.insert(InsertionPoint, R)->Matched = true; in sortRelocs()
/external/llvm-project/clang-tools-extra/clangd/
DAST.h130 SourceLocation InsertionPoint,

123