Home
last modified time | relevance | path

Searched refs:SI (Results 1 - 25 of 303) sorted by relevance

12345678910>>...13

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
H A DObject.cpp32 inline section_iterator *unwrap(LLVMSectionIteratorRef SI) { in unwrap() argument
33 return reinterpret_cast<section_iterator*>(SI); in unwrap()
37 wrap(const section_iterator *SI) { in wrap() argument
39 (const_cast<section_iterator*>(SI)); in wrap()
42 inline symbol_iterator *unwrap(LLVMSymbolIteratorRef SI) { in unwrap() argument
43 return reinterpret_cast<symbol_iterator*>(SI); in unwrap()
47 wrap(const symbol_iterator *SI) { in wrap() argument
49 (const_cast<symbol_iterator*>(SI)); in wrap()
52 inline relocation_iterator *unwrap(LLVMRelocationIteratorRef SI) { in unwrap() argument
53 return reinterpret_cast<relocation_iterator*>(SI); in unwrap()
57 wrap(const relocation_iterator *SI) wrap() argument
157 LLVMObjectFileIsSectionIteratorAtEnd(LLVMBinaryRef BR, LLVMSectionIteratorRef SI) LLVMObjectFileIsSectionIteratorAtEnd() argument
171 LLVMObjectFileIsSymbolIteratorAtEnd(LLVMBinaryRef BR, LLVMSymbolIteratorRef SI) LLVMObjectFileIsSymbolIteratorAtEnd() argument
200 section_iterator SI = OB->getBinary()->section_begin(); LLVMGetSections() local
204 LLVMDisposeSectionIterator(LLVMSectionIteratorRef SI) LLVMDisposeSectionIterator() argument
208 LLVMIsSectionIteratorAtEnd(LLVMObjectFileRef OF, LLVMSectionIteratorRef SI) LLVMIsSectionIteratorAtEnd() argument
214 LLVMMoveToNextSection(LLVMSectionIteratorRef SI) LLVMMoveToNextSection() argument
234 symbol_iterator SI = OB->getBinary()->symbol_begin(); LLVMGetSymbols() local
238 LLVMDisposeSymbolIterator(LLVMSymbolIteratorRef SI) LLVMDisposeSymbolIterator() argument
242 LLVMIsSymbolIteratorAtEnd(LLVMObjectFileRef OF, LLVMSymbolIteratorRef SI) LLVMIsSymbolIteratorAtEnd() argument
248 LLVMMoveToNextSymbol(LLVMSymbolIteratorRef SI) LLVMMoveToNextSymbol() argument
253 LLVMGetSectionName(LLVMSectionIteratorRef SI) LLVMGetSectionName() argument
260 LLVMGetSectionSize(LLVMSectionIteratorRef SI) LLVMGetSectionSize() argument
264 LLVMGetSectionContents(LLVMSectionIteratorRef SI) LLVMGetSectionContents() argument
271 LLVMGetSectionAddress(LLVMSectionIteratorRef SI) LLVMGetSectionAddress() argument
275 LLVMGetSectionContainsSymbol(LLVMSectionIteratorRef SI, LLVMSymbolIteratorRef Sym) LLVMGetSectionContainsSymbol() argument
282 relocation_iterator SI = (*unwrap(Section))->relocation_begin(); LLVMGetRelocations() local
286 LLVMDisposeRelocationIterator(LLVMRelocationIteratorRef SI) LLVMDisposeRelocationIterator() argument
290 LLVMIsRelocationIteratorAtEnd(LLVMSectionIteratorRef Section, LLVMRelocationIteratorRef SI) LLVMIsRelocationIteratorAtEnd() argument
295 LLVMMoveToNextRelocation(LLVMRelocationIteratorRef SI) LLVMMoveToNextRelocation() argument
301 LLVMGetSymbolName(LLVMSymbolIteratorRef SI) LLVMGetSymbolName() argument
313 LLVMGetSymbolAddress(LLVMSymbolIteratorRef SI) LLVMGetSymbolAddress() argument
325 LLVMGetSymbolSize(LLVMSymbolIteratorRef SI) LLVMGetSymbolSize() argument
[all...]
/third_party/skia/src/core/
H A DSkVM.h1070 #define SI static inline macro
1072 SI I32 operator+(I32 x, I32 y) { return x->add(x,y); } in operator +()
1073 SI I32 operator+(I32 x, int y) { return x->add(x,y); } in operator +()
1074 SI I32 operator+(int x, I32 y) { return y->add(x,y); } in operator +()
1076 SI I32 operator-(I32 x, I32 y) { return x->sub(x,y); } in operator -()
1077 SI I32 operator-(I32 x, int y) { return x->sub(x,y); } in operator -()
1078 SI I32 operator-(int x, I32 y) { return y->sub(x,y); } in operator -()
1080 SI I32 operator*(I32 x, I32 y) { return x->mul(x,y); } in operator *()
1081 SI I32 operator*(I32 x, int y) { return x->mul(x,y); } in operator *()
1082 SI I3 in operator *()
1342 #undef SI global() macro
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
H A DStatepointLowering.cpp314 SelectionDAGBuilder::StatepointLoweringInfo &SI, in lowerCallFromStatepointLoweringInfo()
318 Builder.lowerInvokable(SI.CLI, SI.EHPadBB); in lowerCallFromStatepointLoweringInfo()
337 bool HasDef = !SI.CLI.RetTy->isVoidTy(); in lowerCallFromStatepointLoweringInfo()
479 SmallVectorImpl<MachineMemOperand*> &MemRefs, SelectionDAGBuilder::StatepointLoweringInfo &SI, in lowerStatepointMetaArgs()
491 for (const Value *V : SI.Bases) { in lowerStatepointMetaArgs()
498 for (const Value *V : SI.Ptrs) { in lowerStatepointMetaArgs()
505 assert(SI.Bases.size() == SI.Ptrs.size() && "Pointer without base!"); in lowerStatepointMetaArgs()
507 assert(SI in lowerStatepointMetaArgs()
313 lowerCallFromStatepointLoweringInfo( SelectionDAGBuilder::StatepointLoweringInfo &SI, SelectionDAGBuilder &Builder, SmallVectorImpl<SDValue> &PendingExports) lowerCallFromStatepointLoweringInfo() argument
478 lowerStatepointMetaArgs(SmallVectorImpl<SDValue> &Ops, SmallVectorImpl<MachineMemOperand*> &MemRefs, SelectionDAGBuilder::StatepointLoweringInfo &SI, SelectionDAGBuilder &Builder) lowerStatepointMetaArgs() argument
635 LowerAsSTATEPOINT( SelectionDAGBuilder::StatepointLoweringInfo &SI) LowerAsSTATEPOINT() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
H A DObject.h139 LLVMSectionIteratorRef SI);
160 LLVMSymbolIteratorRef SI);
162 void LLVMDisposeSectionIterator(LLVMSectionIteratorRef SI);
164 void LLVMMoveToNextSection(LLVMSectionIteratorRef SI);
169 void LLVMDisposeSymbolIterator(LLVMSymbolIteratorRef SI);
170 void LLVMMoveToNextSymbol(LLVMSymbolIteratorRef SI);
173 const char *LLVMGetSectionName(LLVMSectionIteratorRef SI);
174 uint64_t LLVMGetSectionSize(LLVMSectionIteratorRef SI);
175 const char *LLVMGetSectionContents(LLVMSectionIteratorRef SI);
176 uint64_t LLVMGetSectionAddress(LLVMSectionIteratorRef SI);
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp482 static StoreInst *combineStoreToNewValue(InstCombiner &IC, StoreInst &SI, Value *V) { in combineStoreToNewValue() argument
483 assert((!SI.isAtomic() || isSupportedAtomicType(V->getType())) && in combineStoreToNewValue()
486 Value *Ptr = SI.getPointerOperand(); in combineStoreToNewValue()
487 unsigned AS = SI.getPointerAddressSpace(); in combineStoreToNewValue()
489 SI.getAllMetadata(MD); in combineStoreToNewValue()
493 SI.getAlignment(), SI.isVolatile()); in combineStoreToNewValue()
494 NewStore->setAtomic(SI.getOrdering(), SI.getSyncScopeID()); in combineStoreToNewValue()
606 auto *SI in combineLoadToOperationType()
614 auto *SI = cast<StoreInst>(*UI++); combineLoadToOperationType() local
934 canSimplifyNullStoreOrGEP(StoreInst &SI) canSimplifyNullStoreOrGEP() argument
1014 StoreInst *SI = new StoreInst(UndefValue::get(LI.getType()), visitLoadInst() local
1147 combineStoreToValueType(InstCombiner &IC, StoreInst &SI) combineStoreToValueType() argument
1179 unpackStoreToAggregate(InstCombiner &IC, StoreInst &SI) unpackStoreToAggregate() argument
1323 removeBitcastsFromLoadStoreOnMinMax(InstCombiner &IC, StoreInst &SI) removeBitcastsFromLoadStoreOnMinMax() argument
1371 visitStoreInst(StoreInst &SI) visitStoreInst() argument
1512 mergeStoreIntoSuccessor(StoreInst &SI) mergeStoreIntoSuccessor() argument
[all...]
H A DInstCombineSelect.cpp282 Instruction *InstCombiner::foldSelectOpOp(SelectInst &SI, Instruction *TI, in foldSelectOpOp() argument
288 if ((match(&SI, m_SMin(m_Value(), m_Value())) || in foldSelectOpOp()
289 match(&SI, m_SMax(m_Value(), m_Value())) || in foldSelectOpOp()
290 match(&SI, m_UMin(m_Value(), m_Value())) || in foldSelectOpOp()
291 match(&SI, m_UMax(m_Value(), m_Value())))) in foldSelectOpOp()
295 Value *Cond = SI.getCondition(); in foldSelectOpOp()
331 SI.getName() + ".v", &SI); in foldSelectOpOp()
340 Value *NewSel = Builder.CreateSelect(Cond, X, Y, SI.getName() + ".v", &SI); in foldSelectOpOp()
424 foldSelectIntoOp(SelectInst &SI, Value *TrueVal, Value *FalseVal) foldSelectIntoOp() argument
1397 foldSelectInstWithICmp(SelectInst &SI, ICmpInst *ICI) foldSelectInstWithICmp() argument
1522 canSelectOperandBeMappingIntoPredBlock(const Value *V, const SelectInst &SI) canSelectOperandBeMappingIntoPredBlock() argument
1620 SelectInst *SI = cast<SelectInst>(Inner); foldSPFofSPF() local
1679 foldAddSubSelect(SelectInst &SI, InstCombiner::BuilderTy &Builder) foldAddSubSelect() argument
1755 foldOverflowingAddSubSelect(SelectInst &SI, InstCombiner::BuilderTy &Builder) foldOverflowingAddSubSelect() argument
1934 canonicalizeSelectToShuffle(SelectInst &SI) canonicalizeSelectToShuffle() argument
2064 foldSelectCmpXchg(SelectInst &SI) foldSelectCmpXchg() argument
2326 visitSelectInst(SelectInst &SI) visitSelectInst() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
H A DMacroFusion.cpp40 for (const SDep &SI : SU.Preds) in getPredClusterSU()
41 if (SI.isCluster()) in getPredClusterSU()
42 return SI.getSUnit(); in getPredClusterSU()
58 for (SDep &SI : FirstSU.Succs) in fuseInstructionPair()
59 if (SI.isCluster()) in fuseInstructionPair()
62 for (SDep &SI : SecondSU.Preds) in fuseInstructionPair()
63 if (SI.isCluster()) in fuseInstructionPair()
83 for (SDep &SI : FirstSU.Succs) in fuseInstructionPair()
84 if (SI.getSUnit() == &SecondSU) in fuseInstructionPair()
85 SI in fuseInstructionPair()
[all...]
H A DEdgeBundles.cpp48 for (MachineBasicBlock::const_succ_iterator SI = MBB.succ_begin(), in runOnMachineFunction()
49 SE = MBB.succ_end(); SI != SE; ++SI) in runOnMachineFunction()
50 EC.join(OutE, 2 * (*SI)->getNumber()); in runOnMachineFunction()
88 for (MachineBasicBlock::const_succ_iterator SI = MBB.succ_begin(), in WriteGraph()
89 SE = MBB.succ_end(); SI != SE; ++SI) in WriteGraph()
91 << printMBBReference(**SI) << "\" [ color=lightgray ]\n"; in WriteGraph()
H A DLiveIntervalUnion.cpp87 for (LiveSegments::const_iterator SI = Segments.begin(); SI.valid(); ++SI) { in print()
88 OS << " [" << SI.start() << ' ' << SI.stop() << "):" in print()
89 << printReg(SI.value()->reg, TRI); in print()
97 for (SegmentIter SI = Segments.begin(); SI.valid(); ++SI) in verify()
98 VisitedVRegs.set(SI in verify()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/
H A DARCExpandPseudos.cpp61 MachineInstr &SI = *SII; in ExpandStore() local
64 isUInt<6>(SI.getOperand(2).getImm()) ? ARC::ADD_rru6 : ARC::ADD_rrlimm; in ExpandStore()
65 BuildMI(*SI.getParent(), SI, SI.getDebugLoc(), TII->get(AddOpc), AddrReg) in ExpandStore()
66 .addReg(SI.getOperand(1).getReg()) in ExpandStore()
67 .addImm(SI.getOperand(2).getImm()); in ExpandStore()
68 BuildMI(*SI.getParent(), SI, SI in ExpandStore()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
H A DSetOperations.h25 for (typename S2Ty::const_iterator SI = S2.begin(), SE = S2.end(); in set_union()
26 SI != SE; ++SI) in set_union()
27 if (S1.insert(*SI).second) in set_union()
52 for (typename S1Ty::const_iterator SI = S1.begin(), SE = S1.end(); in set_difference()
53 SI != SE; ++SI) in set_difference()
54 if (!S2.count(*SI)) // if the element is not in set2 in set_difference()
55 Result.insert(*SI); in set_difference()
63 for (typename S2Ty::const_iterator SI in set_subtract()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp114 for (Instruction *SI : TheStores) in isProfitableToUseMemset()
115 if (!isa<StoreInst>(SI)) in isProfitableToUseMemset()
167 if (StoreInst *SI = dyn_cast<StoreInst>(Inst)) in addInst()
168 addStore(OffsetFromFirst, SI); in addInst()
173 void addStore(int64_t OffsetFromFirst, StoreInst *SI) { in addStore() argument
174 int64_t StoreSize = DL.getTypeStoreSize(SI->getOperand(0)->getType()); in addStore()
177 SI->getPointerOperand(), SI->getAlignment(), SI); in addStore()
397 LLVM_DEBUG(dbgs() << "Replace stores:\n"; for (Instruction *SI in tryMergingIntoMemset()
416 findStoreAlignment(const DataLayout &DL, const StoreInst *SI) findStoreAlignment() argument
426 findCommonAlignment(const DataLayout &DL, const StoreInst *SI, const LoadInst *LI) findCommonAlignment() argument
437 moveUp(AliasAnalysis &AA, StoreInst *SI, Instruction *P, const LoadInst *LI) moveUp() argument
527 processStore(StoreInst *SI, BasicBlock::iterator &BBI) processStore() argument
[all...]
H A DCorrelatedValuePropagation.cpp228 SelectInst *SI = dyn_cast<SelectInst>(Incoming); in processPHI() local
229 if (!SI) continue; in processPHI()
231 Value *Condition = SI->getCondition(); in processPHI()
236 V = SI->getTrueValue(); in processPHI()
238 V = SI->getFalseValue(); in processPHI()
250 Constant *C = dyn_cast<Constant>(SI->getFalseValue()); in processPHI()
253 if (LVI->getPredicateOnEdge(ICmpInst::ICMP_EQ, SI, C, in processPHI()
257 V = SI->getTrueValue(); in processPHI()
260 LLVM_DEBUG(dbgs() << "CVP: Threading PHI over " << *SI << '\n'); in processPHI()
360 SwitchInstProfUpdateWrapper SI(* in processSwitch()
519 processSaturatingInst(SaturatingInst *SI, LazyValueInfo *LVI) processSaturatingInst() argument
[all...]
H A DSROA.cpp368 iterator SI, SJ; member in llvm::sroa::Partition
375 Partition(iterator SI) : SI(SI), SJ(SI) {} in Partition() argument
398 bool empty() const { return SI == SJ; }
409 iterator begin() const { return SI; }
448 partition_iterator(AllocaSlices::iterator SI, AllocaSlices::iterator SE)
449 : P(SI), SE(SE) {
452 if (SI !
392 assert(BeginOffset < EndOffset && �); return EndOffset - BeginOffset; } bool empty() const { return SI == SJ; } iterator begin() const { return SI; } iterator end() const { return SJ; } ArrayRef<Slice *> splitSliceTails() const { return SplitTails; } }; class AllocaSlices::partition_iterator : public iterator_facade_base<partition_iterator, std::forward_iterator_tag, Partition> { friend class AllocaSlices; Partition P; AllocaSlices::iterator SE; uint64_t MaxSplitSliceEndOffset = 0; partition_iterator(AllocaSlices::iterator SI, AllocaSlices::iterator SE) : P(SI), SE(SE) { if (SI != SE) advance(); } void advance() { assert((P.SI != SE || !P.SplitTails.empty()) && �); if (!P.SplitTails.empty()) { if (P.EndOffset >= MaxSplitSliceEndOffset) size() argument
[all...]
H A DLowerExpectIntrinsic.cpp58 static bool handleSwitchExpect(SwitchInst &SI) { in handleSwitchExpect() argument
59 CallInst *CI = dyn_cast<CallInst>(SI.getCondition()); in handleSwitchExpect()
72 SwitchInst::CaseHandle Case = *SI.findCaseValue(ExpectedValue); in handleSwitchExpect()
73 unsigned n = SI.getNumCases(); // +1 for default case. in handleSwitchExpect()
76 uint64_t Index = (Case == *SI.case_default()) ? 0 : Case.getCaseIndex() + 1; in handleSwitchExpect()
79 SI.setMetadata( in handleSwitchExpect()
84 SI.setCondition(ArgValue); in handleSwitchExpect()
85 misexpect::checkFrontendInstrumentation(SI); in handleSwitchExpect()
87 SI.setMetadata(LLVMContext::MD_prof, in handleSwitchExpect()
330 } else if (SwitchInst *SI in lowerExpectIntrinsic()
[all...]
H A DLoopUnswitch.cpp152 // Since SI instruction can be partly unswitched, in order to avoid
154 void setUnswitched(const SwitchInst *SI, const Value *V);
157 bool isUnswitched(const SwitchInst *SI, const Value *V);
339 // Since SI instruction can be partly unswitched, in order to avoid
341 void LUAnalysisCache::setUnswitched(const SwitchInst *SI, const Value *V) { in setUnswitched() argument
342 (*CurLoopInstructions)[SI].insert(V); in setUnswitched()
346 bool LUAnalysisCache::isUnswitched(const SwitchInst *SI, const Value *V) { in isUnswitched() argument
347 return (*CurLoopInstructions)[SI].count(V); in isUnswitched()
616 auto hasUndefInSelect = [](SelectInst &SI) { in EqualityPropUnSafe()
617 if (isa<UndefValue>(SI in EqualityPropUnSafe()
1514 SwitchInst *SI = dyn_cast<SwitchInst>(UI); RewriteLoopBodyWithConditionConstant() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp394 void fixupSelect(SelectInst* SI,
697 SelectInst *SI, Region *R, in checkBiasedSelect()
702 if (!checkMDProf(SI->getMetadata(LLVMContext::MD_prof), in checkBiasedSelect()
705 CHR_DEBUG(dbgs() << "SI " << *SI << " "); in checkBiasedSelect()
708 return checkBias(SI, TrueProb, FalseProb, in checkBiasedSelect()
722 for (SelectInst *SI : RI.Selects) { in getBranchInsertPoint()
723 if (SI->getParent() == EntryBB) { in getBranchInsertPoint()
726 HoistPoint = SI; in getBranchInsertPoint()
735 for (SelectInst *SI in getBranchInsertPoint()
696 checkBiasedSelect( SelectInst *SI, Region *R, DenseSet<SelectInst *> &TrueBiasedSelectsGlobal, DenseSet<SelectInst *> &FalseBiasedSelectsGlobal, DenseMap<SelectInst *, BranchProbability> &SelectBiasMap) checkBiasedSelect() argument
913 SelectInst *SI = *it; checkScopeHoistable() local
1932 fixupSelect(SelectInst *SI, CHRScope *Scope, IRBuilder<> &IRB, Value *&MergedCondition, BranchProbability &CHRBranchBias) fixupSelect() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
H A DPPCQPXLoadSplat.cpp80 for (auto SI = Splats.begin(); SI != Splats.end();) { in runOnMachineFunction()
81 MachineInstr *SMI = *SI; in runOnMachineFunction()
88 SI = Splats.erase(SI); in runOnMachineFunction()
113 SI = Splats.erase(SI); in runOnMachineFunction()
137 SI = Splats.erase(SI); in runOnMachineFunction()
141 ++SI; in runOnMachineFunction()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp201 bool SimplifySwitch(SwitchInst *SI, IRBuilder<> &Builder);
684 if (SwitchInst *SI = dyn_cast<SwitchInst>(TI)) { in EraseTerminatorAndDCECond()
685 Cond = dyn_cast<Instruction>(SI->getCondition()); in EraseTerminatorAndDCECond()
702 if (SwitchInst *SI = dyn_cast<SwitchInst>(TI)) { in isValueEqualityComparison()
705 if (!SI->getParent()->hasNPredecessorsOrMore(128 / SI->getNumSuccessors())) in isValueEqualityComparison()
706 CV = SI->getCondition(); in isValueEqualityComparison()
729 if (SwitchInst *SI = dyn_cast<SwitchInst>(TI)) { in GetValueEqualityComparisonCases()
730 Cases.reserve(SI->getNumCases()); in GetValueEqualityComparisonCases()
731 for (auto Case : SI in GetValueEqualityComparisonCases()
789 setBranchWeights(SwitchInst *SI, ArrayRef<uint32_t> Weights) setBranchWeights() argument
870 SwitchInstProfUpdateWrapper SI = *cast<SwitchInst>(TI); SimplifyEqualityComparisonWithOnlyPredecessor() local
1406 SelectInst *&SI = InsertedSelects[std::make_pair(BB1V, BB2V)]; HoistThenElseCodeToIf() local
3084 StoreInst *SI = cast<StoreInst>(QB.CreateStore(QPHI, Address)); mergeConditionalStoreToAddress() local
3580 SimplifySwitchOnSelect(SwitchInst *SI, SelectInst *Select) SimplifySwitchOnSelect() argument
3616 SimplifyIndirectBrOnSelect(IndirectBrInst *IBI, SelectInst *SI) SimplifyIndirectBrOnSelect() argument
4396 TurnSwitchRangeIntoICmp(SwitchInst *SI, IRBuilder<> &Builder) TurnSwitchRangeIntoICmp() argument
4515 eliminateDeadSwitchCases(SwitchInst *SI, AssumptionCache *AC, const DataLayout &DL) eliminateDeadSwitchCases() argument
4607 ForwardSwitchConditionToPHI(SwitchInst *SI) ForwardSwitchConditionToPHI() argument
4737 GetCaseResults(SwitchInst *SI, ConstantInt *CaseVal, BasicBlock *CaseDest, BasicBlock **CommonDest, SmallVectorImpl<std::pair<PHINode *, Constant *>> &Res, const DataLayout &DL, const TargetTransformInfo &TTI) GetCaseResults() argument
4827 InitializeUniqueCases(SwitchInst *SI, PHINode *&PHI, BasicBlock *&CommonDest, SwitchCaseResultVectorTy &UniqueResults, Constant *&DefaultResult, const DataLayout &DL, const TargetTransformInfo &TTI, uintptr_t MaxUniqueResults, uintptr_t MaxCasesPerResult) InitializeUniqueCases() argument
4921 RemoveSwitchAfterSelectConversion(SwitchInst *SI, PHINode *PHI, Value *SelectValue, IRBuilder<> &Builder) RemoveSwitchAfterSelectConversion() argument
4945 switchToSelect(SwitchInst *SI, IRBuilder<> &Builder, const DataLayout &DL, const TargetTransformInfo &TTI) switchToSelect() argument
5224 ShouldBuildLookupTable(SwitchInst *SI, uint64_t TableSize, const TargetTransformInfo &TTI, const DataLayout &DL, const SmallDenseMap<PHINode *, Type *> &ResultTypes) ShouldBuildLookupTable() argument
5350 SwitchToLookupTable(SwitchInst *SI, IRBuilder<> &Builder, const DataLayout &DL, const TargetTransformInfo &TTI) SwitchToLookupTable() argument
5609 ReduceSwitchRange(SwitchInst *SI, IRBuilder<> &Builder, const DataLayout &DL, const TargetTransformInfo &TTI) ReduceSwitchRange() argument
5692 SimplifySwitch(SwitchInst *SI, IRBuilder<> &Builder) SimplifySwitch() argument
[all...]
H A DLowerSwitch.cpp102 void processSwitchInst(SwitchInst *SI,
114 unsigned Clusterify(CaseVector &Cases, SwitchInst *SI);
170 if (SwitchInst *SI = dyn_cast<SwitchInst>(Cur->getTerminator())) { in runOnFunction()
172 processSwitchInst(SI, DeleteList, AC, LVI); in runOnFunction()
397 /// Transform simple list of \p SI's cases into list of CaseRange's \p Cases.
398 /// \post \p Cases wouldn't contain references to \p SI's default BB.
399 /// \returns Number of \p SI's cases that do not reference \p SI's default BB.
400 unsigned LowerSwitch::Clusterify(CaseVector& Cases, SwitchInst *SI) { in Clusterify() argument
404 for (auto Case : SI in Clusterify()
441 processSwitchInst(SwitchInst *SI, SmallPtrSetImpl<BasicBlock *> &DeleteList, AssumptionCache *AC, LazyValueInfo *LVI) processSwitchInst() argument
[all...]
/third_party/skia/src/opts/
H A DSkRasterPipeline_opts.h16 // Every function in this file should be marked static and inline using SI.
18 #define SI __attribute__((always_inline)) static inline macro
20 #define SI static inline macro
24 SI Dst widen_cast(const Src& src) { in widen_cast()
38 SI void* load_and_inc(void**& program) { in load_and_inc()
124 SI F mad(F f, F m, F a) { return f*m+a; } in mad()
125 SI F min(F a, F b) { return fminf(a,b); } in min()
126 SI F max(F a, F b) { return fmaxf(a,b); } in max()
127 SI F abs_ (F v) { return fabsf(v); } in abs_()
128 SI in abs_()
4352 #undef SI global() macro
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
H A DGCNRegPressure.cpp36 void llvm::printLivesAt(SlotIndex SI, in printLivesAt() argument
39 dbgs() << "Live regs at " << SI << ": " in printLivesAt()
40 << *LIS.getInstructionFromIndex(SI); in printLivesAt()
50 if (!S.liveAt(SI)) continue; in printLivesAt()
59 } else if (LI.liveAt(SI)) { in printLivesAt()
225 auto SI = LIS.getInstructionIndex(*MO.getParent()).getBaseIndex();
226 return getLiveLaneMask(MO.getReg(), SI, LIS, MRI);
257 SlotIndex SI,
264 if (S.liveAt(SI)) {
269 } else if (LI.liveAt(SI)) {
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
H A DNVPTXLowerAggrCopies.cpp79 if (StoreInst *SI = dyn_cast<StoreInst>(LI->user_back())) { in runOnFunction()
80 if (SI->getOperand(0) != LI) in runOnFunction()
106 auto *SI = cast<StoreInst>(*LI->user_begin()); in runOnFunction() local
108 Value *DstAddr = SI->getOperand(1); in runOnFunction()
113 createMemCpyLoopKnownSize(/* ConvertedInst */ SI, in runOnFunction()
117 /* DestAlign */ SI->getAlignment(), in runOnFunction()
119 /* DstIsVolatile */ SI->isVolatile(), TTI); in runOnFunction()
121 SI->eraseFromParent(); in runOnFunction()
H A DNVPTXLowerAlloca.cpp96 auto SI = dyn_cast<StoreInst>(AllocaUse.getUser()); in runOnFunction() local
97 if (SI && SI->getPointerOperand() == allocaInst && in runOnFunction()
98 !SI->isVolatile()) { in runOnFunction()
99 SI->setOperand(SI->getPointerOperandIndex(), NewASCToGeneric); in runOnFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp310 section_iterator SI = Obj.section_end(); in loadObjectImpl() local
312 SI = *SIOrErr; in loadObjectImpl()
316 if (SI == Obj.section_end()) in loadObjectImpl()
321 if (auto Err = getOffset(*I, *SI, SectOffset)) in loadObjectImpl()
324 bool IsCode = SI->isText(); in loadObjectImpl()
327 findOrEmitSection(Obj, *SI, IsCode, LocalSections)) in loadObjectImpl()
348 for (section_iterator SI = Obj.section_begin(), SE = Obj.section_end(); in loadObjectImpl()
349 SI != SE; ++SI) { in loadObjectImpl()
352 Expected<section_iterator> RelSecOrErr = SI in loadObjectImpl()
[all...]

Completed in 27 milliseconds

12345678910>>...13