/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | EarlyCSE.cpp | 1114 LoadValue InVal = AvailableLoads.lookup(MemInst.getPointerOperand()); in processNode() local 1115 if (InVal.DefInst != nullptr && in processNode() 1116 InVal.MatchingId == MemInst.getMatchingId() && in processNode() 1120 InVal.IsAtomic >= MemInst.isAtomic() && in processNode() 1121 (isOperatingOnInvariantMemAt(Inst, InVal.Generation) || in processNode() 1122 isSameMemGeneration(InVal.Generation, CurrentGeneration, in processNode() 1123 InVal.DefInst, Inst))) { in processNode() 1124 Value *Op = getOrCreateResult(InVal.DefInst, Inst->getType()); in processNode() 1127 << " to: " << *InVal.DefInst << '\n'); in processNode() 1165 std::pair<Instruction *, unsigned> InVal = AvailableCalls.lookup(Inst); in processNode() local [all …]
|
D | RewriteStatepointsForGC.cpp | 815 auto visitIncomingValue = [&](Value *InVal) { in findBasePointer() argument 816 Value *Base = findBaseOrBDV(InVal, Cache); in findBasePointer() 827 for (Value *InVal : PN->incoming_values()) in findBasePointer() 828 visitIncomingValue(InVal); in findBasePointer() 1041 Value *InVal = PN->getIncomingValue(i); in findBasePointer() local 1059 Value *Base = getBaseForInput(InVal, nullptr); in findBasePointer() 1075 Value *Base = getBaseForInput(InVal, InBB->getTerminator()); in findBasePointer() 1089 Value *InVal = cast<ExtractElementInst>(BDV)->getVectorOperand(); in findBasePointer() local 1092 BaseEE->setOperand(0, getBaseForInput(InVal, BaseEE)); in findBasePointer() 1096 Value *InVal = BdvIE->getOperand(OperandIdx); in findBasePointer() local [all …]
|
D | SimplifyCFGPass.cpp | 124 Value *InVal = cast<ReturnInst>(RetBlock->getTerminator())->getOperand(0); in mergeEmptyReturnBlocks() local 131 RetBlockPHI->addIncoming(InVal, *PI); in mergeEmptyReturnBlocks()
|
D | JumpThreading.cpp | 653 Value *InVal = PN->getIncomingValue(i); in ComputeValueKnownInPredecessorsImpl() local 654 if (Constant *KC = getKnownConstant(InVal, Preference)) { in ComputeValueKnownInPredecessorsImpl() 657 Constant *CI = LVI->getConstantOnEdge(InVal, in ComputeValueKnownInPredecessorsImpl()
|
D | IndVarSimplify.cpp | 625 Value *InVal = PN->getIncomingValue(i); in rewriteLoopExitValues() local 626 if (!isa<Instruction>(InVal)) in rewriteLoopExitValues() 634 Instruction *Inst = cast<Instruction>(InVal); in rewriteLoopExitValues()
|
D | SROA.cpp | 1238 Value *InVal = PN.getIncomingValue(Idx); in isSafePHIToSpeculate() local 1243 if (TI == InVal || TI->mayHaveSideEffects()) in isSafePHIToSpeculate() 1254 if (isSafeToLoadUnconditionally(InVal, MaxAlign, MaxSize, DL, TI)) in isSafePHIToSpeculate() 1289 Value *InVal = PN.getIncomingValue(Idx); in speculatePHINodeLoads() local 1304 LoadTy, InVal, in speculatePHINodeLoads()
|
D | SCCP.cpp | 936 LatticeVal InVal = getValueState(Val); in visitInsertValueInst() local 937 mergeInValue(getStructValueState(&IVI, i), &IVI, InVal); in visitInsertValueInst()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 608 Value *InVal = FirstLI->getOperand(0); in FoldPHIArgLoadIntoPHI() local 609 NewPN->addIncoming(InVal, PN.getIncomingBlock(0)); in FoldPHIArgLoadIntoPHI() 634 if (NewInVal != InVal) in FoldPHIArgLoadIntoPHI() 635 InVal = nullptr; in FoldPHIArgLoadIntoPHI() 639 if (InVal) { in FoldPHIArgLoadIntoPHI() 642 NewLI->setOperand(0, InVal); in FoldPHIArgLoadIntoPHI() 795 Value *InVal = FirstInst->getOperand(0); in FoldPHIArgOpIntoPHI() local 796 NewPN->addIncoming(InVal, PN.getIncomingBlock(0)); in FoldPHIArgOpIntoPHI() 801 if (NewInVal != InVal) in FoldPHIArgOpIntoPHI() 802 InVal = nullptr; in FoldPHIArgOpIntoPHI() [all …]
|
D | InstructionCombining.cpp | 986 Value *InVal = PN->getIncomingValue(i); in foldOpIntoPhi() local 987 if (isa<Constant>(InVal) && !isa<ConstantExpr>(InVal)) in foldOpIntoPhi() 990 if (isa<PHINode>(InVal)) return nullptr; // Itself a phi. in foldOpIntoPhi() 997 if (isa<InvokeInst>(InVal)) in foldOpIntoPhi() 998 if (cast<Instruction>(InVal)->getParent() == NonConstBB) in foldOpIntoPhi()
|
D | InstCombineCasts.cpp | 1864 static Instruction *optimizeVectorResizeWithIntegerBitCasts(Value *InVal, in optimizeVectorResizeWithIntegerBitCasts() argument 1870 VectorType *SrcTy = cast<VectorType>(InVal->getType()); in optimizeVectorResizeWithIntegerBitCasts() 1882 InVal = IC.Builder.CreateBitCast(InVal, SrcTy); in optimizeVectorResizeWithIntegerBitCasts() 1934 return new ShuffleVectorInst(InVal, V2, in optimizeVectorResizeWithIntegerBitCasts()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | PHITransAddr.cpp | 365 InsertPHITranslatedSubExpr(Value *InVal, BasicBlock *CurBB, in InsertPHITranslatedSubExpr() argument 370 PHITransAddr Tmp(InVal, DL, AC); in InsertPHITranslatedSubExpr() 375 auto *Inst = dyn_cast<Instruction>(InVal); in InsertPHITranslatedSubExpr() 387 CastInst *New = CastInst::Create(Cast->getOpcode(), OpVal, InVal->getType(), in InsertPHITranslatedSubExpr() 388 InVal->getName() + ".phi.trans.insert", in InsertPHITranslatedSubExpr() 408 InVal->getName() + ".phi.trans.insert", PredBB->getTerminator()); in InsertPHITranslatedSubExpr() 429 InVal->getName()+".phi.trans.insert", in InsertPHITranslatedSubExpr()
|
D | DivergenceAnalysis.cpp | 170 const auto *InVal = Phi.getIncomingValue(i); in updatePHINode() local 172 isTemporalDivergent(*Phi.getParent(), *InVal)) { in updatePHINode()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | LoopUnroll.cpp | 624 Value *InVal = NewPHI->getIncomingValueForBlock(LatchBlock); in UnrollLoop() local 625 if (Instruction *InValI = dyn_cast<Instruction>(InVal)) in UnrollLoop() 627 InVal = LastValueMap[InValI]; in UnrollLoop() 628 VMap[OrigPHI] = InVal; in UnrollLoop() 701 Value *InVal = PN->removeIncomingValue(LatchBlock, false); in UnrollLoop() local 704 if (Instruction *InValI = dyn_cast<Instruction>(InVal)) { in UnrollLoop() 706 InVal = LastValueMap[InVal]; in UnrollLoop() 709 PN->addIncoming(InVal, Latches.back()); in UnrollLoop()
|
D | BasicBlockUtils.cpp | 653 Value *InVal = nullptr; in UpdatePHINodes() local 655 InVal = PN->getIncomingValueForBlock(Preds[0]); in UpdatePHINodes() 659 if (!InVal) in UpdatePHINodes() 660 InVal = PN->getIncomingValue(i); in UpdatePHINodes() 661 else if (InVal != PN->getIncomingValue(i)) { in UpdatePHINodes() 662 InVal = nullptr; in UpdatePHINodes() 668 if (InVal) { in UpdatePHINodes() 683 PN->addIncoming(InVal, NewBB); in UpdatePHINodes()
|
D | CloneFunction.cpp | 536 Value *InVal = MapValue(PN->getIncomingValue(pred), in CloneAndPruneIntoFromInst() local 539 assert(InVal && "Unknown input value?"); in CloneAndPruneIntoFromInst() 540 PN->setIncomingValue(pred, InVal); in CloneAndPruneIntoFromInst()
|
D | LoopUnrollRuntime.cpp | 392 Value *InVal = NewPHI->getIncomingValue(idx); in CloneLoopBlocks() local 394 if (Value *V = VMap.lookup(InVal)) in CloneLoopBlocks()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | PHITransAddr.h | 111 Value *InsertPHITranslatedSubExpr(Value *InVal, BasicBlock *CurBB,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | WinEHPrepare.cpp | 1122 Value *InVal; in insertPHIStores() local 1123 std::tie(EHBlock, InVal) = Worklist.pop_back_val(); in insertPHIStores() 1125 PHINode *PN = dyn_cast<PHINode>(InVal); in insertPHIStores() 1143 insertPHIStore(PredBlock, InVal, SpillSlot, Worklist); in insertPHIStores()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCInstrInfo.cpp | 2870 APInt InVal((Opc == PPC::RLDICL || Opc == PPC::RLDICL_rec) ? 64 : 32, in convertToImmediateForm() local 2872 InVal = InVal.rotl(SH); in convertToImmediateForm() 2874 InVal &= Mask; in convertToImmediateForm() 2878 if (isUInt<15>(InVal.getSExtValue()) || in convertToImmediateForm() 2879 (Opc == PPC::RLDICL_rec && isUInt<16>(InVal.getSExtValue()))) { in convertToImmediateForm() 2882 NewImm = InVal.getSExtValue(); in convertToImmediateForm() 2895 APInt InVal(32, SExtImm, true); in convertToImmediateForm() local 2896 InVal = InVal.rotl(SH); in convertToImmediateForm() 2899 InVal &= Mask; in convertToImmediateForm() 2903 bool ValueFits = isUInt<15>(InVal.getSExtValue()); in convertToImmediateForm() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/Utils/ |
D | X86ShuffleDecode.cpp | 36 unsigned InVal = 4 + CountS; in DecodeINSERTPSMask() local 38 ShuffleMask[CountD] = InVal; in DecodeINSERTPSMask()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | R600ISelLowering.cpp | 1889 SDValue InVal = N->getOperand(1); in PerformDAGCombine() local 1893 if (InVal.isUndef()) in PerformDAGCombine() 1916 Ops.append(NElts, DAG.getUNDEF(InVal.getValueType())); in PerformDAGCombine() 1926 if (InVal.getValueType() != OpVT) in PerformDAGCombine() 1927 InVal = OpVT.bitsGT(InVal.getValueType()) ? in PerformDAGCombine() 1928 DAG.getNode(ISD::ANY_EXTEND, DL, OpVT, InVal) : in PerformDAGCombine() 1929 DAG.getNode(ISD::TRUNCATE, DL, OpVT, InVal); in PerformDAGCombine() 1930 Ops[Elt] = InVal; in PerformDAGCombine()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 1139 Value *InVal = PN->getIncomingValue(op); in AllGlobalLoadUsesSimpleEnoughForHeapSRA() local 1142 if (InVal == StoredVal) continue; in AllGlobalLoadUsesSimpleEnoughForHeapSRA() 1144 if (const PHINode *InPN = dyn_cast<PHINode>(InVal)) { in AllGlobalLoadUsesSimpleEnoughForHeapSRA() 1152 if (const LoadInst *LI = dyn_cast<LoadInst>(InVal)) in AllGlobalLoadUsesSimpleEnoughForHeapSRA() 1446 Value *InVal = PN->getIncomingValue(i); in PerformHeapAllocSRoA() local 1447 InVal = GetHeapSROAValue(InVal, FieldNo, InsertedScalarizedValues, in PerformHeapAllocSRoA() 1449 FieldPN->addIncoming(InVal, PN->getIncomingBlock(i)); in PerformHeapAllocSRoA()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/ |
D | MSP430ISelLowering.cpp | 677 SDValue InVal; in LowerCCCArguments() local 683 InVal = DAG.getFrameIndex(FI, getPointerTy(DAG.getDataLayout())); in LowerCCCArguments() 698 InVal = DAG.getLoad( in LowerCCCArguments() 703 InVals.push_back(InVal); in LowerCCCArguments()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMInstrVFP.td | 49 APFloat InVal = N->getValueAPF(); 50 uint32_t enc = ARM_AM::getFP16Imm(InVal); 58 APFloat InVal = N->getValueAPF(); 59 uint32_t enc = ARM_AM::getFP32Imm(InVal); 81 APFloat InVal = N->getValueAPF(); 82 uint32_t enc = ARM_AM::getFP64Imm(InVal);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 16851 SDValue InVal = N->getOperand(1); in visitINSERT_VECTOR_ELT() local 16865 if (InVal.getOpcode() == ISD::EXTRACT_VECTOR_ELT && in visitINSERT_VECTOR_ELT() 16866 InVec == InVal.getOperand(0) && EltNo == InVal.getOperand(1)) in visitINSERT_VECTOR_ELT() 16874 SmallVector<SDValue, 8> Ops(NumElts, InVal); in visitINSERT_VECTOR_ELT() 16898 InVec.getOperand(0), InVal, EltNo); in visitINSERT_VECTOR_ELT() 16919 Ops.append(NumElts, DAG.getUNDEF(InVal.getValueType())); in visitINSERT_VECTOR_ELT() 16930 Ops[Elt] = OpVT.isInteger() ? DAG.getAnyExtOrTrunc(InVal, DL, OpVT) : InVal; in visitINSERT_VECTOR_ELT() 19518 SDValue InVal = N->getOperand(0); in visitSCALAR_TO_VECTOR() local 19523 if (InVal.getOpcode() == ISD::EXTRACT_VECTOR_ELT) { in visitSCALAR_TO_VECTOR() 19524 SDValue InVec = InVal->getOperand(0); in visitSCALAR_TO_VECTOR() [all …]
|