Home
last modified time | relevance | path

Searched refs:IP (Results 1 – 25 of 123) sorted by relevance

12345

/llvm-project-15.0.7/llvm/unittests/IR/
H A DUserTest.cpp88 EXPECT_TRUE(IP->value_op_begin() == IP->value_op_begin()); in TEST()
89 EXPECT_FALSE(IP->value_op_begin() == IP->value_op_end()); in TEST()
90 EXPECT_TRUE(IP->value_op_begin() != IP->value_op_end()); in TEST()
91 EXPECT_FALSE(IP->value_op_end() != IP->value_op_end()); in TEST()
92 EXPECT_TRUE(IP->value_op_begin() < IP->value_op_end()); in TEST()
93 EXPECT_FALSE(IP->value_op_begin() < IP->value_op_begin()); in TEST()
94 EXPECT_TRUE(IP->value_op_end() > IP->value_op_begin()); in TEST()
95 EXPECT_FALSE(IP->value_op_begin() > IP->value_op_begin()); in TEST()
96 EXPECT_TRUE(IP->value_op_begin() <= IP->value_op_begin()); in TEST()
97 EXPECT_FALSE(IP->value_op_end() <= IP->value_op_begin()); in TEST()
[all …]
/llvm-project-15.0.7/clang/test/CXX/temp/temp.arg/temp.arg.nontype/
H A Dp1-11.cpp7 template<int *ip> struct IP { // expected-note 5 {{template parameter is declared here}} struct
8 IP<ip> *ip2; argument
21 IP<0> ip0; // expected-error{{null non-type template argument must be cast to template parameter ty…
22 IP<(0)> ip1; // expected-error{{null non-type template argument must be cast to template parameter …
23 IP<nullptr> ip2;
24 IP<get_nullptr()> ip3;
25 IP<(int*)0> ip4;
26 IP<np> ip5;
27 IP<nonconst_np> ip5; // expected-error{{non-type template argument of type 'std::nullptr_t' is not …
29 IP<(float*)0> ip6; // expected-error{{null non-type template argument of type 'float *' does not ma…
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DInstrumentation.cpp25 static BasicBlock::iterator moveBeforeInsertPoint(BasicBlock::iterator I, BasicBlock::iterator IP) { in moveBeforeInsertPoint() argument
27 if (I == IP) { in moveBeforeInsertPoint()
28 ++IP; in moveBeforeInsertPoint()
31 I->moveBefore(&*IP); in moveBeforeInsertPoint()
33 return IP; in moveBeforeInsertPoint()
42 BasicBlock::iterator IP) { in PrepareToSplitEntryBlock() argument
44 for (auto I = IP, E = BB.end(); I != E; ++I) { in PrepareToSplitEntryBlock()
54 IP = moveBeforeInsertPoint(I, IP); in PrepareToSplitEntryBlock()
56 return IP; in PrepareToSplitEntryBlock()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Deasily-swappable-parameters-implicits.c17 void arrayAndPtr1(int *IP, int IA[]) { arrayAndPtr1(IA, IP); } in arrayAndPtr1() argument
22 void arrayAndPtr2(int *IP, int IA[8]) { arrayAndPtr2(IA, IP); } in arrayAndPtr2() argument
76 void pointeeConversion(int *IP, double *DP) { pointeeConversion(DP, IP); } in pointeeConversion() argument
H A Deasily-swappable-parameters-implicits.cpp17 void arrayAndPtr1(int *IP, int IA[]) { arrayAndPtr1(IA, IP); } in arrayAndPtr1() argument
22 void arrayAndPtr2(int *IP, int IA[8]) { arrayAndPtr2(IA, IP); } in arrayAndPtr2() argument
256 void pointeeConverison(int *IP, double *DP) {} // NO-WARN. in pointeeConverison() argument
258 void pointerConversion1(void *VP, int *IP) {} // NO-WARN: One-way. in pointerConversion1() argument
265 void pointerConversion2(PointerBox PB, int *IP) { pointerConversion2(IP, PB); } in pointerConversion2() argument
H A Deasily-swappable-parameters-qualifiermixing.cpp36 void qualified4(int *IP, const int *CIP) {} in qualified4() argument
44 void qualifiedPtr1(int *IP, int *const IPC) {} in qualifiedPtr1() argument
50 void qualifiedPtr2(int *IP, int *volatile IPV) {} in qualifiedPtr2() argument
/llvm-project-15.0.7/llvm/lib/MC/MCDisassembler/
H A DDisassembler.cpp100 if (!IP) in LLVMCreateDisasmCPUFeatures()
106 std::move(DisAsm), std::move(IP)); in LLVMCreateDisasmCPUFeatures()
262 MCInstPrinter *IP = DC->getIP(); in LLVMDisasmInstruction() local
305 MCInstPrinter *IP = DC->getIP(); in LLVMSetDisasmOptions() local
306 IP->setUseMarkup(true); in LLVMSetDisasmOptions()
312 MCInstPrinter *IP = DC->getIP(); in LLVMSetDisasmOptions() local
313 IP->setPrintImmHex(true); in LLVMSetDisasmOptions()
327 if (IP) { in LLVMSetDisasmOptions()
328 DC->setIP(IP); in LLVMSetDisasmOptions()
335 MCInstPrinter *IP = DC->getIP(); in LLVMSetDisasmOptions() local
[all …]
H A DDisassembler.h74 std::unique_ptr<llvm::MCInstPrinter> IP; variable
95 std::unique_ptr<MCInstPrinter> &&IP) in LLVMDisasmContext() argument
100 IP(std::move(IP)), Options(0), CommentStream(CommentsToEmit) {} in LLVMDisasmContext()
114 MCInstPrinter *getIP() { return IP.get(); } in getIP()
115 void setIP(MCInstPrinter *NewIP) { IP.reset(NewIP); } in setIP()
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DSparseSetTest.cpp45 std::pair<USet::iterator, bool> IP = Set.insert(5); in TEST() local
46 EXPECT_TRUE(IP.second); in TEST()
47 EXPECT_TRUE(IP.first == Set.begin()); in TEST()
62 IP = Set.insert(5); in TEST()
63 EXPECT_FALSE(IP.second); in TEST()
64 EXPECT_TRUE(IP.first == Set.begin()); in TEST()
107 std::pair<USet::iterator, bool> IP = Set.insert(3); in TEST() local
108 EXPECT_FALSE(IP.second); in TEST()
109 EXPECT_TRUE(IP.first == Set.begin() + 1); in TEST()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp75 (&*IP == CI || CI->comesBefore(&*IP))) { in ReuseOrCreateCast()
105 ++IP; in findInsertPointAfter()
107 if (isa<FuncletPadInst>(IP) || isa<LandingPadInst>(IP)) { in findInsertPointAfter()
108 ++IP; in findInsertPointAfter()
118 while (isInsertedInstruction(&*IP) && &*IP != MustDominate) in findInsertPointAfter()
119 ++IP; in findInsertPointAfter()
121 return IP; in findInsertPointAfter()
134 ++IP; in GetOptimalInsertionPointForCastOf()
135 return IP; in GetOptimalInsertionPointForCastOf()
232 --IP; in InsertBinop()
[all …]
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dsynthesized-ivar.m5 @property int IP; property
9 @synthesize IP;
11 return IP;
16 int f0(I *a) { return a->IP; } // expected-error {{instance variable 'IP' is private}}
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DIntervalPartition.cpp98 IntervalPartition::IntervalPartition(IntervalPartition &IP, bool) in IntervalPartition() argument
100 assert(IP.getRootInterval() && "Cannot operate on empty IntervalPartitions!"); in IntervalPartition()
103 interval_part_interval_iterator I = intervals_begin(IP, false); in IntervalPartition()
104 assert(I != intervals_end(IP) && "No intervals in interval partition!?!?!"); in IntervalPartition()
111 for (interval_part_interval_iterator E = intervals_end(IP); I != E; ++I) in IntervalPartition()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DIntervalIterator.h63 inline Interval *getSourceGraphNode(IntervalPartition *IP, BasicBlock *BB) { in getSourceGraphNode() argument
64 return IP->getBlockInterval(BB); in getSourceGraphNode()
113 IntervalIterator(IntervalPartition &IP, bool OwnMemory) : IOwnMem(OwnMemory) { in IntervalIterator() argument
114 OrigContainer = &IP; in IntervalIterator()
115 if (!ProcessInterval(IP.getRootInterval())) { in IntervalIterator()
254 intervals_begin(IntervalPartition &IP, bool DeleteIntervals = true) {
255 return interval_part_interval_iterator(IP, DeleteIntervals);
258 inline interval_part_interval_iterator intervals_end(IntervalPartition &IP) { in intervals_end() argument
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DShadowStackGCLowering.cpp317 BasicBlock::iterator IP = F.getEntryBlock().begin(); in runOnFunction() local
318 IRBuilder<> AtEntry(IP->getParent(), IP); in runOnFunction()
323 while (isa<AllocaInst>(IP)) in runOnFunction()
324 ++IP; in runOnFunction()
325 AtEntry.SetInsertPoint(IP->getParent(), IP); in runOnFunction()
350 while (isa<StoreInst>(IP)) in runOnFunction()
351 ++IP; in runOnFunction()
352 AtEntry.SetInsertPoint(IP->getParent(), IP); in runOnFunction()
H A DGCRootLowering.cpp142 BasicBlock::iterator IP = F.getEntryBlock().begin(); in InsertRootInitializers() local
143 while (isa<AllocaInst>(IP)) in InsertRootInitializers()
144 ++IP; in InsertRootInitializers()
148 for (; !CouldBecomeSafePoint(&*IP); ++IP) in InsertRootInitializers()
149 if (StoreInst *SI = dyn_cast<StoreInst>(IP)) in InsertRootInitializers()
/llvm-project-15.0.7/polly/test/ScopInfo/
H A Dinvariant_load_complex_condition.ll6 %struct.IP = type { i32****, i32***, %struct.P, %struct.S, %struct.m }
35 @img = external global %struct.IP*, align 8
50 %0 = load %struct.IP*, %struct.IP** @img, align 8
51 %cofAC = getelementptr inbounds %struct.IP, %struct.IP* %0, i32 0, i32 0
57 %mb_data = getelementptr inbounds %struct.IP, %struct.IP* %0, i64 0, i32 4
/llvm-project-15.0.7/llvm/lib/MC/
H A DMCSection.cpp71 iterator IP; in getSubsectionInsertionPoint() local
73 IP = end(); in getSubsectionInsertionPoint()
75 IP = MI->second->getIterator(); in getSubsectionInsertionPoint()
81 getFragmentList().insert(IP, F); in getSubsectionInsertionPoint()
86 return IP; in getSubsectionInsertionPoint()
/llvm-project-15.0.7/llvm/tools/llvm-mca/
H A Dllvm-mca.cpp461 std::unique_ptr<MCInstPrinter> IP(TheTarget->createMCInstPrinter( in main() local
463 if (!IP) { in main()
472 IP->setPrintImmHex(PrintImmHex); in main()
535 [&IP, &STI](const mca::InstructionError<MCInst> &IE) { in main()
539 IP->printInst(&IE.Inst, 0, "", *STI, SS); in main()
567 std::make_unique<mca::InstructionView>(*STI, *IP, Insts)); in main()
622 CB->getStartViews(*IP, Insts); in main()
645 *STI, *IP, Insts, S.getNumIterations())); in main()
650 *STI, *MCII, CE, ShowEncoding, Insts, *IP, LoweredSequence, in main()
658 CB->getPostInstrInfoViews(*IP, Insts); in main()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Transforms/
H A DInstrumentation.h42 BasicBlock::iterator IP);
192 explicit InstrumentationIRBuilder(Instruction *IP) : IRBuilder<>(IP) { in InstrumentationIRBuilder()
193 ensureDebugInfo(*this, *IP->getFunction()); in InstrumentationIRBuilder()
/llvm-project-15.0.7/llvm/lib/MCA/
H A DCustomBehaviour.cpp28 CustomBehaviour::getStartViews(llvm::MCInstPrinter &IP, in getStartViews() argument
34 CustomBehaviour::getPostInstrInfoViews(llvm::MCInstPrinter &IP, in getPostInstrInfoViews() argument
40 CustomBehaviour::getEndViews(llvm::MCInstPrinter &IP, in getEndViews() argument
/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A Dsynthesize_ivar.m7 @property int IP; property
11 @synthesize IP;
13 return IP;
/llvm-project-15.0.7/llvm/tools/llvm-profgen/
H A DProfiledBinary.h128 InstructionPointer IP(Binary, I.first); in inferPrologOffsets()
129 if (!IP.advance()) in inferPrologOffsets()
131 PrologEpilogSet.insert(IP.Offset); in inferPrologOffsets()
139 InstructionPointer IP(Binary, Addr); in inferEpilogOffsets()
140 if (!IP.backward()) in inferEpilogOffsets()
142 PrologEpilogSet.insert(IP.Offset); in inferEpilogOffsets()
319 SampleContextFrameVector symbolize(const InstructionPointer &IP,
499 InstructionPointer IP(this, Offset);
500 I.first->second = symbolize(IP, true, UseProbeDiscriminator);
/llvm-project-15.0.7/llvm/include/llvm/MCA/
H A DCustomBehaviour.h107 getStartViews(llvm::MCInstPrinter &IP, llvm::ArrayRef<llvm::MCInst> Insts);
110 getPostInstrInfoViews(llvm::MCInstPrinter &IP,
114 getEndViews(llvm::MCInstPrinter &IP, llvm::ArrayRef<llvm::MCInst> Insts);
/llvm-project-15.0.7/llvm/include/llvm/Frontend/OpenMP/
H A DOMPIRBuilder.h34 void spliceBB(IRBuilderBase::InsertPoint IP, BasicBlock *New,
52 BasicBlock *splitBB(IRBuilderBase::InsertPoint IP, bool CreateBranch,
204 : IP(IRB.saveIP()), DL(IRB.getCurrentDebugLocation()) {} in LocationDescription()
205 LocationDescription(const InsertPointTy &IP) : IP(IP) {} in LocationDescription()
206 LocationDescription(const InsertPointTy &IP, const DebugLoc &DL) in LocationDescription()
207 : IP(IP), DL(DL) {} in LocationDescription()
208 InsertPointTy IP; member
761 Builder.restoreIP(Loc.IP); in updateToLocation()
763 return Loc.IP.getBlock() != nullptr; in updateToLocation()
1110 InsertPointTy createCopyinClauseBlocks(InsertPointTy IP, Value *MasterAddr,
/llvm-project-15.0.7/llvm/lib/Target/CSKY/
H A DCSKYConstantIslandPass.cpp636 WaterList.insert(IP, NewBB); in updateForInsertedWaterBlock()
692 MachineBasicBlock *WaterBB = *IP; in splitBlockBeforeInstr()
696 WaterList.insert(IP, OrigBB); in splitBlockBeforeInstr()
930 --IP) { in findAvailableWater()
931 MachineBasicBlock *WaterBB = *IP; in findAvailableWater()
947 WaterIter = IP; in findAvailableWater()
955 if (IP == B) in findAvailableWater()
1088 water_iterator IP; in handleConstantPoolUser() local
1112 if (IP != WaterList.end()) in handleConstantPoolUser()
1123 if (IP != WaterList.end()) in handleConstantPoolUser()
[all …]

12345