Home
last modified time | relevance | path

Searched refs:CIdx (Results 1 – 8 of 8) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DFlattenCFG.cpp209 int CIdx = (PS1 == BB) ? 0 : 1; in FlattenParallelAndOr() local
212 Idx = CIdx; in FlattenParallelAndOr()
213 else if (CIdx != Idx) in FlattenParallelAndOr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantFold.cpp795 auto *CIdx = dyn_cast<ConstantInt>(Idx); in ConstantFoldExtractElementInstruction() local
796 if (!CIdx) in ConstantFoldExtractElementInstruction()
800 if (CIdx->uge(Val->getType()->getVectorNumElements())) in ConstantFoldExtractElementInstruction()
824 return Val->getAggregateElement(CIdx); in ConstantFoldExtractElementInstruction()
833 ConstantInt *CIdx = dyn_cast<ConstantInt>(Idx); in ConstantFoldInsertElementInstruction() local
834 if (!CIdx) return nullptr; in ConstantFoldInsertElementInstruction()
843 if (CIdx->uge(NumElts)) in ConstantFoldInsertElementInstruction()
849 uint64_t IdxVal = CIdx->getZExtValue(); in ConstantFoldInsertElementInstruction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DInlineSpiller.cpp1208 SlotIndex CIdx = LIS.getInstructionIndex(*CurrentSpill); in rmRedundantSpills() local
1209 MachineInstr *SpillToRm = (CIdx > PIdx) ? CurrentSpill : PrevSpill; in rmRedundantSpills()
1210 MachineInstr *SpillToKeep = (CIdx > PIdx) ? PrevSpill : CurrentSpill; in rmRedundantSpills()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DBasicAliasAnalysis.cpp556 if (const ConstantInt *CIdx = dyn_cast<ConstantInt>(Index)) { in DecomposeGEPExpression() local
557 if (CIdx->isZero()) in DecomposeGEPExpression()
561 CIdx->getValue().sextOrSelf(MaxPointerSize)) in DecomposeGEPExpression()
DInstructionSimplify.cpp4262 if (auto *CIdx = dyn_cast<Constant>(Idx)) in SimplifyExtractElementInst() local
4263 return ConstantFoldExtractElementInstruction(CVec, CIdx); in SimplifyExtractElementInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp753 auto *CIdx = dyn_cast<ConstantSDNode>(Op.getOperand(2)); in SimplifyMultipleUseDemandedBits() local
755 if (CIdx && CIdx->getAPIntValue().ult(VecVT.getVectorNumElements()) && in SimplifyMultipleUseDemandedBits()
756 !DemandedElts[CIdx->getZExtValue()]) in SimplifyMultipleUseDemandedBits()
886 auto *CIdx = dyn_cast<ConstantSDNode>(Op.getOperand(2)); in SimplifyDemandedBits() local
892 if (CIdx && CIdx->getAPIntValue().ult(VecVT.getVectorNumElements())) { in SimplifyDemandedBits()
893 unsigned Idx = CIdx->getZExtValue(); in SimplifyDemandedBits()
1862 if (auto *CIdx = dyn_cast<ConstantSDNode>(Idx)) in SimplifyDemandedBits() local
1863 if (CIdx->getAPIntValue().ult(NumSrcElts)) in SimplifyDemandedBits()
1864 DemandedSrcElts = APInt::getOneBitSet(NumSrcElts, CIdx->getZExtValue()); in SimplifyDemandedBits()
2379 auto *CIdx = dyn_cast<ConstantSDNode>(Op.getOperand(2)); in SimplifyDemandedVectorElts() local
[all …]
DLegalizeVectorTypes.cpp1413 if (ConstantSDNode *CIdx = dyn_cast<ConstantSDNode>(Idx)) { in SplitVecRes_INSERT_VECTOR_ELT() local
1414 unsigned IdxVal = CIdx->getZExtValue(); in SplitVecRes_INSERT_VECTOR_ELT()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp20619 unsigned CIdx = cast<ConstantSDNode>(Idx)->getZExtValue(); in matchScalarReduction() local
20620 if (M->second[CIdx]) in matchScalarReduction()
20622 M->second.setBit(CIdx); in matchScalarReduction()
35974 auto *CIdx = dyn_cast<ConstantSDNode>(Op.getOperand(1)); in SimplifyDemandedBitsForTargetNode() local
35978 if (CIdx && CIdx->getAPIntValue().ult(NumVecElts)) { in SimplifyDemandedBitsForTargetNode()
35979 unsigned Idx = CIdx->getZExtValue(); in SimplifyDemandedBitsForTargetNode()
36013 auto *CIdx = dyn_cast<ConstantSDNode>(Op.getOperand(2)); in SimplifyDemandedBitsForTargetNode() local
36016 if (CIdx && CIdx->getAPIntValue().ult(VecVT.getVectorNumElements())) { in SimplifyDemandedBitsForTargetNode()
36017 unsigned Idx = CIdx->getZExtValue(); in SimplifyDemandedBitsForTargetNode()
36117 auto *CIdx = dyn_cast<ConstantSDNode>(Op.getOperand(2)); in SimplifyMultipleUseDemandedBitsForTargetNode() local
[all …]