Home
last modified time | relevance | path

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

12

/external/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 …]
DLocal.cpp437 Value *NewVal = PN->getIncomingValue(0); in MergeBasicBlockIntoOnlyPred() local
439 if (NewVal == PN) NewVal = UndefValue::get(PN->getType()); in MergeBasicBlockIntoOnlyPred()
440 PN->replaceAllUsesWith(NewVal); in MergeBasicBlockIntoOnlyPred()
/external/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()
DMipsISelLowering.cpp1082 unsigned NewVal = RegInfo.createVirtualRegister(RC); in EmitAtomicBinaryPartword() local
1170 BuildMI(BB, dl, TII->get(Mips::AND), NewVal).addReg(BinOpRes).addReg(Mask); in EmitAtomicBinaryPartword()
1175 BuildMI(BB, dl, TII->get(Mips::AND), NewVal).addReg(BinOpRes).addReg(Mask); in EmitAtomicBinaryPartword()
1178 BuildMI(BB, dl, TII->get(Mips::AND), NewVal).addReg(Incr2).addReg(Mask); in EmitAtomicBinaryPartword()
1184 .addReg(MaskedOldVal0).addReg(NewVal); in EmitAtomicBinaryPartword()
1243 unsigned NewVal = MI->getOperand(3).getReg(); in EmitAtomicCmpSwap() local
1285 .addReg(NewVal).addReg(Ptr).addImm(0); in EmitAtomicCmpSwap()
1312 unsigned NewVal = MI->getOperand(3).getReg(); in EmitAtomicCmpSwapPartword() local
1388 .addReg(NewVal).addImm(MaskImm); in EmitAtomicCmpSwapPartword()
/external/llvm/include/llvm/ADT/
DTinyPtrVector.h116 void push_back(EltTy NewVal) { in push_back() argument
117 assert(NewVal != 0 && "Can't add a null value"); in push_back()
121 Val = NewVal; in push_back()
132 Val.template get<VecTy*>()->push_back(NewVal); in push_back()
/external/llvm/lib/VMCore/
DDebugLoc.cpp285 MDNode *NewVal = dyn_cast<MDNode>(NewVa); in allUsesReplacedWith() local
286 if (NewVal == 0) return deleted(); in allUsesReplacedWith()
302 setValPtr(NewVal); in allUsesReplacedWith()
304 int NewEntry = Ctx->getOrAddScopeRecordIdxEntry(NewVal, Idx); in allUsesReplacedWith()
331 setValPtr(NewVal); in allUsesReplacedWith()
DInstructions.cpp1189 void AtomicCmpXchgInst::Init(Value *Ptr, Value *Cmp, Value *NewVal, in Init() argument
1194 Op<2>() = NewVal; in Init()
1212 AtomicCmpXchgInst::AtomicCmpXchgInst(Value *Ptr, Value *Cmp, Value *NewVal, in AtomicCmpXchgInst() argument
1220 Init(Ptr, Cmp, NewVal, Ordering, SynchScope); in AtomicCmpXchgInst()
1223 AtomicCmpXchgInst::AtomicCmpXchgInst(Value *Ptr, Value *Cmp, Value *NewVal, in AtomicCmpXchgInst() argument
1231 Init(Ptr, Cmp, NewVal, Ordering, SynchScope); in AtomicCmpXchgInst()
DCore.cpp421 void LLVMReplaceAllUsesWith(LLVMValueRef OldVal, LLVMValueRef NewVal) { in LLVMReplaceAllUsesWith() argument
422 unwrap(OldVal)->replaceAllUsesWith(unwrap(NewVal)); in LLVMReplaceAllUsesWith()
/external/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()
637 Instruction *NewVal = BinaryOperator::CreateLShr( in SimplifyDemandedUseBits() local
639 return InsertNewInstWith(NewVal, *I); in SimplifyDemandedUseBits()
681 BinaryOperator *NewVal = BinaryOperator::CreateLShr(I->getOperand(0), in SimplifyDemandedUseBits() local
683 NewVal->setIsExact(cast<BinaryOperator>(I)->isExact()); in SimplifyDemandedUseBits()
684 return InsertNewInstWith(NewVal, *I); in SimplifyDemandedUseBits()
772 Instruction *NewVal; in SimplifyDemandedUseBits() local
774 NewVal = BinaryOperator::CreateLShr(II->getArgOperand(0), in SimplifyDemandedUseBits()
[all …]
DInstCombineAndOrXor.cpp783 Value *NewVal = ConstantInt::get(AndCst->getType()->getContext(), N); in FoldAndOfICmps() local
784 return Builder->CreateICmp(LHSCC, NewAnd, NewVal); in FoldAndOfICmps()
/external/llvm/lib/Target/X86/
DX86JITInfo.cpp382 intptr_t NewVal = (intptr_t)JITCompilerFunction((void*)RetAddr); in X86CompilationCallback2() local
391 *(intptr_t *)RetAddr = (intptr_t)(NewVal-RetAddr-4); in X86CompilationCallback2()
404 intptr_t diff = NewVal-RetAddr+7; in X86CompilationCallback2()
409 *(intptr_t *)(RetAddr - 0xa) = NewVal; in X86CompilationCallback2()
/external/llvm/include/llvm/
DMetadata.h112 void replaceOperand(MDNodeOperand *Op, Value *NewVal);
140 void replaceOperandWith(unsigned i, Value *NewVal);
DInstructions.h452 void Init(Value *Ptr, Value *Cmp, Value *NewVal,
461 AtomicCmpXchgInst(Value *Ptr, Value *Cmp, Value *NewVal,
464 AtomicCmpXchgInst(Value *Ptr, Value *Cmp, Value *NewVal,
/external/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()
709 SDValue NewVal(M, i); in ReplaceValueWith() local
711 RemapValue(NewVal); in ReplaceValueWith()
712 DAG.ReplaceAllUsesOfValueWith(OldVal, NewVal, &NUL); in ReplaceValueWith()
717 ReplacedValues[OldVal] = NewVal; in ReplaceValueWith()
DDAGCombiner.cpp4890 APInt NewVal = CVal & Mask; in GetDemandedBits() local
4891 if (NewVal != CVal) { in GetDemandedBits()
4892 return DAG.getConstant(NewVal, V.getValueType()); in GetDemandedBits()
6947 SDValue NewVal = DAG.getNode(Opc, Value.getDebugLoc(), NewVT, NewLD, in ReduceLoadOpStoreWidth() local
6950 NewVal, NewPtr, in ReduceLoadOpStoreWidth()
6956 AddToWorkList(NewVal.getNode()); in ReduceLoadOpStoreWidth()
/external/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/llvm/lib/Target/ARM/
DARMJITInfo.cpp119 intptr_t NewVal = (intptr_t)JITCompilerFunction((void*)StubAddr); in ARMCompilationCallbackC() local
130 *(intptr_t *)(StubAddr+4) = NewVal; in ARMCompilationCallbackC()
DARMISelLowering.cpp3836 SDValue NewVal = DAG.getTargetConstant(ImmVal, MVT::i32); in LowerConstantFP() local
3838 NewVal); in LowerConstantFP()
3846 SDValue NewVal = isNEONModifiedImm(iVal, 0, 32, DAG, VMovVT, false, in LowerConstantFP() local
3848 if (NewVal != SDValue()) { in LowerConstantFP()
3851 NewVal); in LowerConstantFP()
3859 NewVal = isNEONModifiedImm(~iVal & 0xffffffff, 0, 32, DAG, VMovVT, false, in LowerConstantFP()
3861 if (NewVal != SDValue()) { in LowerConstantFP()
3863 SDValue VecConstant = DAG.getNode(ARMISD::VMVNIMM, DL, VMovVT, NewVal); in LowerConstantFP()
/external/llvm/utils/PerfectShuffle/
DPerfectShuffle.cpp39 static unsigned setMaskElt(unsigned Mask, unsigned Elt, unsigned NewVal) { in setMaskElt() argument
41 return (Mask & ~(0xF << FieldShift)) | (NewVal << FieldShift); in setMaskElt()
/external/bluetooth/glib/glib/
Dgatomic.c671 [NewVal] "r" (newval), \
692 [NewVal] "r" (newval), \
/external/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp946 LoadInst *NewVal = new LoadInst(LoadedPtr, LI->getName()+".pr", false, in SimplifyPartiallyRedundantLoad() local
949 NewVal->setDebugLoc(LI->getDebugLoc()); in SimplifyPartiallyRedundantLoad()
951 NewVal->setMetadata(LLVMContext::MD_tbaa, TBAATag); in SimplifyPartiallyRedundantLoad()
953 AvailablePreds.push_back(std::make_pair(UnavailablePred, NewVal)); in SimplifyPartiallyRedundantLoad()
/external/clang/lib/CodeGen/
DCGBuiltin.cpp1004 Value *NewVal = Builder.getInt8(1); in EmitBuiltinExpr() local
1013 Ptr, NewVal, in EmitBuiltinExpr()
1019 Ptr, NewVal, in EmitBuiltinExpr()
1024 Ptr, NewVal, in EmitBuiltinExpr()
1029 Ptr, NewVal, in EmitBuiltinExpr()
1034 Ptr, NewVal, in EmitBuiltinExpr()
1065 Ptr, NewVal, Orders[i]); in EmitBuiltinExpr()
1091 Value *NewVal = Builder.getInt8(0); in EmitBuiltinExpr() local
1095 StoreInst *Store = Builder.CreateStore(NewVal, Ptr, Volatile); in EmitBuiltinExpr()
1128 StoreInst *Store = Builder.CreateStore(NewVal, Ptr, Volatile); in EmitBuiltinExpr()
/external/llvm/lib/TableGen/
DRecord.cpp1052 Init *NewVal = NewOp->Fold(CurRec, CurMultiClass); in EvaluateOperation() local
1053 if (NewVal != NewOp) in EvaluateOperation()
1054 return NewVal; in EvaluateOperation()
/external/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp1065 SDValue NewVal = DAG.getNode(ISD::ADD, dl, MVT::i32, NewSP, in LowerDYNAMIC_STACKALLOC() local
1067 SDValue Ops[2] = { NewVal, Chain }; in LowerDYNAMIC_STACKALLOC()
/external/llvm/include/llvm-c/
DCore.h1107 void LLVMReplaceAllUsesWith(LLVMValueRef OldVal, LLVMValueRef NewVal);

12