/external/llvm/lib/Transforms/Scalar/ |
D | EarlyCSE.cpp | 423 std::pair<Value*, unsigned> InVal = in INITIALIZE_PASS_DEPENDENCY() local 425 if (InVal.first != 0 && InVal.second == CurrentGeneration) { in INITIALIZE_PASS_DEPENDENCY() 427 << *InVal.first << '\n'); in INITIALIZE_PASS_DEPENDENCY() 428 if (!Inst->use_empty()) Inst->replaceAllUsesWith(InVal.first); in INITIALIZE_PASS_DEPENDENCY() 450 std::pair<Value*, unsigned> InVal = AvailableCalls->lookup(Inst); in INITIALIZE_PASS_DEPENDENCY() local 451 if (InVal.first != 0 && InVal.second == CurrentGeneration) { in INITIALIZE_PASS_DEPENDENCY() 453 << *InVal.first << '\n'); in INITIALIZE_PASS_DEPENDENCY() 454 if (!Inst->use_empty()) Inst->replaceAllUsesWith(InVal.first); in INITIALIZE_PASS_DEPENDENCY()
|
D | SimplifyCFGPass.cpp | 272 Value *InVal = cast<ReturnInst>(RetBlock->getTerminator())->getOperand(0); in mergeEmptyReturnBlocks() local 279 RetBlockPHI->addIncoming(InVal, *PI); in mergeEmptyReturnBlocks()
|
D | CodeGenPrepare.cpp | 397 Value *InVal = PN->removeIncomingValue(BB, false); in EliminateMostlyEmptyBlock() local 401 PHINode *InValPhi = dyn_cast<PHINode>(InVal); in EliminateMostlyEmptyBlock() 412 PN->addIncoming(InVal, BBPN->getIncomingBlock(i)); in EliminateMostlyEmptyBlock() 415 PN->addIncoming(InVal, *PI); in EliminateMostlyEmptyBlock()
|
D | JumpThreading.cpp | 370 Value *InVal = PN->getIncomingValue(i); in ComputeValueKnownInPredecessors() local 371 if (Constant *KC = getKnownConstant(InVal, Preference)) { in ComputeValueKnownInPredecessors() 374 Constant *CI = LVI->getConstantOnEdge(InVal, in ComputeValueKnownInPredecessors()
|
D | IndVarSimplify.cpp | 520 Value *InVal = PN->getIncomingValue(i); in RewriteLoopExitValues() local 521 if (!isa<Instruction>(InVal)) in RewriteLoopExitValues() 529 Instruction *Inst = cast<Instruction>(InVal); in RewriteLoopExitValues()
|
D | ScalarReplAggregates.cpp | 1206 Value *InVal = PN->getIncomingValue(i); in isSafePHIToSpeculate() local 1215 if (Pred->getTerminator() == InVal) in isSafePHIToSpeculate() 1224 if (InVal->isDereferenceablePointer() || in isSafePHIToSpeculate() 1225 isSafeToLoadUnconditionally(InVal, Pred->getTerminator(), MaxAlign, TD)) in isSafePHIToSpeculate()
|
D | SCCP.cpp | 813 LatticeVal InVal = getValueState(Val); in visitInsertValueInst() local 814 mergeInValue(getStructValueState(&IVI, i), &IVI, InVal); in visitInsertValueInst()
|
/external/llvm/lib/Transforms/Utils/ |
D | LoopUnroll.cpp | 283 Value *InVal = NewPHI->getIncomingValueForBlock(LatchBlock); in UnrollLoop() local 284 if (Instruction *InValI = dyn_cast<Instruction>(InVal)) in UnrollLoop() 286 InVal = LastValueMap[InValI]; in UnrollLoop() 287 VMap[OrigPHINode[i]] = InVal; in UnrollLoop() 338 Value *InVal = PN->removeIncomingValue(LatchBlock, false); in UnrollLoop() local 341 if (Instruction *InValI = dyn_cast<Instruction>(InVal)) { in UnrollLoop() 343 InVal = LastValueMap[InVal]; in UnrollLoop() 346 PN->addIncoming(InVal, Latches.back()); in UnrollLoop()
|
D | LoopUnrollRuntime.cpp | 178 Value *InVal = NewPHI->getIncomingValue(idx); in CloneLoopBlocks() local 179 if (Instruction *I = dyn_cast<Instruction>(InVal)) in CloneLoopBlocks() 181 InVal = LVMap[InVal]; in CloneLoopBlocks() 182 NewPHI->setIncomingValue(idx, InVal); in CloneLoopBlocks()
|
D | BasicBlockUtils.cpp | 405 Value *InVal = 0; in UpdatePHINodes() local 407 InVal = PN->getIncomingValueForBlock(Preds[0]); in UpdatePHINodes() 409 if (InVal != PN->getIncomingValueForBlock(Preds[i])) { in UpdatePHINodes() 410 InVal = 0; in UpdatePHINodes() 415 if (InVal) { in UpdatePHINodes() 434 InVal = NewPHI; in UpdatePHINodes() 439 PN->addIncoming(InVal, NewBB); in UpdatePHINodes()
|
D | CloneFunction.cpp | 436 Value *InVal = MapValue(PN->getIncomingValue(pred), in CloneAndPruneFunctionInto() local 439 assert(InVal && "Unknown input value?"); in CloneAndPruneFunctionInto() 440 PN->setIncomingValue(pred, InVal); in CloneAndPruneFunctionInto()
|
/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 = 0; 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 = 0; in FoldPHIArgOpIntoPHI() [all …]
|
D | InstCombineCasts.cpp | 1392 static Instruction *OptimizeVectorResize(Value *InVal, VectorType *DestTy, in OptimizeVectorResize() argument 1397 VectorType *SrcTy = cast<VectorType>(InVal->getType()); in OptimizeVectorResize() 1409 InVal = IC.Builder->CreateBitCast(InVal, SrcTy); in OptimizeVectorResize() 1439 return new ShuffleVectorInst(InVal, V2, in OptimizeVectorResize()
|
D | InstructionCombining.cpp | 628 Value *InVal = PN->getIncomingValue(i); in FoldOpIntoPhi() local 629 if (isa<Constant>(InVal) && !isa<ConstantExpr>(InVal)) in FoldOpIntoPhi() 632 if (isa<PHINode>(InVal)) return 0; // Itself a phi. in FoldOpIntoPhi() 639 if (InvokeInst *II = dyn_cast<InvokeInst>(InVal)) in FoldOpIntoPhi()
|
/external/llvm/lib/Analysis/ |
D | PHITransAddr.cpp | 370 InsertPHITranslatedSubExpr(Value *InVal, BasicBlock *CurBB, in InsertPHITranslatedSubExpr() argument 375 PHITransAddr Tmp(InVal, TD); in InsertPHITranslatedSubExpr() 381 Instruction *Inst = cast<Instruction>(InVal); in InsertPHITranslatedSubExpr() 392 OpVal, InVal->getType(), in InsertPHITranslatedSubExpr() 393 InVal->getName()+".phi.trans.insert", in InsertPHITranslatedSubExpr() 412 InVal->getName()+".phi.trans.insert", in InsertPHITranslatedSubExpr() 433 InVal->getName()+".phi.trans.insert", in InsertPHITranslatedSubExpr()
|
/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 | 105 Value *InsertPHITranslatedSubExpr(Value *InVal, BasicBlock *CurBB,
|
/external/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 1317 Value *InVal = PN->getIncomingValue(op); in AllGlobalLoadUsesSimpleEnoughForHeapSRA() local 1320 if (InVal == StoredVal) continue; in AllGlobalLoadUsesSimpleEnoughForHeapSRA() 1322 if (const PHINode *InPN = dyn_cast<PHINode>(InVal)) { in AllGlobalLoadUsesSimpleEnoughForHeapSRA() 1330 if (const LoadInst *LI = dyn_cast<LoadInst>(InVal)) in AllGlobalLoadUsesSimpleEnoughForHeapSRA() 1619 Value *InVal = PN->getIncomingValue(i); in PerformHeapAllocSRoA() local 1620 InVal = GetHeapSROAValue(InVal, FieldNo, InsertedScalarizedValues, in PerformHeapAllocSRoA() 1622 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 | 2693 TreePatternNode *InVal = InstInputsCheck[OpName]; in ParseInstructions() local 2696 if (InVal->isLeaf() && in ParseInstructions() 2697 dynamic_cast<DefInit*>(InVal->getLeafValue())) { in ParseInstructions() 2698 Record *InRec = static_cast<DefInit*>(InVal->getLeafValue())->getDef(); in ParseInstructions() 2706 TreePatternNode *OpNode = InVal->clone(); in ParseInstructions()
|
/external/clang/lib/CodeGen/ |
D | CGExpr.cpp | 611 ComplexPairTy InVal = LoadComplexFromAddr(LV.getAddress(), in EmitComplexPrePostIncDec() local 615 if (isa<llvm::IntegerType>(InVal.first->getType())) { in EmitComplexPrePostIncDec() 617 NextVal = llvm::ConstantInt::get(InVal.first->getType(), AmountVal, true); in EmitComplexPrePostIncDec() 620 NextVal = Builder.CreateAdd(InVal.first, NextVal, isInc ? "inc" : "dec"); in EmitComplexPrePostIncDec() 629 NextVal = Builder.CreateFAdd(InVal.first, NextVal, isInc ? "inc" : "dec"); in EmitComplexPrePostIncDec() 632 ComplexPairTy IncVal(NextVal, InVal.second); in EmitComplexPrePostIncDec() 639 return isPre ? IncVal : InVal; in EmitComplexPrePostIncDec()
|
D | CGExprScalar.cpp | 297 llvm::Value *InVal, 1249 llvm::Value *InVal, in EmitAddConsiderOverflowBehavior() argument 1253 return Builder.CreateAdd(InVal, NextVal, IsInc ? "inc" : "dec"); in EmitAddConsiderOverflowBehavior() 1256 return Builder.CreateNSWAdd(InVal, NextVal, IsInc ? "inc" : "dec"); in EmitAddConsiderOverflowBehavior() 1260 BinOp.LHS = InVal; in EmitAddConsiderOverflowBehavior()
|
/external/llvm/lib/Target/ARM/ |
D | ARMInstrVFP.td | 44 APFloat InVal = N->getValueAPF(); 45 uint32_t enc = ARM_AM::getFP32Imm(InVal); 56 APFloat InVal = N->getValueAPF(); 57 uint32_t enc = ARM_AM::getFP64Imm(InVal);
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeVectorTypes.cpp | 1573 SDValue InVal = DAG.getNode(ISD::EXTRACT_SUBVECTOR, DL, InWidenVT, in WidenVecRes_Convert() local 1577 return DAG.getNode(Opcode, DL, WidenVT, InVal); in WidenVecRes_Convert() 1578 return DAG.getNode(Opcode, DL, WidenVT, InVal, N->getOperand(1)); in WidenVecRes_Convert()
|
D | DAGCombiner.cpp | 7653 SDValue InVal = N->getOperand(1); in visitINSERT_VECTOR_ELT() local 7658 if (InVal.getOpcode() == ISD::UNDEF) in visitINSERT_VECTOR_ELT() 7681 Ops.append(NElts, DAG.getUNDEF(InVal.getValueType())); in visitINSERT_VECTOR_ELT() 7691 if (InVal.getValueType() != OpVT) in visitINSERT_VECTOR_ELT() 7692 InVal = OpVT.bitsGT(InVal.getValueType()) ? in visitINSERT_VECTOR_ELT() 7693 DAG.getNode(ISD::ANY_EXTEND, dl, OpVT, InVal) : in visitINSERT_VECTOR_ELT() 7694 DAG.getNode(ISD::TRUNCATE, dl, OpVT, InVal); in visitINSERT_VECTOR_ELT() 7695 Ops[Elt] = InVal; in visitINSERT_VECTOR_ELT()
|