/external/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 894 Value *VB = Sub->user_back(); in ShouldBreakUpSubtract() 1878 while (Op->hasOneUse() && Op->user_back()->getOpcode() == Opcode && in EraseInst() 1880 Op = Op->user_back(); in EraseInst() 1915 Instruction *User = I->user_back(); in canonicalizeNegConstExpr() 1975 (isReassociableOp(I->user_back(), Instruction::Mul) || in OptimizeInst() 1976 isReassociableOp(I->user_back(), Instruction::Add)))) { in OptimizeInst() 2024 !isReassociableOp(I->user_back(), Instruction::Mul))) { in OptimizeInst() 2048 !isReassociableOp(I->user_back(), Instruction::FMul))) { in OptimizeInst() 2070 if (BO->hasOneUse() && BO->user_back()->getOpcode() == Opcode) { in OptimizeInst() 2074 if (BO->user_back() != BO && in OptimizeInst() [all …]
|
D | ConstantHoisting.cpp | 569 assert(isa<Instruction>(Base->user_back()) && in emitBaseConstants() 571 Base->setDebugLoc(cast<Instruction>(Base->user_back())->getDebugLoc()); in emitBaseConstants()
|
D | TailRecursionElimination.cpp | 429 if (!I->hasOneUse() || !isa<ReturnInst>(I->user_back())) in canTransformAccumulatorRecursion() 435 return getCommonReturnValue(cast<ReturnInst>(I->user_back()), CI); in canTransformAccumulatorRecursion()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 919 Value *VB = Sub->user_back(); in ShouldBreakUpSubtract() 1910 while (Op->hasOneUse() && Op->user_back()->getOpcode() == Opcode && in EraseInst() 1912 Op = Op->user_back(); in EraseInst() 1956 Instruction *User = I->user_back(); in canonicalizeNegConstExpr() 2022 (isReassociableOp(I->user_back(), Instruction::Mul) || in OptimizeInst() 2023 isReassociableOp(I->user_back(), Instruction::Add)))) { in OptimizeInst() 2066 !isReassociableOp(I->user_back(), Instruction::Mul))) { in OptimizeInst() 2090 !isReassociableOp(I->user_back(), Instruction::FMul))) { in OptimizeInst() 2112 if (BO->hasOneUse() && BO->user_back()->getOpcode() == Opcode) { in OptimizeInst() 2116 if (BO->user_back() != BO && in OptimizeInst() [all …]
|
D | TailRecursionElimination.cpp | 425 if (!I->hasOneUse() || !isa<ReturnInst>(I->user_back())) in canTransformAccumulatorRecursion() 431 return getCommonReturnValue(cast<ReturnInst>(I->user_back()), CI); in canTransformAccumulatorRecursion()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 102 auto *IntToPtr = dyn_cast<IntToPtrInst>(PN.user_back()); in FoldIntegerTypedPHI() 844 if (PHINode *PU = dyn_cast<PHINode>(PN->user_back())) in DeadPHICycle() 1002 !UserI->hasOneUse() || !isa<TruncInst>(UserI->user_back()) || in SliceUpIllegalIntegerPHI() 1007 PHIUsers.push_back(PHIUsageRecord(PHIId, Shift, UserI->user_back())); in SliceUpIllegalIntegerPHI() 1147 Instruction *PHIUser = cast<Instruction>(PN.user_back()); in visitPHINode() 1163 PHIUser->user_back() == &PN) { in visitPHINode()
|
D | InstCombineVectorOps.cpp | 117 if (!PHIUser->hasOneUse() || !(PHIUser->user_back() == PN) || in scalarizePHI() 414 if (InsElt->hasOneUse() && isa<InsertElementInst>(InsElt->user_back())) in replaceExtractElements() 553 User *U = V->user_back(); in visitInsertValueInst() 596 if (InsElt.hasOneUse() && isa<InsertElementInst>(InsElt.user_back())) in foldInsSequenceIntoBroadcast() 818 if (!IE.hasOneUse() || !isa<InsertElementInst>(IE.user_back())) { in visitInsertElementInst()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Instruction.h | 59 Instruction *user_back() { return cast<Instruction>(*user_begin());} in user_back() function 60 const Instruction *user_back() const { return cast<Instruction>(*user_begin());} in user_back() function
|
D | Value.h | 355 User *user_back() { in user_back() function 359 const User *user_back() const { in user_back() function
|
/external/llvm/include/llvm/IR/ |
D | Instruction.h | 55 Instruction *user_back() { return cast<Instruction>(*user_begin());} 56 const Instruction *user_back() const { return cast<Instruction>(*user_begin());}
|
D | Value.h | 346 User *user_back() { in user_back() function 350 const User *user_back() const { in user_back() function
|
/external/llvm/lib/Transforms/Utils/ |
D | LCSSA.cpp | 242 (I.hasOneUse() && I.user_back()->getParent() == BB && in formLCSSA() 243 !isa<PHINode>(I.user_back()))) in formLCSSA()
|
D | DemoteRegToStack.cpp | 57 Instruction *U = cast<Instruction>(I.user_back()); in DemoteRegToStack()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | ArgumentPromotion.cpp | 189 OrigLoad = cast<LoadInst>(UI->user_back()); in doPromotion() 240 CallSite CS(F->user_back()); in doPromotion() 423 if (LoadInst *LI = dyn_cast<LoadInst>(I->user_back())) { in doPromotion() 432 GetElementPtrInst *GEP = cast<GetElementPtrInst>(I->user_back()); in doPromotion() 462 LoadInst *L = cast<LoadInst>(GEP->user_back()); in doPromotion()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 588 if (PHINode *PU = dyn_cast<PHINode>(PN->user_back())) in DeadPHICycle() 746 !UserI->hasOneUse() || !isa<TruncInst>(UserI->user_back()) || in SliceUpIllegalIntegerPHI() 751 PHIUsers.push_back(PHIUsageRecord(PHIId, Shift, UserI->user_back())); in SliceUpIllegalIntegerPHI() 889 Instruction *PHIUser = cast<Instruction>(PN.user_back()); in visitPHINode() 905 PHIUser->user_back() == &PN) { in visitPHINode()
|
/external/llvm/lib/Transforms/IPO/ |
D | ArgumentPromotion.cpp | 724 OrigLoad = cast<LoadInst>(UI->user_back()); in DoPromotion() 781 CallSite CS(F->user_back()); in DoPromotion() 974 if (LoadInst *LI = dyn_cast<LoadInst>(I->user_back())) { in DoPromotion() 983 GetElementPtrInst *GEP = cast<GetElementPtrInst>(I->user_back()); in DoPromotion() 1013 LoadInst *L = cast<LoadInst>(GEP->user_back()); in DoPromotion()
|
D | GlobalOpt.cpp | 520 User *GEP = GV->user_back(); in SRAGlobal() 816 Instruction *User = cast<Instruction>(CI->user_back()); in OptimizeGlobalAddressOfMalloc() 846 if (StoreInst *SI = dyn_cast<StoreInst>(GV->user_back())) { in OptimizeGlobalAddressOfMalloc() 854 LoadInst *LI = cast<LoadInst>(GV->user_back()); in OptimizeGlobalAddressOfMalloc() 896 cast<StoreInst>(InitBool->user_back())->eraseFromParent(); in OptimizeGlobalAddressOfMalloc() 989 if (StoreInst *SI = dyn_cast<StoreInst>(GEPI->user_back())) in ReplaceUsesOfMallocWithGlobal() 1595 Instruction *UI = cast<Instruction>(GV->user_back()); in TryToShrinkGlobalToBoolean()
|
D | StripSymbols.cpp | 258 CallInst *CI = cast<CallInst>(Declare->user_back()); in runOnModule()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | Instruction.h | 64 Instruction *user_back() { return cast<Instruction>(*user_begin());} 65 const Instruction *user_back() const { return cast<Instruction>(*user_begin());}
|
D | Value.h | 385 User *user_back() { in user_back() function 389 const User *user_back() const { in user_back() function
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | LCSSA.cpp | 332 (I.hasOneUse() && I.user_back()->getParent() == BB && in formLCSSA() 333 !isa<PHINode>(I.user_back()))) in formLCSSA()
|
D | DemoteRegToStack.cpp | 59 Instruction *U = cast<Instruction>(I.user_back()); in DemoteRegToStack()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/ |
D | NVPTXLowerAggrCopies.cpp | 80 if (StoreInst *SI = dyn_cast<StoreInst>(LI->user_back())) { in runOnFunction()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | SjLjEHPrepare.cpp | 269 cast<Instruction>(Inst.user_back())->getParent() == &BB && in lowerAcrossUnwindEdges() 270 !isa<PHINode>(Inst.user_back())) in lowerAcrossUnwindEdges()
|
/external/llvm/lib/CodeGen/ |
D | SjLjEHPrepare.cpp | 259 cast<Instruction>(Inst.user_back())->getParent() == &BB && in lowerAcrossUnwindEdges() 260 !isa<PHINode>(Inst.user_back())) in lowerAcrossUnwindEdges()
|