/external/llvm/lib/Transforms/Utils/ |
D | SSAUpdater.cpp | 444 Value *NewVal = SSA.GetValueInMiddleOfBlock(ALoad->getParent()); in run() local 445 replaceLoadWithValue(ALoad, NewVal); in run() 448 if (NewVal == ALoad) NewVal = UndefValue::get(NewVal->getType()); in run() 449 ALoad->replaceAllUsesWith(NewVal); in run() 450 ReplacedLoads[ALoad] = NewVal; in run() 466 Value *NewVal = ReplacedLoads[User]; in run() local 467 assert(NewVal && "not a replaced load?"); in run() 472 DenseMap<Value*, Value*>::iterator RLI = ReplacedLoads.find(NewVal); in run() 474 NewVal = RLI->second; in run() 475 RLI = ReplacedLoads.find(NewVal); in run() [all …]
|
D | Local.cpp | 483 Value *NewVal = PN->getIncomingValue(0); in MergeBasicBlockIntoOnlyPred() local 485 if (NewVal == PN) NewVal = UndefValue::get(PN->getType()); in MergeBasicBlockIntoOnlyPred() 486 PN->replaceAllUsesWith(NewVal); in MergeBasicBlockIntoOnlyPred()
|
/external/llvm/include/llvm/Support/ |
D | IntegersSubset.h | 48 Constant *NewVal = ConstantInt::get(ConstantIntVal->getContext(), res); \ 49 return IntItem(cast<ConstantInt>(NewVal)); \ 55 Constant *NewVal = ConstantInt::get(ConstantIntVal->getContext(), res); \ 56 return IntItem(cast<ConstantInt>(NewVal)); \ 63 Constant *NewVal = ConstantInt::get(ConstantIntVal->getContext(), res); \ 64 ConstantIntVal = cast<ConstantInt>(NewVal); \ 72 Constant *NewVal = ConstantInt::get(ConstantIntVal->getContext(), res); \ 73 ConstantIntVal = cast<ConstantInt>(NewVal); \ 81 Constant *NewVal = ConstantInt::get(ConstantIntVal->getContext(), res); \ 83 ConstantIntVal = cast<ConstantInt>(NewVal); \ [all …]
|
/external/llvm/lib/Target/Mips/ |
D | MipsJITInfo.cpp | 166 intptr_t NewVal = (intptr_t) JITCompilerFunction((void*) StubAddr); in MipsCompilationCallbackC() local 176 int Hi = ((unsigned)NewVal & 0xffff0000) >> 16; in MipsCompilationCallbackC() 177 if ((NewVal & 0x8000) != 0) in MipsCompilationCallbackC() 179 int Lo = (int)(NewVal & 0xffff); in MipsCompilationCallbackC()
|
D | MipsISelLowering.cpp | 1022 unsigned NewVal = RegInfo.createVirtualRegister(RC); in emitAtomicBinaryPartword() local 1117 BuildMI(BB, DL, TII->get(Mips::AND), NewVal).addReg(BinOpRes).addReg(Mask); in emitAtomicBinaryPartword() 1122 BuildMI(BB, DL, TII->get(Mips::AND), NewVal).addReg(BinOpRes).addReg(Mask); in emitAtomicBinaryPartword() 1125 BuildMI(BB, DL, TII->get(Mips::AND), NewVal).addReg(Incr2).addReg(Mask); in emitAtomicBinaryPartword() 1131 .addReg(MaskedOldVal0).addReg(NewVal); in emitAtomicBinaryPartword() 1190 unsigned NewVal = MI->getOperand(3).getReg(); in emitAtomicCmpSwap() local 1232 .addReg(NewVal).addReg(Ptr).addImm(0); in emitAtomicCmpSwap() 1259 unsigned NewVal = MI->getOperand(3).getReg(); in emitAtomicCmpSwapPartword() local 1342 .addReg(NewVal).addImm(MaskImm); in emitAtomicCmpSwapPartword()
|
/external/llvm/lib/IR/ |
D | DebugLoc.cpp | 259 MDNode *NewVal = dyn_cast<MDNode>(NewVa); in allUsesReplacedWith() local 260 if (NewVal == 0) return deleted(); in allUsesReplacedWith() 276 setValPtr(NewVal); in allUsesReplacedWith() 278 int NewEntry = Ctx->getOrAddScopeRecordIdxEntry(NewVal, Idx); in allUsesReplacedWith() 305 setValPtr(NewVal); in allUsesReplacedWith()
|
D | Instructions.cpp | 1217 void AtomicCmpXchgInst::Init(Value *Ptr, Value *Cmp, Value *NewVal, in Init() argument 1222 Op<2>() = NewVal; in Init() 1240 AtomicCmpXchgInst::AtomicCmpXchgInst(Value *Ptr, Value *Cmp, Value *NewVal, in AtomicCmpXchgInst() argument 1248 Init(Ptr, Cmp, NewVal, Ordering, SynchScope); in AtomicCmpXchgInst() 1251 AtomicCmpXchgInst::AtomicCmpXchgInst(Value *Ptr, Value *Cmp, Value *NewVal, in AtomicCmpXchgInst() argument 1259 Init(Ptr, Cmp, NewVal, Ordering, SynchScope); in AtomicCmpXchgInst()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 72 Value *NewVal = SimplifyDemandedUseBits(U.get(), DemandedMask, in SimplifyDemandedBits() local 74 if (NewVal == 0) return false; in SimplifyDemandedBits() 75 U = NewVal; in SimplifyDemandedBits() 662 Instruction *NewVal = BinaryOperator::CreateLShr( in SimplifyDemandedUseBits() local 664 return InsertNewInstWith(NewVal, *I); in SimplifyDemandedUseBits() 706 BinaryOperator *NewVal = BinaryOperator::CreateLShr(I->getOperand(0), in SimplifyDemandedUseBits() local 708 NewVal->setIsExact(cast<BinaryOperator>(I)->isExact()); in SimplifyDemandedUseBits() 709 return InsertNewInstWith(NewVal, *I); in SimplifyDemandedUseBits() 797 Instruction *NewVal; in SimplifyDemandedUseBits() local 799 NewVal = BinaryOperator::CreateLShr(II->getArgOperand(0), in SimplifyDemandedUseBits() [all …]
|
/external/llvm/include/llvm/ADT/ |
D | TinyPtrVector.h | 180 void push_back(EltTy NewVal) { in push_back() argument 181 assert(NewVal != 0 && "Can't add a null value"); in push_back() 185 Val = NewVal; in push_back() 196 Val.template get<VecTy*>()->push_back(NewVal); in push_back()
|
/external/llvm/lib/Target/X86/ |
D | X86JITInfo.cpp | 377 intptr_t NewVal = (intptr_t)JITCompilerFunction((void*)RetAddr); in LLVMX86CompilationCallback2() local 386 *(intptr_t *)RetAddr = (intptr_t)(NewVal-RetAddr-4); in LLVMX86CompilationCallback2() 399 intptr_t diff = NewVal-RetAddr+7; in LLVMX86CompilationCallback2() 404 *(intptr_t *)(RetAddr - 0xa) = NewVal; in LLVMX86CompilationCallback2()
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
D | R600KernelParameters.cpp | 224 Value *NewVal; in Replace() local 227 NewVal = handleSpecial(Fun, *I); in Replace() 229 NewVal = ConstantRead(Fun, *I); in Replace() 231 if (NewVal) { in Replace() 232 I->Val->replaceAllUsesWith(NewVal); in Replace()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | R600KernelParameters.cpp | 224 Value *NewVal; in Replace() local 227 NewVal = handleSpecial(Fun, *I); in Replace() 229 NewVal = ConstantRead(Fun, *I); in Replace() 231 if (NewVal) { in Replace() 232 I->Val->replaceAllUsesWith(NewVal); in Replace()
|
/external/llvm/include/llvm/IR/ |
D | Metadata.h | 108 void replaceOperand(MDNodeOperand *Op, Value *NewVal); 136 void replaceOperandWith(unsigned i, Value *NewVal);
|
D | Instructions.h | 453 void Init(Value *Ptr, Value *Cmp, Value *NewVal, 462 AtomicCmpXchgInst(Value *Ptr, Value *Cmp, Value *NewVal, 465 AtomicCmpXchgInst(Value *Ptr, Value *Cmp, Value *NewVal,
|
/external/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); in ReplaceValueWith() 721 ReplacedValues[OldVal] = NewVal; in ReplaceValueWith()
|
/external/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/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()
|
/external/llvm/utils/PerfectShuffle/ |
D | PerfectShuffle.cpp | 39 static unsigned setMaskElt(unsigned Mask, unsigned Elt, unsigned NewVal) { in setMaskElt() argument 41 return (Mask & ~(0xF << FieldShift)) | (NewVal << FieldShift); in setMaskElt()
|
/external/llvm/lib/Transforms/Scalar/ |
D | JumpThreading.cpp | 963 LoadInst *NewVal = new LoadInst(LoadedPtr, LI->getName()+".pr", false, in SimplifyPartiallyRedundantLoad() local 966 NewVal->setDebugLoc(LI->getDebugLoc()); in SimplifyPartiallyRedundantLoad() 968 NewVal->setMetadata(LLVMContext::MD_tbaa, TBAATag); in SimplifyPartiallyRedundantLoad() 970 AvailablePreds.push_back(std::make_pair(UnavailablePred, NewVal)); in SimplifyPartiallyRedundantLoad()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.cpp | 1896 unsigned NewVal = (BinOpcode || IsSubWord ? in emitAtomicLoadBinary() local 1899 unsigned RotatedNewVal = (IsSubWord ? MRI.createVirtualRegister(RC) : NewVal); in emitAtomicLoadBinary() 1962 BuildMI(MBB, DL, TII->get(SystemZ::RLL), NewVal) in emitAtomicLoadBinary() 1965 .addReg(OldVal).addReg(NewVal).addOperand(Base).addImm(Disp); in emitAtomicLoadBinary() 2018 unsigned NewVal = MRI.createVirtualRegister(RC); in emitAtomicLoadMinMax() local 2021 unsigned RotatedNewVal = (IsSubWord ? MRI.createVirtualRegister(RC) : NewVal); in emitAtomicLoadMinMax() 2080 BuildMI(MBB, DL, TII->get(SystemZ::RLL), NewVal) in emitAtomicLoadMinMax() 2083 .addReg(OldVal).addReg(NewVal).addOperand(Base).addImm(Disp); in emitAtomicLoadMinMax()
|
/external/clang/lib/CodeGen/ |
D | CGBuiltin.cpp | 1075 Value *NewVal = Builder.getInt8(1); in EmitBuiltinExpr() local 1084 Ptr, NewVal, in EmitBuiltinExpr() 1090 Ptr, NewVal, in EmitBuiltinExpr() 1095 Ptr, NewVal, in EmitBuiltinExpr() 1100 Ptr, NewVal, in EmitBuiltinExpr() 1105 Ptr, NewVal, in EmitBuiltinExpr() 1136 Ptr, NewVal, Orders[i]); in EmitBuiltinExpr() 1161 Value *NewVal = Builder.getInt8(0); in EmitBuiltinExpr() local 1165 StoreInst *Store = Builder.CreateStore(NewVal, Ptr, Volatile); in EmitBuiltinExpr() 1198 StoreInst *Store = Builder.CreateStore(NewVal, Ptr, Volatile); in EmitBuiltinExpr()
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 2161 APValue &NewVal; member 2181 Subobj.swap(NewVal); in found() 2187 if (!NewVal.isInt()) { in found() 2192 Value = NewVal.getInt(); in found() 2198 Value = NewVal.getFloat(); in found() 2213 APValue &NewVal) { in modifySubobject() argument 2214 ModifySubobjectHandler Handler = { Info, NewVal, E }; in modifySubobject() 4457 APValue NewVal; in VisitBinAssign() local 4461 Evaluate(NewVal, this->Info, E->getRHS()); in VisitBinAssign() 4465 if (!Evaluate(NewVal, this->Info, E->getRHS())) in VisitBinAssign() [all …]
|
/external/llvm/lib/TableGen/ |
D | Record.cpp | 1051 Init *NewVal = NewOp->Fold(CurRec, CurMultiClass); in EvaluateOperation() local 1052 if (NewVal != NewOp) in EvaluateOperation() 1053 return NewVal; in EvaluateOperation()
|
/external/llvm/lib/Target/Sparc/ |
D | SparcISelLowering.cpp | 1680 SDValue NewVal = DAG.getNode(ISD::ADD, dl, MVT::i32, NewSP, in LowerDYNAMIC_STACKALLOC() local 1682 SDValue Ops[2] = { NewVal, Chain }; in LowerDYNAMIC_STACKALLOC()
|
/external/llvm/include/llvm-c/ |
D | Core.h | 1169 void LLVMReplaceAllUsesWith(LLVMValueRef OldVal, LLVMValueRef NewVal);
|