Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp199 SmallVector<Value *, 4> NewOperands; in remapConstantVectorOrConstantAggregate() local
208 NewOperands.push_back(NewOperand); in remapConstantVectorOrConstantAggregate()
223 NewValue = Builder.CreateInsertElement(NewValue, NewOperands[i], Idx); in remapConstantVectorOrConstantAggregate()
228 Builder.CreateInsertValue(NewValue, NewOperands[i], makeArrayRef(i)); in remapConstantVectorOrConstantAggregate()
238 SmallVector<Value *, 4> NewOperands; in remapConstantExpr() local
247 NewOperands.push_back(NewOperand); in remapConstantExpr()
262 NewOperands[0], NewOperands[1]); in remapConstantExpr()
269 return Builder.CreateExtractElement(NewOperands[0], NewOperands[1]); in remapConstantExpr()
272 return Builder.CreateInsertElement(NewOperands[0], NewOperands[1], in remapConstantExpr()
273 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp421 SmallVector<Value*,4> NewOperands; in convert() local
426 NewOperands.push_back(V); in convert()
428 NewOperands.push_back(convert(VI, ToTy)); in convert()
435 NewOperands.push_back(ConstantInt::get(ToTy, Val)); in convert()
448 NewV = IRB.CreateZExtOrTrunc(NewOperands[0], I->getType()); in convert()
452 NewV = IRB.CreateSExtOrTrunc(NewOperands[0], I->getType()); in convert()
458 NewV = IRB.CreateICmp(P, NewOperands[0], NewOperands[1], I->getName()); in convert()
463 NewV = IRB.CreateZExtOrTrunc(NewOperands[0], ToTy); in convert()
467 NewV = IRB.CreateSExtOrTrunc(NewOperands[0], ToTy); in convert()
474 NewOperands[0], NewOperands[1], in convert()
DInferAddressSpaces.cpp540 SmallVector<Constant *, 4> NewOperands; in cloneConstantExprWithNewAddressSpace() local
550 NewOperands.push_back(cast<Constant>(NewOperand)); in cloneConstantExprWithNewAddressSpace()
553 NewOperands.push_back(Operand); in cloneConstantExprWithNewAddressSpace()
566 NewOperands, TargetType, /*OnlyIfReduced=*/false, in cloneConstantExprWithNewAddressSpace()
567 NewOperands[0]->getType()->getPointerElementType()); in cloneConstantExprWithNewAddressSpace()
570 return CE->getWithOperands(NewOperands, TargetType); in cloneConstantExprWithNewAddressSpace()
DGVNSink.cpp833 SmallVector<Value *, 4> NewOperands; in sinkLastInstruction() local
839 NewOperands.push_back(I0->getOperand(O)); in sinkLastInstruction()
850 NewOperands.push_back(PN); in sinkLastInstruction()
856 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/swiftshader/third_party/LLVM/lib/TableGen/
DRecord.cpp1013 std::vector<Init *> NewOperands; in EvaluateOperation() local
1035 NewOperands.push_back(Result); in EvaluateOperation()
1037 NewOperands.push_back(Arg); in EvaluateOperation()
1040 NewOperands.push_back(Arg); in EvaluateOperation()
1042 NewOperands.push_back(RHSo->getOperand(i)); in EvaluateOperation()
1047 const OpInit *NewOp = RHSo->clone(NewOperands); in EvaluateOperation()
1105 std::vector<Init *> NewOperands; in ForeachHelper() local
1113 NewOperands.clear(); in ForeachHelper()
1117 NewOperands.push_back(Item); in ForeachHelper()
1119 NewOperands.push_back(RHSo->getOperand(i)); in ForeachHelper()
[all …]
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp1542 SmallVector<Value*, 4> NewOperands; in sinkLastInstruction() local
1554 NewOperands.push_back(I0->getOperand(O)); in sinkLastInstruction()
1565 NewOperands.push_back(PN); in sinkLastInstruction()
1571 I0->getOperandUse(O).set(NewOperands[O]); in sinkLastInstruction()