Searched defs:NewVal (Results 1 - 23 of 23) sorted by relevance

/external/llvm/include/llvm/ADT/
H A DTinyPtrVector.h195 void push_back(EltTy NewVal) { argument
196 assert(NewVal && "Can't add a null value");
200 Val = NewVal;
211 Val.template get<VecTy*>()->push_back(NewVal);
/external/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp229 Value *NewVal = Builder.CreateBitCast(NewLI, LI->getType()); local
230 LI->replaceAllUsesWith(NewVal);
298 Value *NewVal = Builder.CreateBitCast(SI->getValueOperand(), NewTy);
305 StoreInst *NewSI = Builder.CreateStore(NewVal, NewAddr);
332 Value *Loaded, Value *NewVal,
336 Addr, Loaded, NewVal, MemOpOrder,
346 Value *NewVal;
363 NewVal = Builder.CreateICmpSGT(Loaded, Inc);
364 return Builder.CreateSelect(NewVal, Loaded, Inc, "new");
366 NewVal
[all...]
H A DCodeGenPrepare.cpp2187 /// \brief Set \p Idx operand of \p Inst with \p NewVal.
2188 OperandSetter(Instruction *Inst, unsigned Idx, Value *NewVal) argument
2192 << "with:" << *NewVal << "\n"); local
2194 Inst->setOperand(Idx, NewVal);
2428 void setOperand(Instruction *Inst, unsigned Idx, Value *NewVal);
2430 void eraseInstruction(Instruction *Inst, Value *NewVal = nullptr);
2452 Value *NewVal) {
2454 make_unique<TypePromotionTransaction::OperandSetter>(Inst, Idx, NewVal));
2458 Value *NewVal) {
2460 make_unique<TypePromotionTransaction::InstructionRemover>(Inst, NewVal));
2451 setOperand(Instruction *Inst, unsigned Idx, Value *NewVal) argument
2457 eraseInstruction(Instruction *Inst, Value *NewVal) argument
5022 Value *NewVal = nullptr; local
[all...]
/external/llvm/utils/PerfectShuffle/
H A DPerfectShuffle.cpp39 static unsigned setMaskElt(unsigned Mask, unsigned Elt, unsigned NewVal) { argument
41 return (Mask & ~(0xF << FieldShift)) | (NewVal << FieldShift);
/external/mesa3d/src/gallium/drivers/radeon/
H A DR600KernelParameters.cpp224 Value *NewVal; local
227 NewVal = handleSpecial(Fun, *I);
229 NewVal = ConstantRead(Fun, *I);
231 if (NewVal) {
232 I->Val->replaceAllUsesWith(NewVal);
/external/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeTypes.cpp97 SDValue NewVal = ReplacedValues[Res]; local
98 DenseMap<SDValue, SDValue>::iterator I = ReplacedValues.find(NewVal);
100 NewVal = I->second;
101 I = ReplacedValues.find(NewVal);
103 assert(NewVal.getNode()->getNodeId() != NewNode &&
733 SDValue NewVal(M, i);
735 RemapValue(NewVal);
736 DAG.ReplaceAllUsesOfValueWith(OldVal, NewVal);
740 // all the way to NewVal.
741 ReplacedValues[OldVal] = NewVal;
[all...]
H A DLegalizeFloatTypes.cpp1821 SDValue NewVal; local
1822 NewVal = DAG.getNode(GetPromotionOpcode(Promoted.getValueType(), VT), DL,
1825 return DAG.getStore(ST->getChain(), DL, NewVal, ST->getBasePtr(),
1983 SDValue NewVal = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, DL, IVT, local
1989 return DAG.getNode(GetPromotionOpcode(VT, NVT), SDLoc(N), NVT, NewVal);
H A DSelectionDAG.cpp1134 APInt NewVal = Elt->getValue().zext(EltVT.getSizeInBits()); local
1135 Elt = ConstantInt::get(*getContext(), NewVal);
1146 APInt NewVal = Elt->getValue(); local
1159 EltParts.push_back(getConstant(NewVal.lshr(i * ViaEltSizeInBits)
H A DDAGCombiner.cpp6685 APInt NewVal = CVal & Mask; local
6686 if (NewVal != CVal)
6687 return DAG.getConstant(NewVal, SDLoc(V), V.getValueType());
10841 SDValue NewVal = DAG.getNode(Opc, SDLoc(Value), NewVT, NewLD, local
10845 NewVal, NewPtr,
10851 AddToWorklist(NewVal.getNode());
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp75 Value *NewVal = SimplifyDemandedUseBits(U.get(), DemandedMask, KnownZero, local
77 if (!NewVal) return false;
78 U = NewVal;
621 Instruction *NewVal = BinaryOperator::CreateLShr( local
623 return InsertNewInstWith(NewVal, *I);
665 BinaryOperator *NewVal = BinaryOperator::CreateLShr(I->getOperand(0), local
667 NewVal->setIsExact(cast<BinaryOperator>(I)->isExact());
668 return InsertNewInstWith(NewVal, *I);
757 Instruction *NewVal; local
759 NewVal
[all...]
H A DInstCombineAndOrXor.cpp960 Value *NewVal = ConstantInt::get(AndCst->getType()->getContext(), N); local
961 return Builder->CreateICmp(LHSCC, NewAnd, NewVal);
/external/llvm/lib/Transforms/Utils/
H A DSSAUpdater.cpp440 Value *NewVal = SSA.GetValueInMiddleOfBlock(ALoad->getParent()); local
441 replaceLoadWithValue(ALoad, NewVal);
444 if (NewVal == ALoad) NewVal = UndefValue::get(NewVal->getType());
445 ALoad->replaceAllUsesWith(NewVal);
446 ReplacedLoads[ALoad] = NewVal;
460 Value *NewVal = ReplacedLoads[User]; local
461 assert(NewVal && "not a replaced load?");
466 DenseMap<Value*, Value*>::iterator RLI = ReplacedLoads.find(NewVal);
472 replaceLoadWithValue(cast<LoadInst>(User), NewVal); local
[all...]
H A DLocal.cpp556 Value *NewVal = PN->getIncomingValue(0); local
558 if (NewVal == PN) NewVal = UndefValue::get(PN->getType());
559 PN->replaceAllUsesWith(NewVal);
H A DSimplifyCFG.cpp394 bool setValueOnce(Value *NewVal) { argument
395 if(CompValue && CompValue != NewVal) return false;
396 CompValue = NewVal;
/external/llvm/lib/TableGen/
H A DRecord.cpp918 Init *NewVal = NewOp->Fold(CurRec, CurMultiClass); local
919 return (NewVal != NewOp) ? NewVal : nullptr;
/external/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp1060 LoadInst *NewVal = new LoadInst(LoadedPtr, LI->getName()+".pr", false, local
1063 NewVal->setDebugLoc(LI->getDebugLoc());
1065 NewVal->setAAMetadata(AATags);
1067 AvailablePreds.push_back(std::make_pair(UnavailablePred, NewVal));
/external/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp2524 SDValue NewVal = DAG.getNode(ISD::ADD, dl, VT, NewSP, local
2526 SDValue Ops[2] = { NewVal, Chain };
/external/llvm/lib/Target/Mips/
H A DMipsISelLowering.cpp1193 unsigned NewVal = RegInfo.createVirtualRegister(RC); local
1287 BuildMI(BB, DL, TII->get(Mips::AND), NewVal).addReg(BinOpRes).addReg(Mask);
1292 BuildMI(BB, DL, TII->get(Mips::AND), NewVal).addReg(BinOpRes).addReg(Mask);
1295 BuildMI(BB, DL, TII->get(Mips::AND), NewVal).addReg(Incr2).addReg(Mask);
1301 .addReg(MaskedOldVal0).addReg(NewVal);
1359 unsigned NewVal = MI->getOperand(3).getReg(); local
1400 .addReg(NewVal).addReg(Ptr).addImm(0);
1425 unsigned NewVal = MI->getOperand(3).getReg(); local
1506 .addReg(NewVal).addImm(MaskImm);
/external/clang/lib/CodeGen/
H A DCGBuiltin.cpp1315 Value *NewVal = Builder.getInt8(1); local
1324 Ptr, NewVal,
1330 Ptr, NewVal,
1335 Ptr, NewVal,
1340 Ptr, NewVal,
1345 Ptr, NewVal,
1376 Ptr, NewVal, Orders[i]);
1401 Value *NewVal = Builder.getInt8(0); local
1405 StoreInst *Store = Builder.CreateStore(NewVal, Ptr, Volatile);
1437 StoreInst *Store = Builder.CreateStore(NewVal, Pt
[all...]
/external/llvm/bindings/ocaml/llvm/
H A Dllvm_ocaml.c572 LLVMValueRef NewVal) {
573 LLVMReplaceAllUsesWith(OldVal, NewVal);
571 llvm_replace_all_uses_with(LLVMValueRef OldVal, LLVMValueRef NewVal) argument
/external/clang/lib/AST/
H A DExprConstant.cpp2476 APValue &NewVal; member in struct:__anon1155::ModifySubobjectHandler
2495 // We've been given ownership of NewVal, so just swap it in.
2496 Subobj.swap(NewVal);
2502 if (!NewVal.isInt()) {
2507 Value = NewVal.getInt();
2513 Value = NewVal.getFloat();
2528 APValue &NewVal) {
2529 ModifySubobjectHandler Handler = { Info, NewVal, E };
4844 APValue NewVal;
4848 Evaluate(NewVal, thi
2525 modifySubobject(EvalInfo &Info, const Expr *E, const CompleteObject &Obj, const SubobjectDesignator &Sub, APValue &NewVal) argument
[all...]
/external/llvm/lib/IR/
H A DCore.cpp566 void LLVMReplaceAllUsesWith(LLVMValueRef OldVal, LLVMValueRef NewVal) { argument
567 unwrap(OldVal)->replaceAllUsesWith(unwrap(NewVal));
/external/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp4913 SDValue NewVal = DAG.getTargetConstant(ImmVal, DL, MVT::i32); local
4915 NewVal);
4935 SDValue NewVal = isNEONModifiedImm(iVal & 0xffffffffU, 0, 32, DAG, SDLoc(Op),
4937 if (NewVal != SDValue()) {
4940 NewVal);
4952 NewVal = isNEONModifiedImm(~iVal & 0xffffffffU, 0, 32, DAG, SDLoc(Op), VMovVT,
4954 if (NewVal != SDValue()) {
4956 SDValue VecConstant = DAG.getNode(ARMISD::VMVNIMM, DL, VMovVT, NewVal);

Completed in 609 milliseconds