/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 352 Value *InVal = FirstLI->getOperand(0); in FoldPHIArgLoadIntoPHI() local 353 NewPN->addIncoming(InVal, PN.getIncomingBlock(0)); in FoldPHIArgLoadIntoPHI() 358 if (NewInVal != InVal) in FoldPHIArgLoadIntoPHI() 359 InVal = nullptr; in FoldPHIArgLoadIntoPHI() 364 if (InVal) { in FoldPHIArgLoadIntoPHI() 367 PhiVal = InVal; in FoldPHIArgLoadIntoPHI() 460 Value *InVal = FirstInst->getOperand(0); in FoldPHIArgOpIntoPHI() local 461 NewPN->addIncoming(InVal, PN.getIncomingBlock(0)); in FoldPHIArgOpIntoPHI() 466 if (NewInVal != InVal) in FoldPHIArgOpIntoPHI() 467 InVal = nullptr; in FoldPHIArgOpIntoPHI() [all …]
|
D | InstCombineCasts.cpp | 1517 static Instruction *OptimizeVectorResize(Value *InVal, VectorType *DestTy, in OptimizeVectorResize() argument 1522 VectorType *SrcTy = cast<VectorType>(InVal->getType()); in OptimizeVectorResize() 1534 InVal = IC.Builder->CreateBitCast(InVal, SrcTy); in OptimizeVectorResize() 1564 return new ShuffleVectorInst(InVal, V2, in OptimizeVectorResize()
|
D | InstructionCombining.cpp | 750 Value *InVal = PN->getIncomingValue(i); in FoldOpIntoPhi() local 751 if (isa<Constant>(InVal) && !isa<ConstantExpr>(InVal)) in FoldOpIntoPhi() 754 if (isa<PHINode>(InVal)) return nullptr; // Itself a phi. in FoldOpIntoPhi() 761 if (InvokeInst *II = dyn_cast<InvokeInst>(InVal)) in FoldOpIntoPhi()
|
/external/llvm/lib/Transforms/Scalar/ |
D | EarlyCSE.cpp | 472 std::pair<Value*, unsigned> InVal = in INITIALIZE_PASS_DEPENDENCY() local 474 if (InVal.first != nullptr && InVal.second == CurrentGeneration) { in INITIALIZE_PASS_DEPENDENCY() 476 << *InVal.first << '\n'); in INITIALIZE_PASS_DEPENDENCY() 477 if (!Inst->use_empty()) Inst->replaceAllUsesWith(InVal.first); in INITIALIZE_PASS_DEPENDENCY() 499 std::pair<Value*, unsigned> InVal = AvailableCalls->lookup(Inst); in INITIALIZE_PASS_DEPENDENCY() local 500 if (InVal.first != nullptr && InVal.second == CurrentGeneration) { in INITIALIZE_PASS_DEPENDENCY() 502 << *InVal.first << '\n'); in INITIALIZE_PASS_DEPENDENCY() 503 if (!Inst->use_empty()) Inst->replaceAllUsesWith(InVal.first); in INITIALIZE_PASS_DEPENDENCY()
|
D | SimplifyCFGPass.cpp | 124 Value *InVal = cast<ReturnInst>(RetBlock->getTerminator())->getOperand(0); in mergeEmptyReturnBlocks() local 131 RetBlockPHI->addIncoming(InVal, *PI); in mergeEmptyReturnBlocks()
|
D | IndVarSimplify.cpp | 537 Value *InVal = PN->getIncomingValue(i); in RewriteLoopExitValues() local 538 if (!isa<Instruction>(InVal)) in RewriteLoopExitValues() 546 Instruction *Inst = cast<Instruction>(InVal); in RewriteLoopExitValues()
|
D | JumpThreading.cpp | 395 Value *InVal = PN->getIncomingValue(i); in ComputeValueKnownInPredecessors() local 396 if (Constant *KC = getKnownConstant(InVal, Preference)) { in ComputeValueKnownInPredecessors() 399 Constant *CI = LVI->getConstantOnEdge(InVal, in ComputeValueKnownInPredecessors()
|
D | SROA.cpp | 1117 Value *InVal = PN.getIncomingValue(Idx); in isSafePHIToSpeculate() local 1122 if (TI == InVal || TI->mayHaveSideEffects()) in isSafePHIToSpeculate() 1133 if (InVal->isDereferenceablePointer(DL) || in isSafePHIToSpeculate() 1134 isSafeToLoadUnconditionally(InVal, TI, MaxAlign, DL)) in isSafePHIToSpeculate() 1168 Value *InVal = PN.getIncomingValue(Idx); in speculatePHINodeLoads() local 1172 InVal, (PN.getName() + ".sroa.speculate.load." + Pred->getName())); in speculatePHINodeLoads()
|
D | ScalarReplAggregates.cpp | 1211 Value *InVal = PN->getIncomingValue(i); in isSafePHIToSpeculate() local 1220 if (Pred->getTerminator() == InVal) in isSafePHIToSpeculate() 1229 if (InVal->isDereferenceablePointer(DL) || in isSafePHIToSpeculate() 1230 isSafeToLoadUnconditionally(InVal, Pred->getTerminator(), MaxAlign, DL)) in isSafePHIToSpeculate()
|
D | SCCP.cpp | 805 LatticeVal InVal = getValueState(Val); in visitInsertValueInst() local 806 mergeInValue(getStructValueState(&IVI, i), &IVI, InVal); in visitInsertValueInst()
|
/external/llvm/lib/Transforms/Utils/ |
D | LoopUnroll.cpp | 306 Value *InVal = NewPHI->getIncomingValueForBlock(LatchBlock); in UnrollLoop() local 307 if (Instruction *InValI = dyn_cast<Instruction>(InVal)) in UnrollLoop() 309 InVal = LastValueMap[InValI]; in UnrollLoop() 310 VMap[OrigPHINode[i]] = InVal; in UnrollLoop() 361 Value *InVal = PN->removeIncomingValue(LatchBlock, false); in UnrollLoop() local 364 if (Instruction *InValI = dyn_cast<Instruction>(InVal)) { in UnrollLoop() 366 InVal = LastValueMap[InVal]; in UnrollLoop() 369 PN->addIncoming(InVal, Latches.back()); in UnrollLoop()
|
D | LoopUnrollRuntime.cpp | 179 Value *InVal = NewPHI->getIncomingValue(idx); in CloneLoopBlocks() local 180 if (Instruction *I = dyn_cast<Instruction>(InVal)) in CloneLoopBlocks() 182 InVal = LVMap[InVal]; in CloneLoopBlocks() 183 NewPHI->setIncomingValue(idx, InVal); in CloneLoopBlocks()
|
D | BasicBlockUtils.cpp | 394 Value *InVal = nullptr; in UpdatePHINodes() local 396 InVal = PN->getIncomingValueForBlock(Preds[0]); in UpdatePHINodes() 400 if (!InVal) in UpdatePHINodes() 401 InVal = PN->getIncomingValue(i); in UpdatePHINodes() 402 else if (InVal != PN->getIncomingValue(i)) { in UpdatePHINodes() 403 InVal = nullptr; in UpdatePHINodes() 409 if (InVal) { in UpdatePHINodes() 424 PN->addIncoming(InVal, NewBB); in UpdatePHINodes()
|
D | CloneFunction.cpp | 493 Value *InVal = MapValue(PN->getIncomingValue(pred), in CloneAndPruneFunctionInto() local 496 assert(InVal && "Unknown input value?"); in CloneAndPruneFunctionInto() 497 PN->setIncomingValue(pred, InVal); in CloneAndPruneFunctionInto()
|
/external/llvm/lib/Analysis/ |
D | PHITransAddr.cpp | 367 InsertPHITranslatedSubExpr(Value *InVal, BasicBlock *CurBB, in InsertPHITranslatedSubExpr() argument 372 PHITransAddr Tmp(InVal, DL); in InsertPHITranslatedSubExpr() 378 Instruction *Inst = cast<Instruction>(InVal); in InsertPHITranslatedSubExpr() 389 OpVal, InVal->getType(), in InsertPHITranslatedSubExpr() 390 InVal->getName()+".phi.trans.insert", in InsertPHITranslatedSubExpr() 409 InVal->getName()+".phi.trans.insert", in InsertPHITranslatedSubExpr() 430 InVal->getName()+".phi.trans.insert", in InsertPHITranslatedSubExpr()
|
/external/llvm/lib/Target/X86/Utils/ |
D | X86ShuffleDecode.cpp | 37 unsigned InVal = 4+CountS; in DecodeINSERTPSMask() local 39 ShuffleMask[CountD] = InVal; in DecodeINSERTPSMask()
|
/external/llvm/include/llvm/Analysis/ |
D | PHITransAddr.h | 106 Value *InsertPHITranslatedSubExpr(Value *InVal, BasicBlock *CurBB,
|
/external/llvm/lib/Target/R600/ |
D | R600ISelLowering.cpp | 1881 SDValue InVal = N->getOperand(1); in PerformDAGCombine() local 1886 if (InVal.getOpcode() == ISD::UNDEF) in PerformDAGCombine() 1909 Ops.append(NElts, DAG.getUNDEF(InVal.getValueType())); in PerformDAGCombine() 1919 if (InVal.getValueType() != OpVT) in PerformDAGCombine() 1920 InVal = OpVT.bitsGT(InVal.getValueType()) ? in PerformDAGCombine() 1921 DAG.getNode(ISD::ANY_EXTEND, dl, OpVT, InVal) : in PerformDAGCombine() 1922 DAG.getNode(ISD::TRUNCATE, dl, OpVT, InVal); in PerformDAGCombine() 1923 Ops[Elt] = InVal; in PerformDAGCombine()
|
/external/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 1122 Value *InVal = PN->getIncomingValue(op); in AllGlobalLoadUsesSimpleEnoughForHeapSRA() local 1125 if (InVal == StoredVal) continue; in AllGlobalLoadUsesSimpleEnoughForHeapSRA() 1127 if (const PHINode *InPN = dyn_cast<PHINode>(InVal)) { in AllGlobalLoadUsesSimpleEnoughForHeapSRA() 1135 if (const LoadInst *LI = dyn_cast<LoadInst>(InVal)) in AllGlobalLoadUsesSimpleEnoughForHeapSRA() 1426 Value *InVal = PN->getIncomingValue(i); in PerformHeapAllocSRoA() local 1427 InVal = GetHeapSROAValue(InVal, FieldNo, InsertedScalarizedValues, in PerformHeapAllocSRoA() 1429 FieldPN->addIncoming(InVal, PN->getIncomingBlock(i)); in PerformHeapAllocSRoA()
|
/external/llvm/utils/TableGen/ |
D | DAGISelMatcherEmitter.cpp | 121 uint64_t InVal = Val; in EmitVBRValue() local 130 OS << "/*" << InVal << "*/"; in EmitVBRValue()
|
D | CodeGenDAGPatterns.cpp | 2865 TreePatternNode *InVal = InstInputsCheck[OpName]; in parseInstructionPattern() local 2868 if (InVal->isLeaf() && isa<DefInit>(InVal->getLeafValue())) { in parseInstructionPattern() 2869 Record *InRec = static_cast<DefInit*>(InVal->getLeafValue())->getDef(); in parseInstructionPattern() 2877 TreePatternNode *OpNode = InVal->clone(); in parseInstructionPattern()
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430ISelLowering.cpp | 488 SDValue InVal; in LowerCCCArguments() local 494 InVal = DAG.getFrameIndex(FI, getPointerTy()); in LowerCCCArguments() 509 InVal = DAG.getLoad(VA.getLocVT(), dl, Chain, FIN, in LowerCCCArguments() 514 InVals.push_back(InVal); in LowerCCCArguments()
|
/external/clang/lib/CodeGen/ |
D | CGExpr.cpp | 677 ComplexPairTy InVal = EmitLoadOfComplex(LV, E->getExprLoc()); in EmitComplexPrePostIncDec() local 680 if (isa<llvm::IntegerType>(InVal.first->getType())) { in EmitComplexPrePostIncDec() 682 NextVal = llvm::ConstantInt::get(InVal.first->getType(), AmountVal, true); in EmitComplexPrePostIncDec() 685 NextVal = Builder.CreateAdd(InVal.first, NextVal, isInc ? "inc" : "dec"); in EmitComplexPrePostIncDec() 694 NextVal = Builder.CreateFAdd(InVal.first, NextVal, isInc ? "inc" : "dec"); in EmitComplexPrePostIncDec() 697 ComplexPairTy IncVal(NextVal, InVal.second); in EmitComplexPrePostIncDec() 704 return isPre ? IncVal : InVal; in EmitComplexPrePostIncDec()
|
D | CGExprScalar.cpp | 309 llvm::Value *InVal, 1521 llvm::Value *InVal, in EmitAddConsiderOverflowBehavior() argument 1525 return Builder.CreateAdd(InVal, NextVal, IsInc ? "inc" : "dec"); in EmitAddConsiderOverflowBehavior() 1528 return Builder.CreateNSWAdd(InVal, NextVal, IsInc ? "inc" : "dec"); in EmitAddConsiderOverflowBehavior() 1532 BinOp.LHS = InVal; in EmitAddConsiderOverflowBehavior()
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 439 Value *InVal = PN->removeIncomingValue(BB, false); in EliminateMostlyEmptyBlock() local 443 PHINode *InValPhi = dyn_cast<PHINode>(InVal); in EliminateMostlyEmptyBlock() 454 PN->addIncoming(InVal, BBPN->getIncomingBlock(i)); in EliminateMostlyEmptyBlock() 457 PN->addIncoming(InVal, *PI); in EliminateMostlyEmptyBlock()
|