Home
last modified time | relevance | path

Searched refs:NewOperand (Results 1 – 16 of 16) sorted by relevance

/external/llvm/lib/Target/NVPTX/
DNVPTXFavorNonGenericAddrSpaces.cpp150 Value *NewOperand = in hoistAddrSpaceCastFromGEP() local
152 if (NewOperand == nullptr) in hoistAddrSpaceCastFromGEP()
156 assert(isEliminableAddrSpaceCast(NewOperand)); in hoistAddrSpaceCastFromGEP()
157 Operator *Cast = cast<Operator>(NewOperand); in hoistAddrSpaceCastFromGEP()
188 Value *NewOperand = hoistAddrSpaceCastFrom(BC->getOperand(0), Depth + 1); in hoistAddrSpaceCastFromBitCast() local
189 if (NewOperand == nullptr) in hoistAddrSpaceCastFromBitCast()
193 assert(isEliminableAddrSpaceCast(NewOperand)); in hoistAddrSpaceCastFromBitCast()
194 Operator *Cast = cast<Operator>(NewOperand); in hoistAddrSpaceCastFromBitCast()
248 Value *NewOperand = hoistAddrSpaceCastFrom(MI->getOperand(Idx)); in optimizeMemoryInstruction() local
249 if (NewOperand == nullptr) in optimizeMemoryInstruction()
[all …]
DNVPTXGenericToNVVM.cpp256 Value *NewOperand = remapConstant(M, F, cast<Constant>(Operand), Builder); in remapConstantVectorOrConstantAggregate() local
257 OperandChanged |= Operand != NewOperand; in remapConstantVectorOrConstantAggregate()
258 NewOperands.push_back(NewOperand); in remapConstantVectorOrConstantAggregate()
295 Value *NewOperand = remapConstant(M, F, cast<Constant>(Operand), Builder); in remapConstantExpr() local
296 OperandChanged |= Operand != NewOperand; in remapConstantExpr()
297 NewOperands.push_back(NewOperand); in remapConstantExpr()
374 MDNode *NewOperand = MapMetadata(Operand, VM); in remapNamedMDNode() local
375 OperandChanged |= Operand != NewOperand; in remapNamedMDNode()
376 NewOperands.push_back(NewOperand); in remapNamedMDNode()
DNVPTXInferAddressSpaces.cpp257 if (Value *NewOperand = ValueWithNewAddrSpace.lookup(Operand)) in operandWithNewAddressSpaceOrCreateUndef() local
258 return NewOperand; in operandWithNewAddressSpaceOrCreateUndef()
356 if (Value *NewOperand = ValueWithNewAddrSpace.lookup(Operand)) { in cloneConstantExprWithNewAddressSpace() local
357 NewOperands.push_back(cast<Constant>(NewOperand)); in cloneConstantExprWithNewAddressSpace()
/external/llvm-project/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp205 Value *NewOperand = remapConstant(M, F, cast<Constant>(Operand), Builder); in remapConstantVectorOrConstantAggregate() local
206 OperandChanged |= Operand != NewOperand; in remapConstantVectorOrConstantAggregate()
207 NewOperands.push_back(NewOperand); in remapConstantVectorOrConstantAggregate()
244 Value *NewOperand = remapConstant(M, F, cast<Constant>(Operand), Builder); in remapConstantExpr() local
245 OperandChanged |= Operand != NewOperand; in remapConstantExpr()
246 NewOperands.push_back(NewOperand); in remapConstantExpr()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp205 Value *NewOperand = remapConstant(M, F, cast<Constant>(Operand), Builder); in remapConstantVectorOrConstantAggregate() local
206 OperandChanged |= Operand != NewOperand; in remapConstantVectorOrConstantAggregate()
207 NewOperands.push_back(NewOperand); in remapConstantVectorOrConstantAggregate()
244 Value *NewOperand = remapConstant(M, F, cast<Constant>(Operand), Builder); in remapConstantExpr() local
245 OperandChanged |= Operand != NewOperand; in remapConstantExpr()
246 NewOperands.push_back(NewOperand); in remapConstantExpr()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DInferAddressSpaces.cpp425 if (Value *NewOperand = ValueWithNewAddrSpace.lookup(Operand)) in operandWithNewAddressSpaceOrCreateUndef() local
426 return NewOperand; in operandWithNewAddressSpaceOrCreateUndef()
519 if (Value *NewOperand = ValueWithNewAddrSpace.lookup(CE->getOperand(0))) in cloneConstantExprWithNewAddressSpace() local
520 return ConstantExpr::getBitCast(cast<Constant>(NewOperand), TargetType); in cloneConstantExprWithNewAddressSpace()
546 if (Value *NewOperand = ValueWithNewAddrSpace.lookup(Operand)) { in cloneConstantExprWithNewAddressSpace() local
548 NewOperands.push_back(cast<Constant>(NewOperand)); in cloneConstantExprWithNewAddressSpace()
552 if (Value *NewOperand = cloneConstantExprWithNewAddressSpace( in cloneConstantExprWithNewAddressSpace() local
555 NewOperands.push_back(cast<Constant>(NewOperand)); in cloneConstantExprWithNewAddressSpace()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DInferAddressSpaces.cpp508 if (Value *NewOperand = ValueWithNewAddrSpace.lookup(Operand)) in operandWithNewAddressSpaceOrCreateUndef() local
509 return NewOperand; in operandWithNewAddressSpaceOrCreateUndef()
641 if (Value *NewOperand = ValueWithNewAddrSpace.lookup(CE->getOperand(0))) in cloneConstantExprWithNewAddressSpace() local
642 return ConstantExpr::getBitCast(cast<Constant>(NewOperand), TargetType); in cloneConstantExprWithNewAddressSpace()
675 if (Value *NewOperand = ValueWithNewAddrSpace.lookup(Operand)) { in cloneConstantExprWithNewAddressSpace() local
677 NewOperands.push_back(cast<Constant>(NewOperand)); in cloneConstantExprWithNewAddressSpace()
681 if (Value *NewOperand = cloneConstantExprWithNewAddressSpace( in cloneConstantExprWithNewAddressSpace() local
684 NewOperands.push_back(cast<Constant>(NewOperand)); in cloneConstantExprWithNewAddressSpace()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp319 auto *&NewOperand = NewOperands[OpIdx]; in foldPHIArgInsertValueInstructionIntoPHI() local
322 NewOperand = PHINode::Create( in foldPHIArgInsertValueInstructionIntoPHI()
327 NewOperand->addIncoming( in foldPHIArgInsertValueInstructionIntoPHI()
330 InsertNewInstBefore(NewOperand, PN); in foldPHIArgInsertValueInstructionIntoPHI()
/external/llvm-project/polly/lib/CodeGen/
DBlockGenerators.cpp226 Value *NewOperand = in copyInstScalar() local
229 if (!NewOperand) { in copyInstScalar()
236 NewInst->replaceUsesOfWith(OldOperand, NewOperand); in copyInstScalar()
1164 Value *NewOperand = getVectorValue(Stmt, Inst->getOperand(0), VectorMap, in copyUnaryInst() local
1171 VectorMap[Inst] = Builder.CreateCast(Cast->getOpcode(), NewOperand, DestType); in copyUnaryInst()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp688 Value *NewOperand = in instrumentAtomic() local
692 NewOperand, in instrumentAtomic()
/external/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp631 Value *NewOperand = in instrumentAtomic() local
635 NewOperand, in instrumentAtomic()
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp800 Value *NewOperand = in instrumentAtomic() local
804 NewOperand, in instrumentAtomic()
/external/llvm-project/llvm/lib/CodeGen/
DAtomicExpandPass.cpp812 Value *NewOperand; in widenPartwordAtomicRMW() local
815 NewOperand = in widenPartwordAtomicRMW()
818 NewOperand = ValOperand_Shifted; in widenPartwordAtomicRMW()
821 NewOperand, AI->getOrdering()); in widenPartwordAtomicRMW()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DAtomicExpandPass.cpp792 Value *NewOperand; in widenPartwordAtomicRMW() local
795 NewOperand = in widenPartwordAtomicRMW()
798 NewOperand = ValOperand_Shifted; in widenPartwordAtomicRMW()
801 NewOperand, AI->getOrdering()); in widenPartwordAtomicRMW()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsISelLowering.cpp797 SDValue NewOperand; in performANDCombine() local
822 NewOperand = FirstOperand.getOperand(0); in performANDCombine()
840 NewOperand = FirstOperand.getOperand(0); in performANDCombine()
858 NewOperand = FirstOperand; in performANDCombine()
860 return DAG.getNode(Opc, DL, ValTy, NewOperand, in performANDCombine()
1121 SDValue NewOperand; in performSHLCombine() local
1145 NewOperand = FirstOperand.getOperand(0); in performSHLCombine()
1149 return DAG.getNode(MipsISD::CIns, DL, ValTy, NewOperand, in performSHLCombine()
/external/llvm-project/llvm/lib/Target/Mips/
DMipsISelLowering.cpp798 SDValue NewOperand; in performANDCombine() local
823 NewOperand = FirstOperand.getOperand(0); in performANDCombine()
841 NewOperand = FirstOperand.getOperand(0); in performANDCombine()
859 NewOperand = FirstOperand; in performANDCombine()
861 return DAG.getNode(Opc, DL, ValTy, NewOperand, in performANDCombine()
1122 SDValue NewOperand; in performSHLCombine() local
1146 NewOperand = FirstOperand.getOperand(0); in performSHLCombine()
1150 return DAG.getNode(MipsISD::CIns, DL, ValTy, NewOperand, in performSHLCombine()