/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCWin64EH.cpp | 27 for (const auto &I : Insns) { in CountOfUnwindCodes() local 314 for (const auto &I : Insns) { in checkARM64Instructions() local 342 for (const auto &I : Insns) { in ARM64CountOfUnwindCodes() local 1087 for (auto &I : Seg->Epilogs) in ARM64ProcessEpilogs() local 1139 for (auto &I : info->EpilogMap) { in ARM64FindSegmentsInFunction() local 1305 for (auto &I : EpilogInfo) { in ARM64EmitUnwindInfoForSegment() local 1333 for (auto &I : Seg.Epilogs) { in ARM64EmitUnwindInfoForSegment() local 1381 for (auto &I : info->EpilogMap) in ARM64EmitUnwindInfo() local 1433 for (const auto &I : Insns) { in ARMCountOfUnwindCodes() local 1505 for (const auto &I : Insns) { in ARMCountOfInstructionBytes() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | FunctionAttrs.cpp | 634 Instruction *I = cast<Instruction>(U->getUser()); in determinePointerAccessAttrs() local 1458 static bool InstrBreaksNonConvergent(Instruction &I, in InstrBreaksNonConvergent() 1505 static bool isOrderedAtomic(Instruction *I) { in isOrderedAtomic() 1572 [SCCNodes](Instruction &I) { in inferConvergent() 1604 [&SCCNodes](Instruction &I) { in inferAttrsFromFunctionBodies() 1627 [&SCCNodes](Instruction &I) { in inferAttrsFromFunctionBodies() 1643 [&SCCNodes](Instruction &I) { in inferAttrsFromFunctionBodies() 1674 for (auto &I : BB.instructionsWithoutDebug()) in addNoRecurseAttrs() local 1693 static bool instructionDoesNotReturn(Instruction &I) { in instructionDoesNotReturn() 1766 return all_of(instructions(F), [](const Instruction &I) { in functionWillReturn() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | ASTUnresolvedSet.h | 63 for (DeclsTy::iterator I = Decls.begin(), E = Decls.end(); I != E; ++I) { in replace() local 72 void erase(unsigned I) { in erase() 88 void append(ASTContext &C, iterator I, iterator E) { in append()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsMachineFunction.cpp | 75 MachineBasicBlock::iterator I = MBB.begin(); in initGlobalBaseReg() local 159 for (int &I : EhDataRegFI) { in createEhDataRegsFI() local 178 for (int &I : ISRDataRegFI) in createISRRegFI() local
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | MoveAutoInit.cpp | 39 static bool hasAutoInitMetadata(const Instruction &I) { in hasAutoInitMetadata() 45 static std::optional<MemoryLocation> writeToAlloca(const Instruction &I) { in writeToAlloca() 63 static BasicBlock *usersDominator(const MemoryLocation &ML, Instruction *I, in usersDominator()
|
H A D | CodeMoverUtils.cpp | 269 static bool reportInvalidCandidate(const Instruction &I, in reportInvalidCandidate() 286 SmallPtrSetImpl<Instruction *> &WorkList) { in collectInstructionsInBetween() 312 bool llvm::isSafeToMoveBefore(Instruction &I, Instruction &InsertPoint, in isSafeToMoveBefore() 368 if (llvm::any_of(InstsToCheck, [](Instruction *I) { in isSafeToMoveBefore() 402 return llvm::all_of(BB, [&](Instruction &I) { in isSafeToMoveBefore() 430 Instruction &I = FromBB.front(); in moveInstructionsToTheEnd() local
|
H A D | Local.cpp | 536 Instruction *I = dyn_cast<Instruction>(V); in RecursivelyDeleteTriviallyDeadInstructions() local 625 static bool areAllUsesEqual(Instruction *I) { in areAllUsesEqual() 666 simplifyAndDCEInstruction(Instruction *I, in simplifyAndDCEInstruction() 744 Instruction *I = &*BI; in SimplifyInstructionsInBlock() local 754 Instruction *I = WorkList.pop_back_val(); in SimplifyInstructionsInBlock() local 2185 void llvm::salvageDebugInfo(Instruction &I) { in salvageDebugInfo() 3422 auto *I = cast<Instruction>(U.getUser()); in replaceNonLocalUsesWith() local 3527 void llvm::dropDebugUsers(Instruction &I) { in dropDebugUsers() 3562 Instruction *I = &*II; in hoistAllInstructionsInto() local 3668 auto I = BPS.find(V); in collectBitParts() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonISelDAGToDAGHVX.cpp | 173 Node I = Order[P]; in build() local 353 for (unsigned I = 0; I != Size; ++I) { in getControls() local 439 ElemType I = P[J]; in route() local 488 ElemType I = P[J]; in route() local 562 ElemType I = P[J]; in route() local 1633 for (int I = 0; I != VecLen; ++I) { in shuffs2() local 1705 for (int I = 0; I != VecLen; ++I) { in shuffp2() local 1872 for (int I : Mask) { in scalarizeShuffle() local 2209 for (int I = 2*L; I < N; I += 2*L) { in expanding() local 2217 for (int I = L; I < N; I += 2*L) { in expanding() local [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | ValueMap.h | 165 typename MapT::const_iterator I = Map.find_as(Val); in lookup() local 185 void insert(InputIt I, InputIt E) { in insert() 191 typename MapT::iterator I = Map.find_as(Val); in erase() local 198 void erase(iterator I) { in erase()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | PoisonChecking.cpp | 98 static void generateCreationChecksForBinOp(Instruction &I, in generateCreationChecksForBinOp() 181 static void generateCreationChecks(Instruction &I, in generateCreationChecks() 261 for (auto I = BB.begin(); isa<PHINode>(&*I); I++) { in rewrite() local 306 for (auto I = BB.begin(); isa<PHINode>(&*I); I++) { in rewrite() local
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCBoolRetToInt.cpp | 111 if (auto *I = dyn_cast<Instruction>(V)) in translate() local 132 for (auto &I : BB) in getPromotablePHINodes() local 203 for (auto &I : BB) { in runOnFunction() local 265 auto *I = cast<Instruction>(U.getUser()); in runOnUse() local
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReaderStmt.cpp | 361 for (int I = 0; I < N; ++I) in VisitDeclStmt() local 402 for (unsigned I = 0; I != NumClobbers; ++I) in VisitGCCAsmStmt() local 523 for (auto &I : S->captures()) { in VisitCapturedStmt() local 713 for (unsigned I = 0; I != NumExprs; ++I) in VisitParenListExpr() local 975 for (unsigned I = 0; I < NumDims; ++I) in VisitOMPArrayShapingExpr() local 979 for (unsigned I = 0; I < NumDims; ++I) in VisitOMPArrayShapingExpr() local 992 for (unsigned I = 0; I < NumIters; ++I) { in VisitOMPIteratorExpr() local 1024 for (unsigned I = 0; I != NumArgs; ++I) in VisitCallExpr() local 1222 for (unsigned I = 0; I != NumInits; ++I) in VisitInitListExpr() local 1233 for (unsigned I = 0; I != NumSubExprs; ++I) in VisitDesignatedInitExpr() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | DXContainerEmitter.cpp | 60 for (auto I : llvm::zip(ObjectFile.Parts, *ObjectFile.Header.PartOffsets)) { in validatePartOffsets() local 112 for (auto I : llvm::zip(ObjectFile.Parts, *ObjectFile.Header.PartOffsets)) { in writeParts() local 223 for (unsigned I = 0; I < PSV.OutputVectorMasks.size(); ++I) { in writeParts() local
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineAddSub.cpp | 349 Instruction *I = nullptr; in drillValueDownOneStep() local 427 Value *FAddCombine::simplify(Instruction *I) { in simplify() 652 if (Instruction *I = dyn_cast<Instruction>(V)) in createFSub() local 659 if (Instruction *I = dyn_cast<Instruction>(NewV)) in createFNeg() local 666 if (Instruction *I = dyn_cast<Instruction>(V)) in createFAdd() local 673 if (Instruction *I = dyn_cast<Instruction>(V)) in createFMul() local 752 static Value *checkForNegativeOperand(BinaryOperator &I, in checkForNegativeOperand() 1267 BinaryOperator &I) { in canonicalizeCondSignextOfHighBitExtractToSignextHighBitExtract() 1766 static Instruction *factorizeLerp(BinaryOperator &I, in factorizeLerp() 2053 if (auto *I = dyn_cast<Instruction>(Result)) in OptimizePointerDifference() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
H A D | DXILShaderFlags.cpp | 23 static void updateFlags(ComputedShaderFlags &Flags, const Instruction &I) { in updateFlags() 43 for (const auto &I : BB) in computeFlags() local
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | FastISel.cpp | 410 void FastISel::removeDeadCode(MachineBasicBlock::iterator I, in removeDeadCode() 531 bool FastISel::selectGetElementPtr(const User *I) { in selectGetElementPtr() 642 bool FastISel::selectStackmap(const CallInst *I) { in selectStackmap() 754 bool FastISel::selectPatchpoint(const CallInst *I) { in selectPatchpoint() 892 bool FastISel::selectXRayCustomEvent(const CallInst *I) { in selectXRayCustomEvent() 911 bool FastISel::selectXRayTypedEvent(const CallInst *I) { in selectXRayTypedEvent() 1146 bool FastISel::selectCall(const User *I) { in selectCall() 1456 bool FastISel::selectCast(const User *I, unsigned Opcode) { in selectCast() 1487 bool FastISel::selectBitCast(const User *I) { in selectBitCast() 1516 bool FastISel::selectFreeze(const User *I) { in selectFreeze() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Verifier.cpp | 652 void Verifier::visit(Instruction &I) { in visit() 2767 for (const auto &I : MDs) { in visitFunction() local 2800 for (const auto &I : MDs) { in visitFunction() local 2916 for (auto &I : BB) { in visitFunction() local 2977 for (auto &I : BB) in visitBasicBlock() local 3075 void Verifier::visitUserOp1(Instruction &I) { in visitUserOp1() 3079 void Verifier::visitTruncInst(TruncInst &I) { in visitTruncInst() 3097 void Verifier::visitZExtInst(ZExtInst &I) { in visitZExtInst() 3115 void Verifier::visitSExtInst(SExtInst &I) { in visitSExtInst() 3150 void Verifier::visitFPExtInst(FPExtInst &I) { in visitFPExtInst() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/ |
H A D | CSKYConstantIslandPass.cpp | 334 for (unsigned I = 0, E = CPUsers.size(); I != E; ++I) in runOnMachineFunction() local 346 for (unsigned I = 0, E = ImmBranches.size(); I != E; ++I) in runOnMachineFunction() local 396 for (unsigned I = 0, E = CPs.size(); I != E; ++I) { in doInitialPlacement() local 440 for (MachineBasicBlock::succ_iterator I = MBB->succ_begin(), in bbHasFallthrough() local 457 for (unsigned I = 0, E = CPEs.size(); I != E; ++I) { in findConstPoolEntry() local 486 for (MachineFunction::iterator I = MF->begin(), E = MF->end(); I != E; ++I) in initializeFunctionInfo() local 603 for (MachineBasicBlock::iterator I = MBB->begin(); &*I != MI; ++I) { in getOffsetOf() local 814 for (unsigned I = BBNum + 1, E = MF->getNumBlockIDs(); I < E; ++I) { in adjustBBOffsetsAfter() local 860 for (unsigned I = 0, E = CPEs.size(); I != E; ++I) { in findInRangeCPEntry() local 1153 for (unsigned I = 0, E = UserMI->getNumOperands(); I != E; ++I) in handleConstantPoolUser() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | SelectOptimize.cpp | 131 SelectLike(Instruction *I) : I(I) {} in SelectLike() 133 Instruction *I; member in __anon5b1b8f6d0111::SelectOptimizeImpl::SelectLike 137 static SelectLike match(Instruction *I) { in match() 220 if (auto *I = dyn_cast<Instruction>(Sel->getTrueValue())) in getTrueOpCost() local 226 if (auto I = dyn_cast<Instruction>(getFalseValue())) in getTrueOpCost() local 246 if (auto *I = dyn_cast<Instruction>(Sel->getFalseValue())) in getFalseOpCost() local 252 if (auto I = dyn_cast<Instruction>(getFalseValue())) in getFalseOpCost() local 644 auto TransferDPValues = [&](Instruction &I) { in convertProfitableSIGroups() 746 Instruction *I = &*BBIt++; in collectSelectGroups() local 980 void SelectOptimizeImpl::getExclBackwardsSlice(Instruction *I, in getExclBackwardsSlice() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | CXXInheritance.cpp | 132 for (const auto &I : Record->bases()) { in forallBases() local 390 for (DeclContext::lookup_iterator I = Path.Decls, E = I.end(); I != E; ++I) in findOrdinaryMember() local 456 for (DeclContext::lookup_iterator I = Paths.front().Decls, E = I.end(); in lookupDependentName() local 473 for (const_iterator I = Other.begin(), IE = Other.end(); I != IE; ++I) { in add() local 483 for (iterator I = begin(), IEnd = end(); I != IEnd; ++I) { in replaceAll() local 687 for (const auto &I : RD->bases()) { in AddIndirectPrimaryBases() local 709 for (const auto &I : bases()) { in getIndirectPrimaryBases() local
|
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | Transforms.cpp | 247 I = S->body_begin(), E = S->body_end(); I != E; ++I) { in TraverseStmtExpr() local 256 for (auto *I : S->body()) in VisitCompoundStmt() local 329 I = MigrateCtx.traversers_begin(), in TraverseObjCImplementationDecl() local 342 I = MigrateCtx.traversers_begin(), in TraverseStmt() local 354 I = traversers_begin(), E = traversers_end(); I != E; ++I) in ~MigrationContext() local 510 I = traversers_begin(), E = traversers_end(); I != E; ++I) in traverse() local 525 for (impl_iterator I = impl_iterator(DC->decls_begin()), in GCRewriteFinalize() local
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | XCore.cpp | 215 auto I = Map.find(ID); in removeIncomplete() local 265 auto I = Map.find(ID); in lookupStr() local 317 for (unsigned I = 0; I != MangledDeclNames.size(); ++I) { in emitTargetMetadata() local 402 for (unsigned I = 0; I != E; ++I) { in appendRecordType() local 433 for (auto I = ED->enumerator_begin(), E = ED->enumerator_end(); I != E; in appendEnumType() local 445 for (unsigned I = 0; I != E; ++I) { in appendEnumType() local 573 auto I = FPT->param_type_begin(); in appendFunctionType() local
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | LoopVectorize.cpp | 3132 auto I = ExpandedSCEVs.find(Step); in getExpandedStep() local 3326 for (auto &I : MissingVals) { in fixupIVUsers() local 3825 auto *I = cast<Instruction>(Ptr); in collectLoopScalars() local 3863 for (auto *I : ScalarPtrs) in collectLoopScalars() local 3924 auto *I = cast<Instruction>(U); in collectLoopScalars() local 4349 auto *I = cast<Instruction>(V); in collectLoopUniforms() local 4363 Instruction *I = Worklist[idx++]; in collectLoopUniforms() local 4398 auto *I = cast<Instruction>(U); in collectLoopUniforms() local 4971 unsigned I = 0; in emitInvalidCostRemarks() local 5693 Instruction *I = IdxToInstr[i]; in calculateRegisterUsage() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARC/ |
H A D | ARCInstrInfo.cpp | 176 MachineBasicBlock::iterator I = MBB.end(); in analyzeBranch() local 257 MachineBasicBlock::iterator I = MBB.getLastNonDebugInstr(); in removeBranch() local 282 MachineBasicBlock::iterator I, in copyPhysReg() 294 MachineBasicBlock &MBB, MachineBasicBlock::iterator I, Register SrcReg, in storeRegToStackSlot() 321 MachineBasicBlock::iterator I, in loadRegFromStackSlot()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/ |
H A D | XCoreInstrInfo.cpp | 195 MachineBasicBlock::iterator I = MBB.getLastNonDebugInstr(); in analyzeBranch() local 309 MachineBasicBlock::iterator I = MBB.getLastNonDebugInstr(); in removeBranch() local 332 MachineBasicBlock::iterator I, in copyPhysReg() 359 MachineBasicBlock &MBB, MachineBasicBlock::iterator I, Register SrcReg, in storeRegToStackSlot() 379 MachineBasicBlock::iterator I, in loadRegFromStackSlot()
|