/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 …]
|
D | Local.cpp | 501 Value *NewVal = PN->getIncomingValue(0); in MergeBasicBlockIntoOnlyPred() local 503 if (NewVal == PN) NewVal = UndefValue::get(PN->getType()); in MergeBasicBlockIntoOnlyPred() 504 PN->replaceAllUsesWith(NewVal); in MergeBasicBlockIntoOnlyPred()
|
D | SimplifyCFG.cpp | 369 bool setValueOnce(Value *NewVal) { in setValueOnce() 370 if(CompValue && CompValue != NewVal) return false; in setValueOnce() 371 CompValue = NewVal; in setValueOnce()
|
/external/llvm/lib/CodeGen/ |
D | AtomicExpandPass.cpp | 252 Value *NewVal; in performAtomicOp() local 269 NewVal = Builder.CreateICmpSGT(Loaded, Inc); in performAtomicOp() 270 return Builder.CreateSelect(NewVal, Loaded, Inc, "new"); in performAtomicOp() 272 NewVal = Builder.CreateICmpSLE(Loaded, Inc); in performAtomicOp() 273 return Builder.CreateSelect(NewVal, Loaded, Inc, "new"); in performAtomicOp() 275 NewVal = Builder.CreateICmpUGT(Loaded, Inc); in performAtomicOp() 276 return Builder.CreateSelect(NewVal, Loaded, Inc, "new"); in performAtomicOp() 278 NewVal = Builder.CreateICmpULE(Loaded, Inc); in performAtomicOp() 279 return Builder.CreateSelect(NewVal, Loaded, Inc, "new"); in performAtomicOp() 323 Value *NewVal = in expandAtomicRMWToLLSC() local [all …]
|
D | CodeGenPrepare.cpp | 1708 OperandSetter(Instruction *Inst, unsigned Idx, Value *NewVal) in OperandSetter() argument 1712 << "with:" << *NewVal << "\n"); in OperandSetter() 1714 Inst->setOperand(Idx, NewVal); in OperandSetter() 1948 void setOperand(Instruction *Inst, unsigned Idx, Value *NewVal); 1950 void eraseInstruction(Instruction *Inst, Value *NewVal = nullptr); 1972 Value *NewVal) { in setOperand() argument 1974 make_unique<TypePromotionTransaction::OperandSetter>(Inst, Idx, NewVal)); in setOperand() 1978 Value *NewVal) { in eraseInstruction() argument 1980 make_unique<TypePromotionTransaction::InstructionRemover>(Inst, NewVal)); in eraseInstruction() 4222 Value *NewVal = nullptr; in promoteImpl() local [all …]
|
/external/llvm/include/llvm/ADT/ |
D | TinyPtrVector.h | 196 void push_back(EltTy NewVal) { in push_back() argument 197 assert(NewVal && "Can't add a null value"); in push_back() 201 Val = NewVal; in push_back() 212 Val.template get<VecTy*>()->push_back(NewVal); in push_back()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 86 Value *NewVal = in SimplifyDemandedBits() local 89 if (!NewVal) return false; in SimplifyDemandedBits() 90 U = NewVal; in SimplifyDemandedBits() 705 Instruction *NewVal = BinaryOperator::CreateLShr( in SimplifyDemandedUseBits() local 707 return InsertNewInstWith(NewVal, *I); in SimplifyDemandedUseBits() 749 BinaryOperator *NewVal = BinaryOperator::CreateLShr(I->getOperand(0), in SimplifyDemandedUseBits() local 751 NewVal->setIsExact(cast<BinaryOperator>(I)->isExact()); in SimplifyDemandedUseBits() 752 return InsertNewInstWith(NewVal, *I); in SimplifyDemandedUseBits() 841 Instruction *NewVal; in SimplifyDemandedUseBits() local 843 NewVal = BinaryOperator::CreateLShr(II->getArgOperand(0), in SimplifyDemandedUseBits() [all …]
|
D | InstCombineAndOrXor.cpp | 962 Value *NewVal = ConstantInt::get(AndCst->getType()->getContext(), N); in FoldAndOfICmps() local 963 return Builder->CreateICmp(LHSCC, NewAnd, NewVal); in FoldAndOfICmps()
|
/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/lib/CodeGen/SelectionDAG/ |
D | LegalizeTypes.cpp | 98 SDValue NewVal = ReplacedValues[Res]; in PerformExpensiveChecks() local 99 DenseMap<SDValue, SDValue>::iterator I = ReplacedValues.find(NewVal); in PerformExpensiveChecks() 101 NewVal = I->second; in PerformExpensiveChecks() 102 I = ReplacedValues.find(NewVal); in PerformExpensiveChecks() 104 assert(NewVal.getNode()->getNodeId() != NewNode && in PerformExpensiveChecks() 723 SDValue NewVal(M, i); in ReplaceValueWith() local 725 RemapValue(NewVal); in ReplaceValueWith() 726 DAG.ReplaceAllUsesOfValueWith(OldVal, NewVal); in ReplaceValueWith() 731 ReplacedValues[OldVal] = NewVal; in ReplaceValueWith()
|
D | LegalizeFloatTypes.cpp | 1704 SDValue NewVal; in PromoteFloatOp_STORE() local 1705 NewVal = DAG.getNode(GetPromotionOpcode(Promoted.getValueType(), VT), DL, in PromoteFloatOp_STORE() 1708 return DAG.getStore(ST->getChain(), DL, NewVal, ST->getBasePtr(), in PromoteFloatOp_STORE() 1863 SDValue NewVal = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, DL, IVT, in PromoteFloatRes_EXTRACT_VECTOR_ELT() local 1869 return DAG.getNode(GetPromotionOpcode(VT, NVT), SDLoc(N), NVT, NewVal); in PromoteFloatRes_EXTRACT_VECTOR_ELT()
|
D | LegalizeDAG.cpp | 1282 SDValue NewVal; in LegalizeOp() local 1283 NewVal = DAG.getNode(ISD::TRAP, SDLoc(Node), Node->getVTList(), in LegalizeOp() 1285 ReplaceNode(Node, NewVal.getNode()); in LegalizeOp() 1286 LegalizeOp(NewVal.getNode()); in LegalizeOp()
|
/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 | 1004 LoadInst *NewVal = new LoadInst(LoadedPtr, LI->getName()+".pr", false, in SimplifyPartiallyRedundantLoad() local 1007 NewVal->setDebugLoc(LI->getDebugLoc()); in SimplifyPartiallyRedundantLoad() 1009 NewVal->setAAMetadata(AATags); in SimplifyPartiallyRedundantLoad() 1011 AvailablePreds.push_back(std::make_pair(UnavailablePred, NewVal)); in SimplifyPartiallyRedundantLoad()
|
/external/llvm/lib/Target/Mips/ |
D | MipsISelLowering.cpp | 1163 unsigned NewVal = RegInfo.createVirtualRegister(RC); in emitAtomicBinaryPartword() local 1258 BuildMI(BB, DL, TII->get(Mips::AND), NewVal).addReg(BinOpRes).addReg(Mask); in emitAtomicBinaryPartword() 1263 BuildMI(BB, DL, TII->get(Mips::AND), NewVal).addReg(BinOpRes).addReg(Mask); in emitAtomicBinaryPartword() 1266 BuildMI(BB, DL, TII->get(Mips::AND), NewVal).addReg(Incr2).addReg(Mask); in emitAtomicBinaryPartword() 1272 .addReg(MaskedOldVal0).addReg(NewVal); in emitAtomicBinaryPartword() 1325 unsigned NewVal = MI->getOperand(3).getReg(); in emitAtomicCmpSwap() local 1367 .addReg(NewVal).addReg(Ptr).addImm(0); in emitAtomicCmpSwap() 1392 unsigned NewVal = MI->getOperand(3).getReg(); in emitAtomicCmpSwapPartword() local 1474 .addReg(NewVal).addImm(MaskImm); in emitAtomicCmpSwapPartword()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.cpp | 3066 unsigned NewVal = (BinOpcode || IsSubWord ? in emitAtomicLoadBinary() local 3069 unsigned RotatedNewVal = (IsSubWord ? MRI.createVirtualRegister(RC) : NewVal); in emitAtomicLoadBinary() 3128 BuildMI(MBB, DL, TII->get(SystemZ::RLL), NewVal) in emitAtomicLoadBinary() 3131 .addReg(OldVal).addReg(NewVal).addOperand(Base).addImm(Disp); in emitAtomicLoadBinary() 3185 unsigned NewVal = MRI.createVirtualRegister(RC); in emitAtomicLoadMinMax() local 3188 unsigned RotatedNewVal = (IsSubWord ? MRI.createVirtualRegister(RC) : NewVal); in emitAtomicLoadMinMax() 3247 BuildMI(MBB, DL, TII->get(SystemZ::RLL), NewVal) in emitAtomicLoadMinMax() 3250 .addReg(OldVal).addReg(NewVal).addOperand(Base).addImm(Disp); in emitAtomicLoadMinMax()
|
/external/llvm/lib/IR/ |
D | Instructions.cpp | 1117 void AtomicCmpXchgInst::Init(Value *Ptr, Value *Cmp, Value *NewVal, in Init() argument 1123 Op<2>() = NewVal; in Init() 1148 AtomicCmpXchgInst::AtomicCmpXchgInst(Value *Ptr, Value *Cmp, Value *NewVal, in AtomicCmpXchgInst() argument 1158 Init(Ptr, Cmp, NewVal, SuccessOrdering, FailureOrdering, SynchScope); in AtomicCmpXchgInst() 1161 AtomicCmpXchgInst::AtomicCmpXchgInst(Value *Ptr, Value *Cmp, Value *NewVal, in AtomicCmpXchgInst() argument 1171 Init(Ptr, Cmp, NewVal, SuccessOrdering, FailureOrdering, SynchScope); in AtomicCmpXchgInst()
|
D | Core.cpp | 550 void LLVMReplaceAllUsesWith(LLVMValueRef OldVal, LLVMValueRef NewVal) { in LLVMReplaceAllUsesWith() argument 551 unwrap(OldVal)->replaceAllUsesWith(unwrap(NewVal)); in LLVMReplaceAllUsesWith()
|
/external/llvm/lib/TableGen/ |
D | Record.cpp | 1082 Init *NewVal = NewOp->Fold(CurRec, CurMultiClass); in EvaluateOperation() local 1083 return (NewVal != NewOp) ? NewVal : nullptr; in EvaluateOperation()
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 2390 APValue &NewVal; member 2410 Subobj.swap(NewVal); in found() 2416 if (!NewVal.isInt()) { in found() 2421 Value = NewVal.getInt(); in found() 2427 Value = NewVal.getFloat(); in found() 2442 APValue &NewVal) { in modifySubobject() argument 2443 ModifySubobjectHandler Handler = { Info, NewVal, E }; in modifySubobject() 4722 APValue NewVal; in VisitBinAssign() local 4726 Evaluate(NewVal, this->Info, E->getRHS()); in VisitBinAssign() 4730 if (!Evaluate(NewVal, this->Info, E->getRHS())) in VisitBinAssign() [all …]
|
/external/clang/lib/CodeGen/ |
D | CGBuiltin.cpp | 1178 Value *NewVal = Builder.getInt8(1); in EmitBuiltinExpr() local 1187 Ptr, NewVal, in EmitBuiltinExpr() 1193 Ptr, NewVal, in EmitBuiltinExpr() 1198 Ptr, NewVal, in EmitBuiltinExpr() 1203 Ptr, NewVal, in EmitBuiltinExpr() 1208 Ptr, NewVal, in EmitBuiltinExpr() 1239 Ptr, NewVal, Orders[i]); in EmitBuiltinExpr() 1264 Value *NewVal = Builder.getInt8(0); in EmitBuiltinExpr() local 1268 StoreInst *Store = Builder.CreateStore(NewVal, Ptr, Volatile); in EmitBuiltinExpr() 1301 StoreInst *Store = Builder.CreateStore(NewVal, Ptr, Volatile); in EmitBuiltinExpr()
|
/external/llvm/include/llvm/IR/ |
D | Instructions.h | 487 void Init(Value *Ptr, Value *Cmp, Value *NewVal, 497 AtomicCmpXchgInst(Value *Ptr, Value *Cmp, Value *NewVal, 502 AtomicCmpXchgInst(Value *Ptr, Value *Cmp, Value *NewVal,
|
/external/llvm/bindings/ocaml/llvm/ |
D | llvm_ocaml.c | 572 LLVMValueRef NewVal) { in llvm_replace_all_uses_with() argument 573 LLVMReplaceAllUsesWith(OldVal, NewVal); in llvm_replace_all_uses_with()
|
/external/llvm/include/llvm-c/ |
D | Core.h | 1282 void LLVMReplaceAllUsesWith(LLVMValueRef OldVal, LLVMValueRef NewVal);
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 4645 SDValue NewVal = DAG.getTargetConstant(ImmVal, MVT::i32); in LowerConstantFP() local 4647 NewVal); in LowerConstantFP() 4667 SDValue NewVal = isNEONModifiedImm(iVal & 0xffffffffU, 0, 32, DAG, VMovVT, in LowerConstantFP() local 4669 if (NewVal != SDValue()) { in LowerConstantFP() 4672 NewVal); in LowerConstantFP() 4684 NewVal = isNEONModifiedImm(~iVal & 0xffffffffU, 0, 32, DAG, VMovVT, in LowerConstantFP() 4686 if (NewVal != SDValue()) { in LowerConstantFP() 4688 SDValue VecConstant = DAG.getNode(ARMISD::VMVNIMM, DL, VMovVT, NewVal); in LowerConstantFP()
|