/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPUCodeGenPrepare.cpp | 798 Value *NewElt = optimizeWithRcp(NumEltI, DenEltI, AllowInaccurateRcp, in visitFDiv() local 800 if (!NewElt) // Try fdiv.fast. in visitFDiv() 801 NewElt = optimizeWithFDivFast(NumEltI, DenEltI, ReqdAccuracy, in visitFDiv() 803 if (!NewElt) // Keep the original. in visitFDiv() 804 NewElt = Builder.CreateFDiv(NumEltI, DenEltI); in visitFDiv() 806 NewFDiv = Builder.CreateInsertElement(NewFDiv, NewElt, I); in visitFDiv() 1237 Value *NewElt; in visitBinaryOperator() local 1239 NewElt = expandDivRem32(Builder, I, NumEltN, DenEltN); in visitBinaryOperator() 1240 if (!NewElt) in visitBinaryOperator() 1241 NewElt = Builder.CreateBinOp(Opc, NumEltN, DenEltN); in visitBinaryOperator() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopDistribute.cpp | 325 bool NewElt; in mergeToAvoidDuplicatedLoads() local 328 std::tie(LoadToPart, NewElt) = in mergeToAvoidDuplicatedLoads() 330 if (!NewElt) { in mergeToAvoidDuplicatedLoads() 373 bool NewElt; in setupPartitionIdOnInstructions() local 376 std::tie(Iter, NewElt) = in setupPartitionIdOnInstructions() 378 if (!NewElt) in setupPartitionIdOnInstructions()
|
D | LoopLoadElimination.cpp | 231 bool NewElt; in removeDependencesFromMultipleStores() local 234 std::tie(Iter, NewElt) = in removeDependencesFromMultipleStores() 236 if (!NewElt) { in removeDependencesFromMultipleStores()
|
/external/llvm-project/llvm/utils/PerfectShuffle/ |
D | PerfectShuffle.cpp | 278 unsigned NewElt = setMaskElt(i, UndefIdx, j); in main() local 279 if (ShufTab[NewElt].Cost < MinCost) { in main() 280 MinCost = ShufTab[NewElt].Cost; in main() 281 MinVal = NewElt; in main()
|
/external/llvm/utils/PerfectShuffle/ |
D | PerfectShuffle.cpp | 279 unsigned NewElt = setMaskElt(i, UndefIdx, j); in main() local 280 if (ShufTab[NewElt].Cost < MinCost) { in main() 281 MinCost = ShufTab[NewElt].Cost; in main() 282 MinVal = NewElt; in main()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LoopDistribute.cpp | 371 bool NewElt; in mergeToAvoidDuplicatedLoads() local 374 std::tie(LoadToPart, NewElt) = in mergeToAvoidDuplicatedLoads() 376 if (!NewElt) { in mergeToAvoidDuplicatedLoads() 421 bool NewElt; in setupPartitionIdOnInstructions() local 424 std::tie(Iter, NewElt) = in setupPartitionIdOnInstructions() 426 if (!NewElt) in setupPartitionIdOnInstructions()
|
D | LoopLoadElimination.cpp | 267 bool NewElt; in removeDependencesFromMultipleStores() local 270 std::tie(Iter, NewElt) = in removeDependencesFromMultipleStores() 272 if (!NewElt) { in removeDependencesFromMultipleStores()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | LoopDistribute.cpp | 371 bool NewElt; in mergeToAvoidDuplicatedLoads() local 374 std::tie(LoadToPart, NewElt) = in mergeToAvoidDuplicatedLoads() 376 if (!NewElt) { in mergeToAvoidDuplicatedLoads() 421 bool NewElt; in setupPartitionIdOnInstructions() local 424 std::tie(Iter, NewElt) = in setupPartitionIdOnInstructions() 426 if (!NewElt) in setupPartitionIdOnInstructions()
|
D | LoopLoadElimination.cpp | 268 bool NewElt; in removeDependencesFromMultipleStores() local 271 std::tie(Iter, NewElt) = in removeDependencesFromMultipleStores() 273 if (!NewElt) { in removeDependencesFromMultipleStores()
|
D | Scalarizer.cpp | 757 Value *NewElt = IEI.getOperand(1); in visitInsertElementInst() local 765 Res[I] = CI->getValue().getZExtValue() == I ? NewElt : Op0[I]; in visitInsertElementInst() 775 Res[I] = Builder.CreateSelect(ShouldReplace, NewElt, OldElt, in visitInsertElementInst()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUCodeGenPrepare.cpp | 587 Value *NewElt; in visitFDiv() local 590 NewElt = Builder.CreateFDiv(NumEltI, DenEltI); in visitFDiv() 592 NewElt = Builder.CreateCall(Decl, { NumEltI, DenEltI }); in visitFDiv() 595 NewFDiv = Builder.CreateInsertElement(NewFDiv, NewElt, I); in visitFDiv() 912 Value *NewElt = expandDivRem32(Builder, I, NumEltN, DenEltN); in visitBinaryOperator() local 913 if (!NewElt) in visitBinaryOperator() 914 NewElt = Builder.CreateBinOp(Opc, NumEltN, DenEltN); in visitBinaryOperator() 915 NewDiv = Builder.CreateInsertElement(NewDiv, NewElt, N); in visitBinaryOperator()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | ConstantFolder.h | 257 Constant *CreateInsertElement(Constant *Vec, Constant *NewElt, in CreateInsertElement() argument 259 return ConstantExpr::getInsertElement(Vec, NewElt, Idx); in CreateInsertElement()
|
D | NoFolder.h | 322 Instruction *CreateInsertElement(Constant *Vec, Constant *NewElt, in CreateInsertElement() argument 324 return InsertElementInst::Create(Vec, NewElt, Idx); in CreateInsertElement()
|
D | Instructions.h | 1921 InsertElementInst(Value *Vec, Value *NewElt, Value *Idx, 1924 InsertElementInst(Value *Vec, Value *NewElt, Value *Idx, const Twine &NameStr, 1934 static InsertElementInst *Create(Value *Vec, Value *NewElt, Value *Idx, 1937 return new(3) InsertElementInst(Vec, NewElt, Idx, NameStr, InsertBefore); 1940 static InsertElementInst *Create(Value *Vec, Value *NewElt, Value *Idx, 1943 return new(3) InsertElementInst(Vec, NewElt, Idx, NameStr, InsertAtEnd); 1948 static bool isValidOperands(const Value *Vec, const Value *NewElt,
|
/external/llvm/include/llvm/IR/ |
D | ConstantFolder.h | 222 Constant *CreateInsertElement(Constant *Vec, Constant *NewElt, in CreateInsertElement() argument 224 return ConstantExpr::getInsertElement(Vec, NewElt, Idx); in CreateInsertElement()
|
D | NoFolder.h | 276 Instruction *CreateInsertElement(Constant *Vec, Constant *NewElt, in CreateInsertElement() argument 278 return InsertElementInst::Create(Vec, NewElt, Idx); in CreateInsertElement()
|
D | IRBuilder.h | 1608 Value *CreateInsertElement(Value *Vec, Value *NewElt, Value *Idx, 1611 if (Constant *NC = dyn_cast<Constant>(NewElt)) 1614 return Insert(InsertElementInst::Create(Vec, NewElt, Idx), Name); 1617 Value *CreateInsertElement(Value *Vec, Value *NewElt, uint64_t Idx, 1619 return CreateInsertElement(Vec, NewElt, getInt64(Idx), Name);
|
D | Instructions.h | 2089 InsertElementInst(Value *Vec, Value *NewElt, Value *Idx, 2092 InsertElementInst(Value *Vec, Value *NewElt, Value *Idx, const Twine &NameStr, 2101 static InsertElementInst *Create(Value *Vec, Value *NewElt, Value *Idx, 2104 return new(3) InsertElementInst(Vec, NewElt, Idx, NameStr, InsertBefore); 2106 static InsertElementInst *Create(Value *Vec, Value *NewElt, Value *Idx, 2109 return new(3) InsertElementInst(Vec, NewElt, Idx, NameStr, InsertAtEnd); 2114 static bool isValidOperands(const Value *Vec, const Value *NewElt,
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | TargetFolder.h | 249 Constant *CreateInsertElement(Constant *Vec, Constant *NewElt, in CreateInsertElement() argument 251 return Fold(ConstantExpr::getInsertElement(Vec, NewElt, Idx)); in CreateInsertElement()
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | ConstantFolder.h | 262 Constant *CreateInsertElement(Constant *Vec, Constant *NewElt, in CreateInsertElement() argument 264 return ConstantExpr::getInsertElement(Vec, NewElt, Idx); in CreateInsertElement()
|
D | NoFolder.h | 297 Instruction *CreateInsertElement(Constant *Vec, Constant *NewElt, in CreateInsertElement() argument 299 return InsertElementInst::Create(Vec, NewElt, Idx); in CreateInsertElement()
|
D | IRBuilderFolder.h | 129 virtual Value *CreateInsertElement(Constant *Vec, Constant *NewElt,
|
D | Instructions.h | 1925 InsertElementInst(Value *Vec, Value *NewElt, Value *Idx, 1928 InsertElementInst(Value *Vec, Value *NewElt, Value *Idx, const Twine &NameStr, 1938 static InsertElementInst *Create(Value *Vec, Value *NewElt, Value *Idx, 1941 return new(3) InsertElementInst(Vec, NewElt, Idx, NameStr, InsertBefore); 1944 static InsertElementInst *Create(Value *Vec, Value *NewElt, Value *Idx, 1947 return new(3) InsertElementInst(Vec, NewElt, Idx, NameStr, InsertAtEnd); 1952 static bool isValidOperands(const Value *Vec, const Value *NewElt,
|
/external/llvm/include/llvm/Analysis/ |
D | TargetFolder.h | 247 Constant *CreateInsertElement(Constant *Vec, Constant *NewElt, in CreateInsertElement() argument 249 return Fold(ConstantExpr::getInsertElement(Vec, NewElt, Idx)); in CreateInsertElement()
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | TargetFolder.h | 256 Constant *CreateInsertElement(Constant *Vec, Constant *NewElt, in CreateInsertElement() argument 258 return Fold(ConstantExpr::getInsertElement(Vec, NewElt, Idx)); in CreateInsertElement()
|