Home
last modified time | relevance | path

Searched defs:SI (Results 1 – 25 of 333) sorted by relevance

12345678910>>...14

/openbsd/src/gnu/llvm/llvm/lib/Object/
DObject.cpp33 inline section_iterator *unwrap(LLVMSectionIteratorRef SI) { in unwrap()
38 wrap(const section_iterator *SI) { in wrap()
43 inline symbol_iterator *unwrap(LLVMSymbolIteratorRef SI) { in unwrap()
48 wrap(const symbol_iterator *SI) { in wrap()
53 inline relocation_iterator *unwrap(LLVMRelocationIteratorRef SI) { in unwrap()
58 wrap(const relocation_iterator *SI) { in wrap()
161 LLVMSectionIteratorRef SI) { in LLVMObjectFileIsSectionIteratorAtEnd()
175 LLVMSymbolIteratorRef SI) { in LLVMObjectFileIsSymbolIteratorAtEnd()
203 section_iterator SI = OB->getBinary()->section_begin(); in LLVMGetSections() local
207 void LLVMDisposeSectionIterator(LLVMSectionIteratorRef SI) { in LLVMDisposeSectionIterator()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/
DSelectOptimize.cpp321 getTrueOrFalseValue(SelectInst *SI, bool isTrue, in getTrueOrFalseValue()
422 SelectInst *SI = ASI.front(); in convertProfitableSIGroups() local
505 SelectInst *SI = *It; in convertProfitableSIGroups() local
521 static bool isSpecialSelect(SelectInst *SI) { in isSpecialSelect()
538 if (SelectInst *SI = dyn_cast<SelectInst>(I)) { in collectSelectGroups() local
631 SelectInst *SI = ASI.front(); in isConvertToBranchProfitableBase() local
735 static bool isSafeToSinkLoad(Instruction *LoadI, Instruction *SI) { in isSafeToSinkLoad()
756 Instruction *SI, bool ForSinking) { in getExclBackwardsSlice()
800 bool SelectOptimize::isSelectHighlyPredictable(const SelectInst *SI) { in isSelectHighlyPredictable()
934 auto SI = cast<SelectInst>(&I); in computeLoopCosts() local
[all …]
DLiveIntervalUnion.cpp89 for (LiveSegments::const_iterator SI = Segments.begin(); SI.valid(); ++SI) { in print() local
99 for (SegmentIter SI = Segments.begin(); SI.valid(); ++SI) in verify() local
107 for (LiveSegments::const_iterator SI = Segments.begin(); SI.valid(); ++SI) { in getOneVReg() local
DMacroFusion.cpp39 for (const SDep &SI : SU.Preds) in getPredClusterSU() local
99 for (const SDep &SI : FirstSU.Succs) { in fuseInstructionPair() local
112 for (const SDep &SI : SecondSU.Preds) { in fuseInstructionPair() local
DSwitchLoweringUtils.cpp47 const SwitchInst *SI, in findJumpTables()
192 const SwitchInst *SI, in buildJumpTable()
266 const SwitchInst *SI) { in findBitTestClusters()
366 const SwitchInst *SI, in buildBitTests()
/openbsd/src/gnu/llvm/llvm/include/llvm/ADT/
DSetOperations.h26 for (typename S2Ty::const_iterator SI = S2.begin(), SE = S2.end(); in set_union() local
53 for (typename S1Ty::const_iterator SI = S1.begin(), SE = S1.end(); in set_difference() local
64 for (typename S2Ty::const_iterator SI = S2.begin(), SE = S2.end(); in set_subtract() local
/openbsd/src/gnu/llvm/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp323 } else if (auto *SI = dyn_cast<SelectInst>(Inst)) { in collectUsersRecursive() local
401 } else if (auto *SI = dyn_cast<SelectInst>(I)) { in replace() local
575 static StoreInst *combineStoreToNewValue(InstCombinerImpl &IC, StoreInst &SI, in combineStoreToNewValue()
837 if (SelectInst *SI = dyn_cast<SelectInst>(P)) { in isObjectSizeLessThanOrEq() local
1000 static bool canSimplifyNullStoreOrGEP(StoreInst &SI) { in canSimplifyNullStoreOrGEP()
1072 StoreInst *SI = new StoreInst(PoisonValue::get(LI.getType()), in visitLoadInst() local
1089 if (SelectInst *SI = dyn_cast<SelectInst>(Op)) { in visitLoadInst() local
1201 static bool combineStoreToValueType(InstCombinerImpl &IC, StoreInst &SI) { in combineStoreToValueType()
1239 static bool unpackStoreToAggregate(InstCombinerImpl &IC, StoreInst &SI) { in unpackStoreToAggregate()
1376 StoreInst &SI) { in removeBitcastsFromLoadStoreOnMinMax()
[all …]
DInstCombineSelect.cpp263 Instruction *InstCombinerImpl::foldSelectOpOp(SelectInst &SI, Instruction *TI, in foldSelectOpOp()
462 Instruction *InstCombinerImpl::foldSelectIntoOp(SelectInst &SI, Value *TrueVal, in foldSelectIntoOp()
468 bool Swapped) -> Instruction * { in foldSelectIntoOp()
756 static Instruction *foldSelectZeroOrMul(SelectInst &SI, InstCombinerImpl &IC) { in foldSelectZeroOrMul()
1596 static Value *foldSelectInstWithICmpConst(SelectInst &SI, ICmpInst *ICI) { in foldSelectInstWithICmpConst()
1627 Instruction *InstCombinerImpl::foldSelectInstWithICmp(SelectInst &SI, in foldSelectInstWithICmp()
1772 const SelectInst &SI) { in canSelectOperandBeMappingIntoPredBlock()
1820 static Instruction *foldAddSubSelect(SelectInst &SI, in foldAddSubSelect()
1896 foldOverflowingAddSubSelect(SelectInst &SI, InstCombiner::BuilderTy &Builder) { in foldOverflowingAddSubSelect()
2073 static Instruction *canonicalizeSelectToShuffle(SelectInst &SI) { in canonicalizeSelectToShuffle()
[all …]
/openbsd/src/gnu/llvm/llvm/tools/llvm-reduce/deltas/
DReduceMemoryOperations.cpp23 } else if (StoreInst *SI = dyn_cast<StoreInst>(&I)) { in removeVolatileInFunction() local
53 } else if (StoreInst *SI = dyn_cast<StoreInst>(&I)) { in reduceAtomicSyncScopesInFunction() local
86 } else if (StoreInst *SI = dyn_cast<StoreInst>(&I)) { in reduceAtomicOrderingInFunction() local
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Scalar/
DSROA.cpp472 iterator SI, SJ; member in llvm::sroa::Partition
479 Partition(iterator SI) : SI(SI), SJ(SI) {} in Partition()
552 partition_iterator(AllocaSlices::iterator SI, AllocaSlices::iterator SE) in partition_iterator()
723 static Value *foldSelectInst(SelectInst &SI) { in foldSelectInst()
898 void visitStoreInst(StoreInst &SI) { in visitStoreInst()
1068 if (StoreInst *SI = dyn_cast<StoreInst>(I)) { in hasUnsafePHIOrSelectUse() local
1153 void visitSelectInst(SelectInst &SI) { visitPHINodeOrSelectInst(SI); } in visitSelectInst()
1245 } else if (StoreInst *SI = dyn_cast<StoreInst>(U->getUser())) { in findCommonType() local
1449 isSafeLoadOfSelectToSpeculate(LoadInst &LI, SelectInst &SI, bool PreserveCFG) { in isSafeLoadOfSelectToSpeculate()
1465 SROAPass::isSafeSelectToSpeculate(SelectInst &SI, bool PreserveCFG) { in isSafeSelectToSpeculate()
[all …]
DLowerAtomicPass.cpp35 static bool LowerStoreInst(StoreInst *SI) { in LowerStoreInst()
52 } else if (StoreInst *SI = dyn_cast<StoreInst>(&Inst)) { in runOnBasicBlock() local
DLowerExpectIntrinsic.cpp79 static bool handleSwitchExpect(SwitchInst &SI) { in handleSwitchExpect()
376 } else if (SwitchInst *SI = dyn_cast<SwitchInst>(BB.getTerminator())) { in lowerExpectIntrinsic() local
387 if (SelectInst *SI = dyn_cast<SelectInst>(&Inst)) { in lowerExpectIntrinsic() local
DMemCpyOptimizer.cpp170 if (auto *SI = dyn_cast<StoreInst>(Inst)) in addInst() local
176 void addStore(int64_t OffsetFromFirst, StoreInst *SI) { in addStore()
396 if (auto *SI = dyn_cast<StoreInst>(StartInst)) in tryMergingIntoMemset() local
554 bool MemCpyOptPass::moveUp(StoreInst *SI, Instruction *P, const LoadInst *LI) { in moveUp()
677 bool MemCpyOptPass::processStoreOfLoad(StoreInst *SI, LoadInst *LI, in processStoreOfLoad()
787 bool MemCpyOptPass::processStore(StoreInst *SI, BasicBlock::iterator &BBI) { in processStore()
1667 if (auto *SI = dyn_cast<StoreInst>(I)) in iterateOnFunction() local
/openbsd/src/gnu/llvm/llvm/lib/Target/AMDGPU/
DGCNRegPressure.cpp185 auto SI = LIS.getInstructionIndex(*MO.getParent()).getBaseIndex(); in getUsedRegMask() local
216 SlotIndex SI, in getLiveLaneMask()
234 GCNRPTracker::LiveRegSet llvm::getLiveRegs(SlotIndex SI, in getLiveRegs()
333 SlotIndex SI = NextMI == MBBEnd in advanceBeforeNext() local
434 const auto &SI = LIS.getInstructionIndex(*LastTrackedMI).getBaseIndex(); in isValid() local
DGCNRegPressure.h215 auto SI = SII.getInstructionIndex(*I); in getLiveRegMap() local
232 for (auto SI : LiveIdxs) in getLiveRegMap() local
240 for (auto SI : SRLiveIdxs) in getLiveRegMap() local
/openbsd/src/gnu/llvm/llvm/lib/Target/PowerPC/
DPPCMacroFusion.cpp127 const MachineOperand &SI = FirstMI.getOperand(2); in checkOpConstraints() local
206 const MachineOperand &SI = SecondMI.getOperand(2); in checkOpConstraints() local
217 const MachineOperand &SI = FirstMI.getOperand(2); in checkOpConstraints() local
/openbsd/src/gnu/llvm/llvm/lib/Target/NVPTX/
DNVPTXLowerAggrCopies.cpp78 if (StoreInst *SI = dyn_cast<StoreInst>(LI->user_back())) { in runOnFunction() local
105 auto *SI = cast<StoreInst>(*LI->user_begin()); in runOnFunction() local
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Utils/
DPromoteMemoryToRegister.cpp71 } else if (const StoreInst *SI = dyn_cast<StoreInst>(U)) { in isAllocaPromotable() local
200 if (StoreInst *SI = dyn_cast<StoreInst>(User)) { in AnalyzeAlloca() local
558 if (StoreInst *SI = dyn_cast<StoreInst>(U)) in promoteSingleBlockAlloca() local
609 StoreInst *SI = cast<StoreInst>(AI->user_back()); in promoteSingleBlockAlloca() local
900 if (StoreInst *SI = dyn_cast<StoreInst>(I)) { in ComputeLiveInBlocks() local
1058 } else if (StoreInst *SI = dyn_cast<StoreInst>(I)) { in RenamePass() local
DSimplifyCFG.cpp758 if (SwitchInst *SI = dyn_cast<SwitchInst>(TI)) { in EraseTerminatorAndDCECond() local
776 if (SwitchInst *SI = dyn_cast<SwitchInst>(TI)) { in isValueEqualityComparison() local
803 if (SwitchInst *SI = dyn_cast<SwitchInst>(TI)) { in GetValueEqualityComparisonCases() local
863 static void setBranchWeights(SwitchInst *SI, ArrayRef<uint32_t> Weights) { in setBranchWeights()
949 SwitchInstProfUpdateWrapper SI = *cast<SwitchInst>(TI); in SimplifyEqualityComparisonWithOnlyPredecessor() local
1726 SelectInst *&SI = InsertedSelects[std::make_pair(BB1V, BB2V)]; in HoistThenElseCodeToIf() local
2732 if (auto *SI = dyn_cast<StoreInst>(&CurI)) { in isSafeToSpeculateStore() local
3838 if (auto *SI = dyn_cast<StoreInst>(&I)) { in findUniqueStoreInBlocks() local
4028 StoreInst *SI = cast<StoreInst>(QB.CreateStore(QPHI, Address)); in mergeConditionalStoreToAddress() local
4127 if (StoreInst *SI = dyn_cast<StoreInst>(&I)) in mergeConditionalStores() local
[all …]
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
DStatepointLowering.cpp321 SelectionDAGBuilder::StatepointLoweringInfo &SI, in lowerCallFromStatepointLoweringInfo()
523 SelectionDAGBuilder::StatepointLoweringInfo &SI, in lowerStatepointMetaArgs()
707 SelectionDAGBuilder::StatepointLoweringInfo &SI) { in LowerAsSTATEPOINT()
1036 StatepointLoweringInfo SI(DAG); in LowerStatepoint() local
1136 StatepointLoweringInfo SI(DAG); in LowerCallSiteWithDeoptBundleImpl() local
1176 const Value *SI = CI.getStatepoint(); in visitGCResult() local
/openbsd/src/gnu/llvm/clang/tools/libclang/
DCXString.cpp126 for (unsigned SI = 0, SE = Set->Count; SI < SE; ++SI) in createSet() local
195 for (unsigned SI = 0, SE = set->Count; SI < SE; ++SI) in clang_disposeStringSet() local
/openbsd/src/gnu/llvm/clang/lib/AST/Interp/
DState.cpp33 OptionalDiagnostic State::FFDiag(const SourceInfo &SI, diag::kind DiagId, in FFDiag()
57 OptionalDiagnostic State::CCEDiag(const SourceInfo &SI, diag::kind DiagId, in CCEDiag()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp211 if (StoreInst *SI = dyn_cast<StoreInst>(U)) { in CleanupPointerRootUsers() local
323 } else if (StoreInst *SI = dyn_cast<StoreInst>(U)) { in CleanupConstantGlobalUsers() local
577 auto *SI = cast<StoreInst>(V); in SRAGlobal() local
612 } else if (const StoreInst *SI = dyn_cast<StoreInst>(U)) { in AllUsesOfValueWillTrapIfNull() local
664 } else if (auto *SI = dyn_cast<StoreInst>(U)) { in allUsesOfLoadedValueWillTrapIfNull() local
714 } else if (StoreInst *SI = dyn_cast<StoreInst>(I)) { in OptimizeAwayTrappingUsesOfValue() local
923 if (StoreInst *SI = dyn_cast<StoreInst>(U)) { in OptimizeGlobalAddressOfAllocation() local
1014 if (auto *SI = dyn_cast<StoreInst>(U)) { in valueIsOnlyUsedLocallyOrStoredToOneGlobal() local
1223 if (StoreInst *SI = dyn_cast<StoreInst>(UI)) { in TryToShrinkGlobalToBoolean() local
1337 else if (auto *SI = dyn_cast<StoreInst>(UU)) in isPointerValueDeadOnEntryToFunction() local
[all …]
/openbsd/src/gnu/llvm/llvm/lib/ExecutionEngine/Orc/
DEPCIndirectionUtils.cpp153 for (auto &SI : StubInits) { in createStubs() local
164 for (auto &SI : StubInits) in createStubs() local
173 for (auto &SI : StubInits) in createStubs() local
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
DControlHeightReduction.cpp661 SelectInst *SI, Region *R, in checkBiasedSelect()
812 if (auto *SI = dyn_cast<SelectInst>(&I)) { in findScope() local
820 for (auto *SI : Selects) in findScope() local
893 SelectInst *SI = *it; in checkScopeHoistable() local
939 llvm::erase_if(Selects, [EntryBB](SelectInst *SI) { in checkScopeHoistable()
956 for (auto *SI : Selects) { in checkScopeHoistable() local
968 for (auto *SI : Selects) { in checkScopeHoistable() local
1532 if (auto *SI = dyn_cast<SelectInst>(U)) { in negateICmpIfUsedByBranchOrSelectOnly() local
1927 void CHR::fixupSelect(SelectInst *SI, CHRScope *Scope, in fixupSelect()

12345678910>>...14