Home
last modified time | relevance | path

Searched refs:NewOperands (Results 1 – 15 of 15) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp198 SmallVector<Value *, 4> NewOperands; in remapConstantVectorOrConstantAggregate() local
207 NewOperands.push_back(NewOperand); in remapConstantVectorOrConstantAggregate()
222 NewValue = Builder.CreateInsertElement(NewValue, NewOperands[i], Idx); in remapConstantVectorOrConstantAggregate()
227 Builder.CreateInsertValue(NewValue, NewOperands[i], makeArrayRef(i)); in remapConstantVectorOrConstantAggregate()
237 SmallVector<Value *, 4> NewOperands; in remapConstantExpr() local
246 NewOperands.push_back(NewOperand); in remapConstantExpr()
261 NewOperands[0], NewOperands[1]); in remapConstantExpr()
268 return Builder.CreateExtractElement(NewOperands[0], NewOperands[1]); in remapConstantExpr()
271 return Builder.CreateInsertElement(NewOperands[0], NewOperands[1], in remapConstantExpr()
272 NewOperands[2]); in remapConstantExpr()
[all …]
/external/llvm-project/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp198 SmallVector<Value *, 4> NewOperands; in remapConstantVectorOrConstantAggregate() local
207 NewOperands.push_back(NewOperand); in remapConstantVectorOrConstantAggregate()
222 NewValue = Builder.CreateInsertElement(NewValue, NewOperands[i], Idx); in remapConstantVectorOrConstantAggregate()
227 Builder.CreateInsertValue(NewValue, NewOperands[i], makeArrayRef(i)); in remapConstantVectorOrConstantAggregate()
237 SmallVector<Value *, 4> NewOperands; in remapConstantExpr() local
246 NewOperands.push_back(NewOperand); in remapConstantExpr()
261 NewOperands[0], NewOperands[1]); in remapConstantExpr()
268 return Builder.CreateExtractElement(NewOperands[0], NewOperands[1]); in remapConstantExpr()
271 return Builder.CreateInsertElement(NewOperands[0], NewOperands[1], in remapConstantExpr()
272 NewOperands[2]); in remapConstantExpr()
[all …]
/external/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp249 SmallVector<Value *, 4> NewOperands; in remapConstantVectorOrConstantAggregate() local
258 NewOperands.push_back(NewOperand); in remapConstantVectorOrConstantAggregate()
273 NewValue = Builder.CreateInsertElement(NewValue, NewOperands[i], Idx); in remapConstantVectorOrConstantAggregate()
278 Builder.CreateInsertValue(NewValue, NewOperands[i], makeArrayRef(i)); in remapConstantVectorOrConstantAggregate()
288 SmallVector<Value *, 4> NewOperands; in remapConstantExpr() local
297 NewOperands.push_back(NewOperand); in remapConstantExpr()
312 NewOperands[0], NewOperands[1]); in remapConstantExpr()
319 return Builder.CreateExtractElement(NewOperands[0], NewOperands[1]); in remapConstantExpr()
322 return Builder.CreateInsertElement(NewOperands[0], NewOperands[1], in remapConstantExpr()
323 NewOperands[2]); in remapConstantExpr()
[all …]
DNVPTXInferAddressSpaces.cpp348 SmallVector<Constant *, 4> NewOperands; in cloneConstantExprWithNewAddressSpace() local
357 NewOperands.push_back(cast<Constant>(NewOperand)); in cloneConstantExprWithNewAddressSpace()
360 NewOperands.push_back(Operand); in cloneConstantExprWithNewAddressSpace()
368 NewOperands, TargetType, /*OnlyIfReduced=*/false, in cloneConstantExprWithNewAddressSpace()
369 NewOperands[0]->getType()->getPointerElementType()); in cloneConstantExprWithNewAddressSpace()
372 return CE->getWithOperands(NewOperands, TargetType); in cloneConstantExprWithNewAddressSpace()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp441 SmallVector<Value*,4> NewOperands; in convert() local
446 NewOperands.push_back(V); in convert()
448 NewOperands.push_back(convert(VI, ToTy)); in convert()
455 NewOperands.push_back(ConstantInt::get(ToTy, Val)); in convert()
468 NewV = IRB.CreateZExtOrTrunc(NewOperands[0], I->getType()); in convert()
472 NewV = IRB.CreateSExtOrTrunc(NewOperands[0], I->getType()); in convert()
478 NewV = IRB.CreateICmp(P, NewOperands[0], NewOperands[1], I->getName()); in convert()
483 NewV = IRB.CreateZExtOrTrunc(NewOperands[0], ToTy); in convert()
487 NewV = IRB.CreateSExtOrTrunc(NewOperands[0], ToTy); in convert()
491 NewV = IRB.CreateNeg(NewOperands[0], I->getName()); in convert()
[all …]
DInferAddressSpaces.cpp667 SmallVector<Constant *, 4> NewOperands; in cloneConstantExprWithNewAddressSpace() local
677 NewOperands.push_back(cast<Constant>(NewOperand)); in cloneConstantExprWithNewAddressSpace()
684 NewOperands.push_back(cast<Constant>(NewOperand)); in cloneConstantExprWithNewAddressSpace()
688 NewOperands.push_back(Operand); in cloneConstantExprWithNewAddressSpace()
700 NewOperands, TargetType, /*OnlyIfReduced=*/false, in cloneConstantExprWithNewAddressSpace()
701 NewOperands[0]->getType()->getPointerElementType()); in cloneConstantExprWithNewAddressSpace()
704 return CE->getWithOperands(NewOperands, TargetType); in cloneConstantExprWithNewAddressSpace()
DGVNSink.cpp843 SmallVector<Value *, 4> NewOperands; in sinkLastInstruction() local
849 NewOperands.push_back(I0->getOperand(O)); in sinkLastInstruction()
860 NewOperands.push_back(PN); in sinkLastInstruction()
866 I0->getOperandUse(O).set(NewOperands[O]); in sinkLastInstruction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp442 SmallVector<Value*,4> NewOperands; in convert() local
447 NewOperands.push_back(V); in convert()
449 NewOperands.push_back(convert(VI, ToTy)); in convert()
456 NewOperands.push_back(ConstantInt::get(ToTy, Val)); in convert()
469 NewV = IRB.CreateZExtOrTrunc(NewOperands[0], I->getType()); in convert()
473 NewV = IRB.CreateSExtOrTrunc(NewOperands[0], I->getType()); in convert()
479 NewV = IRB.CreateICmp(P, NewOperands[0], NewOperands[1], I->getName()); in convert()
484 NewV = IRB.CreateZExtOrTrunc(NewOperands[0], ToTy); in convert()
488 NewV = IRB.CreateSExtOrTrunc(NewOperands[0], ToTy); in convert()
492 NewV = IRB.CreateNeg(NewOperands[0], I->getName()); in convert()
[all …]
DInferAddressSpaces.cpp538 SmallVector<Constant *, 4> NewOperands; in cloneConstantExprWithNewAddressSpace() local
548 NewOperands.push_back(cast<Constant>(NewOperand)); in cloneConstantExprWithNewAddressSpace()
555 NewOperands.push_back(cast<Constant>(NewOperand)); in cloneConstantExprWithNewAddressSpace()
559 NewOperands.push_back(Operand); in cloneConstantExprWithNewAddressSpace()
571 NewOperands, TargetType, /*OnlyIfReduced=*/false, in cloneConstantExprWithNewAddressSpace()
572 NewOperands[0]->getType()->getPointerElementType()); in cloneConstantExprWithNewAddressSpace()
575 return CE->getWithOperands(NewOperands, TargetType); in cloneConstantExprWithNewAddressSpace()
DGVNSink.cpp840 SmallVector<Value *, 4> NewOperands; in sinkLastInstruction() local
846 NewOperands.push_back(I0->getOperand(O)); in sinkLastInstruction()
857 NewOperands.push_back(PN); in sinkLastInstruction()
863 I0->getOperandUse(O).set(NewOperands[O]); in sinkLastInstruction()
/external/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp435 SmallVector<Value*,4> NewOperands; in convert() local
440 NewOperands.push_back(V); in convert()
442 NewOperands.push_back(convert(VI, ToTy)); in convert()
449 NewOperands.push_back(ConstantInt::get(ToTy, Val)); in convert()
462 NewV = IRB.CreateZExtOrTrunc(NewOperands[0], I->getType()); in convert()
466 NewV = IRB.CreateSExtOrTrunc(NewOperands[0], I->getType()); in convert()
472 NewV = IRB.CreateICmp(P, NewOperands[0], NewOperands[1], I->getName()); in convert()
477 NewV = IRB.CreateZExtOrTrunc(NewOperands[0], ToTy); in convert()
481 NewV = IRB.CreateSExtOrTrunc(NewOperands[0], ToTy); in convert()
488 NewOperands[0], NewOperands[1], in convert()
/external/llvm/lib/TableGen/
DRecord.cpp958 std::vector<Init *> NewOperands; in EvaluateOperation() local
963 NewOperands.push_back(Result); in EvaluateOperation()
965 NewOperands.push_back(Arg); in EvaluateOperation()
967 NewOperands.push_back(Arg); in EvaluateOperation()
969 NewOperands.push_back(RHSo->getOperand(i)); in EvaluateOperation()
974 const OpInit *NewOp = RHSo->clone(NewOperands); in EvaluateOperation()
1018 std::vector<Init *> NewOperands; in ForeachHelper() local
1022 NewOperands.clear(); in ForeachHelper()
1026 NewOperands.push_back(Item); in ForeachHelper()
1028 NewOperands.push_back(RHSo->getOperand(i)); in ForeachHelper()
[all …]
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp317 std::array<PHINode *, 2> NewOperands; in foldPHIArgInsertValueInstructionIntoPHI() local
319 auto *&NewOperand = NewOperands[OpIdx]; in foldPHIArgInsertValueInstructionIntoPHI()
334 auto *NewIVI = InsertValueInst::Create(NewOperands[0], NewOperands[1], in foldPHIArgInsertValueInstructionIntoPHI()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp1582 SmallVector<Value*, 4> NewOperands; in sinkLastInstruction() local
1594 NewOperands.push_back(I0->getOperand(O)); in sinkLastInstruction()
1605 NewOperands.push_back(PN); in sinkLastInstruction()
1611 I0->getOperandUse(O).set(NewOperands[O]); in sinkLastInstruction()
/external/llvm-project/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp1658 SmallVector<Value*, 4> NewOperands; in sinkLastInstruction() local
1670 NewOperands.push_back(I0->getOperand(O)); in sinkLastInstruction()
1681 NewOperands.push_back(PN); in sinkLastInstruction()
1687 I0->getOperandUse(O).set(NewOperands[O]); in sinkLastInstruction()