/external/llvm/lib/Transforms/Scalar/ |
D | EarlyCSE.cpp | 367 std::pair<Value*, unsigned> InVal = in INITIALIZE_PASS_DEPENDENCY() local 369 if (InVal.first != 0 && InVal.second == CurrentGeneration) { in INITIALIZE_PASS_DEPENDENCY() 371 << *InVal.first << '\n'); in INITIALIZE_PASS_DEPENDENCY() 372 if (!Inst->use_empty()) Inst->replaceAllUsesWith(InVal.first); in INITIALIZE_PASS_DEPENDENCY() 394 std::pair<Value*, unsigned> InVal = AvailableCalls->lookup(Inst); in INITIALIZE_PASS_DEPENDENCY() local 395 if (InVal.first != 0 && InVal.second == CurrentGeneration) { in INITIALIZE_PASS_DEPENDENCY() 397 << *InVal.first << '\n'); in INITIALIZE_PASS_DEPENDENCY() 398 if (!Inst->use_empty()) Inst->replaceAllUsesWith(InVal.first); in INITIALIZE_PASS_DEPENDENCY()
|
D | SimplifyCFGPass.cpp | 262 Value *InVal = cast<ReturnInst>(RetBlock->getTerminator())->getOperand(0); in MergeEmptyReturnBlocks() local 269 RetBlockPHI->addIncoming(InVal, *PI); in MergeEmptyReturnBlocks()
|
D | CodeGenPrepare.cpp | 308 Value *InVal = PN->removeIncomingValue(BB, false); in EliminateMostlyEmptyBlock() local 312 PHINode *InValPhi = dyn_cast<PHINode>(InVal); in EliminateMostlyEmptyBlock() 323 PN->addIncoming(InVal, BBPN->getIncomingBlock(i)); in EliminateMostlyEmptyBlock() 326 PN->addIncoming(InVal, *PI); in EliminateMostlyEmptyBlock()
|
D | JumpThreading.cpp | 365 Value *InVal = PN->getIncomingValue(i); in ComputeValueKnownInPredecessors() local 366 if (Constant *KC = getKnownConstant(InVal, Preference)) { in ComputeValueKnownInPredecessors() 369 Constant *CI = LVI->getConstantOnEdge(InVal, in ComputeValueKnownInPredecessors()
|
D | IndVarSimplify.cpp | 556 Value *InVal = PN->getIncomingValue(i); in RewriteLoopExitValues() local 557 if (!isa<Instruction>(InVal)) in RewriteLoopExitValues() 565 Instruction *Inst = cast<Instruction>(InVal); in RewriteLoopExitValues()
|
D | ScalarReplAggregates.cpp | 1266 Value *InVal = PN->getIncomingValue(i); in isSafePHIToSpeculate() local 1269 if (InvokeInst *II = dyn_cast<InvokeInst>(InVal)) in isSafePHIToSpeculate() 1275 if (InVal->isDereferenceablePointer() || in isSafePHIToSpeculate() 1276 isSafeToLoadUnconditionally(InVal, Pred->getTerminator(), MaxAlign, TD)) in isSafePHIToSpeculate()
|
D | SCCP.cpp | 854 LatticeVal InVal = getValueState(Val); in visitInsertValueInst() local 855 mergeInValue(getStructValueState(&IVI, i), &IVI, InVal); in visitInsertValueInst()
|
/external/llvm/lib/Transforms/Utils/ |
D | LoopUnroll.cpp | 238 Value *InVal = NewPHI->getIncomingValueForBlock(LatchBlock); in UnrollLoop() local 239 if (Instruction *InValI = dyn_cast<Instruction>(InVal)) in UnrollLoop() 241 InVal = LastValueMap[InValI]; in UnrollLoop() 242 VMap[OrigPHINode[i]] = InVal; in UnrollLoop() 302 Value *InVal = PN->removeIncomingValue(LatchBlock, false); in UnrollLoop() local 305 if (Instruction *InValI = dyn_cast<Instruction>(InVal)) { in UnrollLoop() 307 InVal = LastValueMap[InVal]; in UnrollLoop() 309 PN->addIncoming(InVal, LastIterationBB); in UnrollLoop()
|
D | BasicBlockUtils.cpp | 430 Value *InVal = 0; in SplitBlockPredecessors() local 432 InVal = PN->getIncomingValueForBlock(Preds[0]); in SplitBlockPredecessors() 434 if (InVal != PN->getIncomingValueForBlock(Preds[i])) { in SplitBlockPredecessors() 435 InVal = 0; in SplitBlockPredecessors() 440 if (InVal) { in SplitBlockPredecessors() 458 InVal = NewPHI; in SplitBlockPredecessors() 463 PN->addIncoming(InVal, NewBB); in SplitBlockPredecessors()
|
D | CloneFunction.cpp | 435 Value *InVal = MapValue(PN->getIncomingValue(pred), in CloneAndPruneFunctionInto() local 438 assert(InVal && "Unknown input value?"); in CloneAndPruneFunctionInto() 439 PN->setIncomingValue(pred, InVal); in CloneAndPruneFunctionInto()
|
D | SimplifyCFG.cpp | 2129 Value *InVal = PN->getIncomingValueForBlock(BB); in SimplifyBranchOnICmpChain() local 2131 PN->addIncoming(InVal, BB); in SimplifyBranchOnICmpChain()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 348 Value *InVal = FirstLI->getOperand(0); in FoldPHIArgLoadIntoPHI() local 349 NewPN->addIncoming(InVal, PN.getIncomingBlock(0)); in FoldPHIArgLoadIntoPHI() 354 if (NewInVal != InVal) in FoldPHIArgLoadIntoPHI() 355 InVal = 0; in FoldPHIArgLoadIntoPHI() 360 if (InVal) { in FoldPHIArgLoadIntoPHI() 363 PhiVal = InVal; in FoldPHIArgLoadIntoPHI() 456 Value *InVal = FirstInst->getOperand(0); in FoldPHIArgOpIntoPHI() local 457 NewPN->addIncoming(InVal, PN.getIncomingBlock(0)); in FoldPHIArgOpIntoPHI() 462 if (NewInVal != InVal) in FoldPHIArgOpIntoPHI() 463 InVal = 0; in FoldPHIArgOpIntoPHI() [all …]
|
D | InstructionCombining.cpp | 570 Value *InVal = PN->getIncomingValue(i); in FoldOpIntoPhi() local 571 if (isa<Constant>(InVal) && !isa<ConstantExpr>(InVal)) in FoldOpIntoPhi() 574 if (isa<PHINode>(InVal)) return 0; // Itself a phi. in FoldOpIntoPhi() 581 if (InvokeInst *II = dyn_cast<InvokeInst>(InVal)) in FoldOpIntoPhi()
|
D | InstCombineCasts.cpp | 1405 static Instruction *OptimizeVectorResize(Value *InVal, VectorType *DestTy, in OptimizeVectorResize() argument 1410 VectorType *SrcTy = cast<VectorType>(InVal->getType()); in OptimizeVectorResize() 1422 InVal = IC.Builder->CreateBitCast(InVal, SrcTy); in OptimizeVectorResize() 1453 return new ShuffleVectorInst(InVal, V2, ConstantVector::get(ShuffleMask)); in OptimizeVectorResize()
|
/external/llvm/lib/Analysis/ |
D | PHITransAddr.cpp | 369 InsertPHITranslatedSubExpr(Value *InVal, BasicBlock *CurBB, in InsertPHITranslatedSubExpr() argument 374 PHITransAddr Tmp(InVal, TD); in InsertPHITranslatedSubExpr() 380 Instruction *Inst = cast<Instruction>(InVal); in InsertPHITranslatedSubExpr() 391 OpVal, InVal->getType(), in InsertPHITranslatedSubExpr() 392 InVal->getName()+".phi.trans.insert", in InsertPHITranslatedSubExpr() 411 InVal->getName()+".phi.trans.insert", in InsertPHITranslatedSubExpr() 432 InVal->getName()+".phi.trans.insert", in InsertPHITranslatedSubExpr()
|
/external/llvm/lib/CodeGen/ |
D | DwarfEHPrepare.cpp | 428 Value *InVal = PN->getIncomingValueForBlock(*PB); in NormalizeLandingPads() local 430 if (PI != PB && InVal != PN->getIncomingValueForBlock(*PI)) { in NormalizeLandingPads() 431 InVal = 0; in NormalizeLandingPads() 436 if (InVal == 0) { in NormalizeLandingPads() 447 InVal = NewPN; in NormalizeLandingPads() 456 PN->addIncoming(InVal, NewBB); in NormalizeLandingPads()
|
/external/llvm/lib/Target/X86/Utils/ |
D | X86ShuffleDecode.cpp | 36 unsigned InVal = 4+CountS; in DecodeINSERTPSMask() local 38 ShuffleMask[CountD] = InVal; in DecodeINSERTPSMask()
|
/external/llvm/include/llvm/Analysis/ |
D | PHITransAddr.h | 101 Value *InsertPHITranslatedSubExpr(Value *InVal, BasicBlock *CurBB,
|
/external/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 1143 Value *InVal = PN->getIncomingValue(op); in AllGlobalLoadUsesSimpleEnoughForHeapSRA() local 1146 if (InVal == StoredVal) continue; in AllGlobalLoadUsesSimpleEnoughForHeapSRA() 1148 if (const PHINode *InPN = dyn_cast<PHINode>(InVal)) { in AllGlobalLoadUsesSimpleEnoughForHeapSRA() 1156 if (const LoadInst *LI = dyn_cast<LoadInst>(InVal)) in AllGlobalLoadUsesSimpleEnoughForHeapSRA() 1449 Value *InVal = PN->getIncomingValue(i); in PerformHeapAllocSRoA() local 1450 InVal = GetHeapSROAValue(InVal, FieldNo, InsertedScalarizedValues, in PerformHeapAllocSRoA() 1452 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 | 2663 TreePatternNode *InVal = InstInputsCheck[OpName]; in ParseInstructions() local 2666 if (InVal->isLeaf() && in ParseInstructions() 2667 dynamic_cast<DefInit*>(InVal->getLeafValue())) { in ParseInstructions() 2668 Record *InRec = static_cast<DefInit*>(InVal->getLeafValue())->getDef(); in ParseInstructions() 2676 TreePatternNode *OpNode = InVal->clone(); in ParseInstructions()
|
/external/clang/lib/CodeGen/ |
D | CGExpr.cpp | 540 ComplexPairTy InVal = LoadComplexFromAddr(LV.getAddress(), in EmitComplexPrePostIncDec() local 544 if (isa<llvm::IntegerType>(InVal.first->getType())) { in EmitComplexPrePostIncDec() 546 NextVal = llvm::ConstantInt::get(InVal.first->getType(), AmountVal, true); in EmitComplexPrePostIncDec() 549 NextVal = Builder.CreateAdd(InVal.first, NextVal, isInc ? "inc" : "dec"); in EmitComplexPrePostIncDec() 558 NextVal = Builder.CreateFAdd(InVal.first, NextVal, isInc ? "inc" : "dec"); in EmitComplexPrePostIncDec() 561 ComplexPairTy IncVal(NextVal, InVal.second); in EmitComplexPrePostIncDec() 568 return isPre ? IncVal : InVal; in EmitComplexPrePostIncDec()
|
D | CGExprScalar.cpp | 312 llvm::Value *InVal, 1241 llvm::Value *InVal, in EmitAddConsiderOverflowBehavior() argument 1245 return Builder.CreateNSWAdd(InVal, NextVal, IsInc ? "inc" : "dec"); in EmitAddConsiderOverflowBehavior() 1248 return Builder.CreateAdd(InVal, NextVal, IsInc ? "inc" : "dec"); in EmitAddConsiderOverflowBehavior() 1252 BinOp.LHS = InVal; in EmitAddConsiderOverflowBehavior()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeVectorTypes.cpp | 1486 SDValue InVal = DAG.getNode(ISD::EXTRACT_SUBVECTOR, DL, InWidenVT, in WidenVecRes_Convert() local 1490 return DAG.getNode(Opcode, DL, WidenVT, InVal); in WidenVecRes_Convert() 1491 return DAG.getNode(Opcode, DL, WidenVT, InVal, N->getOperand(1)); in WidenVecRes_Convert()
|
D | DAGCombiner.cpp | 6777 SDValue InVal = N->getOperand(1); in visitINSERT_VECTOR_ELT() local 6781 if (InVal.getOpcode() == ISD::UNDEF) in visitINSERT_VECTOR_ELT() 6797 Ops[Elt] = InVal; in visitINSERT_VECTOR_ELT() 6811 Ops[Elt] = InVal; in visitINSERT_VECTOR_ELT()
|