/external/llvm/lib/Transforms/Utils/ |
D | SSAUpdater.cpp | 440 Value *NewVal = SSA.GetValueInMiddleOfBlock(ALoad->getParent()); in run() local 441 replaceLoadWithValue(ALoad, NewVal); in run() 444 if (NewVal == ALoad) NewVal = UndefValue::get(NewVal->getType()); in run() 445 ALoad->replaceAllUsesWith(NewVal); in run() 446 ReplacedLoads[ALoad] = NewVal; in run() 460 Value *NewVal = ReplacedLoads[User]; in run() local 461 assert(NewVal && "not a replaced load?"); in run() 466 DenseMap<Value*, Value*>::iterator RLI = ReplacedLoads.find(NewVal); in run() 468 NewVal = RLI->second; in run() 469 RLI = ReplacedLoads.find(NewVal); in run() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | SSAUpdater.cpp | 451 Value *NewVal = SSA.GetValueInMiddleOfBlock(ALoad->getParent()); in run() local 452 replaceLoadWithValue(ALoad, NewVal); in run() 455 if (NewVal == ALoad) NewVal = UndefValue::get(NewVal->getType()); in run() 456 ALoad->replaceAllUsesWith(NewVal); in run() 457 ReplacedLoads[ALoad] = NewVal; in run() 471 Value *NewVal = ReplacedLoads[User]; in run() local 472 assert(NewVal && "not a replaced load?"); in run() 477 DenseMap<Value*, Value*>::iterator RLI = ReplacedLoads.find(NewVal); in run() 479 NewVal = RLI->second; in run() 480 RLI = ReplacedLoads.find(NewVal); in run() [all …]
|
D | LoopRotationUtils.cpp | 155 Value *NewVal; in RewriteUsesOfClonedInstructions() local 157 NewVal = OrigPreHeaderVal; in RewriteUsesOfClonedInstructions() 159 NewVal = SSA.GetValueInMiddleOfBlock(UserBB); in RewriteUsesOfClonedInstructions() 161 NewVal = UndefValue::get(OrigHeaderVal->getType()); in RewriteUsesOfClonedInstructions() 164 ValueAsMetadata::get(NewVal))); in RewriteUsesOfClonedInstructions()
|
D | LoopUnrollPeel.cpp | 637 Value *NewVal = PHI->getIncomingValueForBlock(Latch); in peelLoop() local 638 Instruction *LatchInst = dyn_cast<Instruction>(NewVal); in peelLoop() 640 NewVal = LVMap[LatchInst]; in peelLoop() 642 PHI->setIncomingValue(PHI->getBasicBlockIndex(NewPreHeader), NewVal); in peelLoop()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | SSAUpdater.cpp | 479 Value *NewVal = SSA.GetValueInMiddleOfBlock(ALoad->getParent()); in run() local 480 replaceLoadWithValue(ALoad, NewVal); in run() 483 if (NewVal == ALoad) NewVal = UndefValue::get(NewVal->getType()); in run() 484 ALoad->replaceAllUsesWith(NewVal); in run() 485 ReplacedLoads[ALoad] = NewVal; in run() 501 Value *NewVal = ReplacedLoads[User]; in run() local 502 assert(NewVal && "not a replaced load?"); in run() 507 DenseMap<Value*, Value*>::iterator RLI = ReplacedLoads.find(NewVal); in run() 509 NewVal = RLI->second; in run() 510 RLI = ReplacedLoads.find(NewVal); in run() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/Mips/ |
D | MipsJITInfo.cpp | 121 intptr_t NewVal = (intptr_t) JITCompilerFunction((void*) StubAddr); in MipsCompilationCallbackC() local 131 int Hi = ((unsigned)NewVal & 0xffff0000) >> 16; in MipsCompilationCallbackC() 132 if ((NewVal & 0x8000) != 0) in MipsCompilationCallbackC() 134 int Lo = (int)(NewVal & 0xffff); in MipsCompilationCallbackC()
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | TinyPtrVector.h | 98 void push_back(EltTy NewVal) { in push_back() argument 99 assert(NewVal != 0 && "Can't add a null value"); in push_back() 103 Val = NewVal; in push_back() 114 Val.template get<VecTy*>()->push_back(NewVal); in push_back()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | AtomicExpandPass.cpp | 384 Value *NewVal = Builder.CreateBitCast(NewLI, LI->getType()); in convertAtomicLoadToIntegerType() local 385 LI->replaceAllUsesWith(NewVal); in convertAtomicLoadToIntegerType() 454 Value *NewVal = Builder.CreateBitCast(SI->getValueOperand(), NewTy); in convertAtomicStoreToIntegerType() local 461 StoreInst *NewSI = Builder.CreateStore(NewVal, NewAddr); in convertAtomicStoreToIntegerType() 488 Value *Loaded, Value *NewVal, in createCmpXchgInstFun() argument 492 Addr, Loaded, NewVal, MemOpOrder, in createCmpXchgInstFun() 502 Value *NewVal; in performAtomicOp() local 519 NewVal = Builder.CreateICmpSGT(Loaded, Inc); in performAtomicOp() 520 return Builder.CreateSelect(NewVal, Loaded, Inc, "new"); in performAtomicOp() 522 NewVal = Builder.CreateICmpSLE(Loaded, Inc); in performAtomicOp() [all …]
|
/external/llvm/lib/CodeGen/ |
D | AtomicExpandPass.cpp | 374 Value *NewVal = Builder.CreateBitCast(NewLI, LI->getType()); in convertAtomicLoadToIntegerType() local 375 LI->replaceAllUsesWith(NewVal); in convertAtomicLoadToIntegerType() 444 Value *NewVal = Builder.CreateBitCast(SI->getValueOperand(), NewTy); in convertAtomicStoreToIntegerType() local 451 StoreInst *NewSI = Builder.CreateStore(NewVal, NewAddr); in convertAtomicStoreToIntegerType() 478 Value *Loaded, Value *NewVal, in createCmpXchgInstFun() argument 482 Addr, Loaded, NewVal, MemOpOrder, in createCmpXchgInstFun() 492 Value *NewVal; in performAtomicOp() local 509 NewVal = Builder.CreateICmpSGT(Loaded, Inc); in performAtomicOp() 510 return Builder.CreateSelect(NewVal, Loaded, Inc, "new"); in performAtomicOp() 512 NewVal = Builder.CreateICmpSLE(Loaded, Inc); in performAtomicOp() [all …]
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | DebugLoc.cpp | 288 MDNode *NewVal = dyn_cast<MDNode>(NewVa); in allUsesReplacedWith() local 289 if (NewVal == 0) return deleted(); in allUsesReplacedWith() 305 setValPtr(NewVal); in allUsesReplacedWith() 307 int NewEntry = Ctx->getOrAddScopeRecordIdxEntry(NewVal, Idx); in allUsesReplacedWith() 334 setValPtr(NewVal); in allUsesReplacedWith()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 71 Value *NewVal = SimplifyDemandedUseBits(U.get(), DemandedMask, in SimplifyDemandedBits() local 73 if (NewVal == 0) return false; in SimplifyDemandedBits() 74 U = NewVal; in SimplifyDemandedBits() 630 Instruction *NewVal = BinaryOperator::CreateLShr( in SimplifyDemandedUseBits() local 632 return InsertNewInstWith(NewVal, *I); in SimplifyDemandedUseBits() 674 Instruction *NewVal = BinaryOperator::CreateLShr( in SimplifyDemandedUseBits() local 676 return InsertNewInstWith(NewVal, *I); in SimplifyDemandedUseBits() 766 Instruction *NewVal; in SimplifyDemandedUseBits() local 768 NewVal = BinaryOperator::CreateLShr(II->getArgOperand(0), in SimplifyDemandedUseBits() 771 NewVal = BinaryOperator::CreateShl(II->getArgOperand(0), in SimplifyDemandedUseBits() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86JITInfo.cpp | 373 intptr_t NewVal = (intptr_t)JITCompilerFunction((void*)RetAddr); in X86CompilationCallback2() local 382 *(intptr_t *)RetAddr = (intptr_t)(NewVal-RetAddr-4); in X86CompilationCallback2() 395 intptr_t diff = NewVal-RetAddr+7; in X86CompilationCallback2() 400 *(intptr_t *)(RetAddr - 0xa) = NewVal; in X86CompilationCallback2()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 73 Value *NewVal = SimplifyDemandedUseBits(U.get(), DemandedMask, KnownZero, in SimplifyDemandedBits() local 75 if (!NewVal) return false; in SimplifyDemandedBits() 76 U = NewVal; in SimplifyDemandedBits() 620 Instruction *NewVal = BinaryOperator::CreateLShr( in SimplifyDemandedUseBits() local 622 return InsertNewInstWith(NewVal, *I); in SimplifyDemandedUseBits() 664 BinaryOperator *NewVal = BinaryOperator::CreateLShr(I->getOperand(0), in SimplifyDemandedUseBits() local 666 NewVal->setIsExact(cast<BinaryOperator>(I)->isExact()); in SimplifyDemandedUseBits() 667 return InsertNewInstWith(NewVal, *I); in SimplifyDemandedUseBits() 756 Instruction *NewVal; in SimplifyDemandedUseBits() local 758 NewVal = BinaryOperator::CreateLShr(II->getArgOperand(0), in SimplifyDemandedUseBits() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | TinyPtrVector.h | 241 void push_back(EltTy NewVal) { in push_back() argument 242 assert(NewVal && "Can't add a null value"); in push_back() 246 Val = NewVal; in push_back() 257 Val.template get<VecTy*>()->push_back(NewVal); in push_back()
|
/external/llvm/include/llvm/ADT/ |
D | TinyPtrVector.h | 223 void push_back(EltTy NewVal) { in push_back() argument 224 assert(NewVal && "Can't add a null value"); in push_back() 228 Val = NewVal; in push_back() 239 Val.template get<VecTy*>()->push_back(NewVal); in push_back()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/ |
D | MachineIRBuilder.cpp | 244 const ConstantInt *NewVal = &Val; in buildConstant() local 246 NewVal = ConstantInt::get(getMF().getFunction().getContext(), in buildConstant() 249 return buildInstr(TargetOpcode::G_CONSTANT).addDef(Res).addCImm(NewVal); in buildConstant() 674 unsigned NewVal, MachineMemOperand &MMO) { in buildAtomicCmpXchgWithSuccess() argument 680 LLT NewValTy = getMRI()->getType(NewVal); in buildAtomicCmpXchgWithSuccess() 695 .addUse(NewVal) in buildAtomicCmpXchgWithSuccess() 701 unsigned CmpVal, unsigned NewVal, in buildAtomicCmpXchg() argument 707 LLT NewValTy = getMRI()->getType(NewVal); in buildAtomicCmpXchg() 720 .addUse(NewVal) in buildAtomicCmpXchg()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopRotation.cpp | 163 Value *NewVal; in RewriteUsesOfClonedInstructions() local 165 NewVal = OrigPreHeaderVal; in RewriteUsesOfClonedInstructions() 167 NewVal = SSA.GetValueInMiddleOfBlock(UserBB); in RewriteUsesOfClonedInstructions() 169 NewVal = UndefValue::get(OrigHeaderVal->getType()); in RewriteUsesOfClonedInstructions() 170 U = MetadataAsValue::get(C, ValueAsMetadata::get(NewVal)); in RewriteUsesOfClonedInstructions()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | LegalizeTypes.cpp | 96 SDValue NewVal = ReplacedValues[Res]; in PerformExpensiveChecks() local 97 DenseMap<SDValue, SDValue>::iterator I = ReplacedValues.find(NewVal); in PerformExpensiveChecks() 99 NewVal = I->second; in PerformExpensiveChecks() 100 I = ReplacedValues.find(NewVal); in PerformExpensiveChecks() 102 assert(NewVal.getNode()->getNodeId() != NewNode && in PerformExpensiveChecks() 713 SDValue NewVal(M, i); in ReplaceValueWith() local 715 RemapValue(NewVal); in ReplaceValueWith() 716 DAG.ReplaceAllUsesOfValueWith(OldVal, NewVal, &NUL); in ReplaceValueWith() 721 ReplacedValues[OldVal] = NewVal; in ReplaceValueWith()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeTypes.cpp | 97 SDValue NewVal = ReplacedValues[Res]; in PerformExpensiveChecks() local 98 DenseMap<SDValue, SDValue>::iterator I = ReplacedValues.find(NewVal); in PerformExpensiveChecks() 100 NewVal = I->second; in PerformExpensiveChecks() 101 I = ReplacedValues.find(NewVal); in PerformExpensiveChecks() 103 assert(NewVal.getNode()->getNodeId() != NewNode && in PerformExpensiveChecks() 731 SDValue NewVal(M, i); in ReplaceValueWith() local 733 RemapValue(NewVal); in ReplaceValueWith() 734 DAG.ReplaceAllUsesOfValueWith(OldVal, NewVal); in ReplaceValueWith() 739 ReplacedValues[OldVal] = NewVal; in ReplaceValueWith()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Demangle/ |
D | Utility.h | 165 SwapAndRestore(T &Restore_, T NewVal) in SwapAndRestore() argument 167 Restore = std::move(NewVal); in SwapAndRestore()
|
/external/libcxxabi/src/demangle/ |
D | Utility.h | 150 SwapAndRestore(T &Restore_, T NewVal) in SwapAndRestore() argument 152 Restore = std::move(NewVal); in SwapAndRestore()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 86 Value *NewVal = SimplifyDemandedUseBits(U.get(), DemandedMask, Known, in SimplifyDemandedBits() local 88 if (!NewVal) return false; in SimplifyDemandedBits() 89 U = NewVal; in SimplifyDemandedBits() 506 Instruction *NewVal = BinaryOperator::CreateLShr( in SimplifyDemandedUseBits() local 508 return InsertNewInstWith(NewVal, *I); in SimplifyDemandedUseBits() 657 Instruction *NewVal; in SimplifyDemandedUseBits() local 659 NewVal = BinaryOperator::CreateLShr(II->getArgOperand(0), in SimplifyDemandedUseBits() 662 NewVal = BinaryOperator::CreateShl(II->getArgOperand(0), in SimplifyDemandedUseBits() 664 NewVal->takeName(I); in SimplifyDemandedUseBits() 665 return InsertNewInstWith(NewVal, *I); in SimplifyDemandedUseBits()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Instrumentation/ |
D | ProfilingUtils.cpp | 126 Value *NewVal = BinaryOperator::Create(Instruction::Add, OldVal, in IncrementCounterInBlock() local 129 new StoreInst(NewVal, ElementPtr, InsertPos); in IncrementCounterInBlock()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeTypes.cpp | 108 SDValue NewVal = getSDValue(NewValId); in PerformExpensiveChecks() local 109 (void)NewVal; in PerformExpensiveChecks() 110 assert(NewVal.getNode()->getNodeId() != NewNode && in PerformExpensiveChecks() 680 SDValue NewVal(M, i); in ReplaceValueWith() local 682 RemapValue(NewVal); in ReplaceValueWith() 688 auto NewValId = getTableId(NewVal); in ReplaceValueWith() 689 DAG.ReplaceAllUsesOfValueWith(OldVal, NewVal); in ReplaceValueWith()
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMJITInfo.cpp | 118 intptr_t NewVal = (intptr_t)JITCompilerFunction((void*)StubAddr); in ARMCompilationCallbackC() local 129 *(intptr_t *)(StubAddr+4) = NewVal; in ARMCompilationCallbackC()
|