Home
last modified time | relevance | path

Searched refs:NewVal (Results 1 – 25 of 95) sorted by relevance

1234

/external/llvm/lib/Transforms/Utils/
DSSAUpdater.cpp440 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/
DSSAUpdater.cpp451 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 …]
DLoopRotationUtils.cpp155 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()
DLoopUnrollPeel.cpp637 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/
DSSAUpdater.cpp479 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/
DMipsJITInfo.cpp121 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/
DTinyPtrVector.h98 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/
DAtomicExpandPass.cpp384 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/
DAtomicExpandPass.cpp374 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/
DDebugLoc.cpp288 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/
DInstCombineSimplifyDemanded.cpp71 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/
DX86JITInfo.cpp373 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/
DInstCombineSimplifyDemanded.cpp73 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/
DTinyPtrVector.h241 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/
DTinyPtrVector.h223 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/
DMachineIRBuilder.cpp244 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/
DLoopRotation.cpp163 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/
DLegalizeTypes.cpp96 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/
DLegalizeTypes.cpp97 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/
DUtility.h165 SwapAndRestore(T &Restore_, T NewVal) in SwapAndRestore() argument
167 Restore = std::move(NewVal); in SwapAndRestore()
/external/libcxxabi/src/demangle/
DUtility.h150 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/
DInstCombineSimplifyDemanded.cpp86 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/
DProfilingUtils.cpp126 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/
DLegalizeTypes.cpp108 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/
DARMJITInfo.cpp118 intptr_t NewVal = (intptr_t)JITCompilerFunction((void*)StubAddr); in ARMCompilationCallbackC() local
129 *(intptr_t *)(StubAddr+4) = NewVal; in ARMCompilationCallbackC()

1234