/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/lib/Analysis/ |
H A D | InlineCost.cpp | 1029 for (unsigned int Index = 1 ; Index < COps.size() ; ++Index) in visitGetElementPtr() 1030 Indices.push_back(COps[Index]); in visitGetElementPtr() 1055 SmallVector<Constant *, 2> COps; in simplifyInstruction() local 1062 COps.push_back(COp); in simplifyInstruction() 1064 auto *C = Evaluate(COps); in simplifyInstruction() 1073 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { in visitBitCast() argument 1074 return ConstantExpr::getBitCast(COps[0], I.getType()); in visitBitCast() 1096 return ConstantExpr::getPtrToInt(COps[0], I.getType()); in visitPtrToInt() 1128 return ConstantExpr::getIntToPtr(COps[0], I.getType()); in visitIntToPtr() 1185 return ConstantFoldInstOperands(&I, COps[0], DL); in visitUnaryInstruction() [all …]
|
/dports/devel/llvm11/llvm-11.0.1.src/lib/Analysis/ |
H A D | InlineCost.cpp | 1029 for (unsigned int Index = 1 ; Index < COps.size() ; ++Index) in visitGetElementPtr() 1030 Indices.push_back(COps[Index]); in visitGetElementPtr() 1055 SmallVector<Constant *, 2> COps; in simplifyInstruction() local 1062 COps.push_back(COp); in simplifyInstruction() 1064 auto *C = Evaluate(COps); in simplifyInstruction() 1073 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { in visitBitCast() argument 1074 return ConstantExpr::getBitCast(COps[0], I.getType()); in visitBitCast() 1096 return ConstantExpr::getPtrToInt(COps[0], I.getType()); in visitPtrToInt() 1128 return ConstantExpr::getIntToPtr(COps[0], I.getType()); in visitIntToPtr() 1185 return ConstantFoldInstOperands(&I, COps[0], DL); in visitUnaryInstruction() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/lib/Analysis/ |
H A D | InlineCost.cpp | 1029 for (unsigned int Index = 1 ; Index < COps.size() ; ++Index) in visitGetElementPtr() 1030 Indices.push_back(COps[Index]); in visitGetElementPtr() 1055 SmallVector<Constant *, 2> COps; in simplifyInstruction() local 1062 COps.push_back(COp); in simplifyInstruction() 1064 auto *C = Evaluate(COps); in simplifyInstruction() 1073 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { in visitBitCast() argument 1074 return ConstantExpr::getBitCast(COps[0], I.getType()); in visitBitCast() 1096 return ConstantExpr::getPtrToInt(COps[0], I.getType()); in visitPtrToInt() 1128 return ConstantExpr::getIntToPtr(COps[0], I.getType()); in visitIntToPtr() 1185 return ConstantFoldInstOperands(&I, COps[0], DL); in visitUnaryInstruction() [all …]
|
/dports/devel/llvm10/llvm-10.0.1.src/lib/Analysis/ |
H A D | InlineCost.cpp | 896 SmallVector<Constant *, 2> COps; in simplifyInstruction() local 903 COps.push_back(COp); in simplifyInstruction() 905 auto *C = Evaluate(COps); in simplifyInstruction() 914 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { in visitBitCast() argument 915 return ConstantExpr::getBitCast(COps[0], I.getType()); in visitBitCast() 936 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { in visitPtrToInt() argument 937 return ConstantExpr::getPtrToInt(COps[0], I.getType()); in visitPtrToInt() 967 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { in visitIntToPtr() argument 968 return ConstantExpr::getIntToPtr(COps[0], I.getType()); in visitIntToPtr() 1022 return ConstantFoldInstOperands(&I, COps[0], DL); in visitUnaryInstruction() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
H A D | InlineCost.cpp | 896 SmallVector<Constant *, 2> COps; in simplifyInstruction() local 903 COps.push_back(COp); in simplifyInstruction() 905 auto *C = Evaluate(COps); in simplifyInstruction() 914 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { in visitBitCast() argument 915 return ConstantExpr::getBitCast(COps[0], I.getType()); in visitBitCast() 936 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { in visitPtrToInt() argument 937 return ConstantExpr::getPtrToInt(COps[0], I.getType()); in visitPtrToInt() 967 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { in visitIntToPtr() argument 968 return ConstantExpr::getIntToPtr(COps[0], I.getType()); in visitIntToPtr() 1022 return ConstantFoldInstOperands(&I, COps[0], DL); in visitUnaryInstruction() [all …]
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llvm/lib/Analysis/ |
H A D | InlineCost.cpp | 896 SmallVector<Constant *, 2> COps; in simplifyInstruction() local 903 COps.push_back(COp); in simplifyInstruction() 905 auto *C = Evaluate(COps); in simplifyInstruction() 914 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { in visitBitCast() argument 915 return ConstantExpr::getBitCast(COps[0], I.getType()); in visitBitCast() 936 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { in visitPtrToInt() argument 937 return ConstantExpr::getPtrToInt(COps[0], I.getType()); in visitPtrToInt() 967 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { in visitIntToPtr() argument 968 return ConstantExpr::getIntToPtr(COps[0], I.getType()); in visitIntToPtr() 1022 return ConstantFoldInstOperands(&I, COps[0], DL); in visitUnaryInstruction() [all …]
|
/dports/devel/llvm90/llvm-9.0.1.src/lib/Analysis/ |
H A D | InlineCost.cpp | 613 SmallVector<Constant *, 2> COps; in simplifyInstruction() local 620 COps.push_back(COp); in simplifyInstruction() 622 auto *C = Evaluate(COps); in simplifyInstruction() 631 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { in visitBitCast() argument 632 return ConstantExpr::getBitCast(COps[0], I.getType()); in visitBitCast() 655 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { in visitPtrToInt() argument 656 return ConstantExpr::getPtrToInt(COps[0], I.getType()); in visitPtrToInt() 688 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { in visitIntToPtr() argument 689 return ConstantExpr::getIntToPtr(COps[0], I.getType()); in visitIntToPtr() 745 return ConstantFoldInstOperands(&I, COps[0], DL); in visitUnaryInstruction() [all …]
|
/dports/devel/llvm80/llvm-8.0.1.src/lib/Analysis/ |
H A D | InlineCost.cpp | 604 SmallVector<Constant *, 2> COps; in simplifyInstruction() local 611 COps.push_back(COp); in simplifyInstruction() 613 auto *C = Evaluate(COps); in simplifyInstruction() 622 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { in visitBitCast() argument 623 return ConstantExpr::getBitCast(COps[0], I.getType()); in visitBitCast() 646 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { in visitPtrToInt() argument 647 return ConstantExpr::getPtrToInt(COps[0], I.getType()); in visitPtrToInt() 679 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { in visitIntToPtr() argument 680 return ConstantExpr::getIntToPtr(COps[0], I.getType()); in visitIntToPtr() 736 return ConstantFoldInstOperands(&I, COps[0], DL); in visitUnaryInstruction() [all …]
|
/dports/devel/llvm70/llvm-7.0.1.src/lib/Analysis/ |
H A D | InlineCost.cpp | 601 SmallVector<Constant *, 2> COps; 608 COps.push_back(COp); 610 auto *C = Evaluate(COps); 619 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { 620 return ConstantExpr::getBitCast(COps[0], I.getType()); 643 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { 644 return ConstantExpr::getPtrToInt(COps[0], I.getType()); 676 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { 677 return ConstantExpr::getIntToPtr(COps[0], I.getType()); 732 return ConstantFoldInstOperands(&I, COps[0], DL); [all …]
|
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/lib/Analysis/ |
H A D | InlineCost.cpp | 1206 for (unsigned int Index = 1 ; Index < COps.size() ; ++Index) in visitGetElementPtr() 1207 Indices.push_back(COps[Index]); in visitGetElementPtr() 1232 SmallVector<Constant *, 2> COps; in simplifyInstruction() local 1239 COps.push_back(COp); in simplifyInstruction() 1241 auto *C = Evaluate(COps); in simplifyInstruction() 1250 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { in visitBitCast() argument 1251 return ConstantExpr::getBitCast(COps[0], I.getType()); in visitBitCast() 1273 return ConstantExpr::getPtrToInt(COps[0], I.getType()); in visitPtrToInt() 1305 return ConstantExpr::getIntToPtr(COps[0], I.getType()); in visitIntToPtr() 1362 return ConstantFoldInstOperands(&I, COps[0], DL); in visitUnaryInstruction() [all …]
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/llvm/lib/Analysis/ |
H A D | InlineCost.cpp | 1206 for (unsigned int Index = 1 ; Index < COps.size() ; ++Index) in visitGetElementPtr() 1207 Indices.push_back(COps[Index]); in visitGetElementPtr() 1232 SmallVector<Constant *, 2> COps; in simplifyInstruction() local 1239 COps.push_back(COp); in simplifyInstruction() 1241 auto *C = Evaluate(COps); in simplifyInstruction() 1250 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { in visitBitCast() argument 1251 return ConstantExpr::getBitCast(COps[0], I.getType()); in visitBitCast() 1273 return ConstantExpr::getPtrToInt(COps[0], I.getType()); in visitPtrToInt() 1305 return ConstantExpr::getIntToPtr(COps[0], I.getType()); in visitIntToPtr() 1362 return ConstantFoldInstOperands(&I, COps[0], DL); in visitUnaryInstruction() [all …]
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/lib/Analysis/ |
H A D | InlineCost.cpp | 1433 for (unsigned int Index = 1; Index < COps.size(); ++Index) in visitGetElementPtr() 1434 Indices.push_back(COps[Index]); in visitGetElementPtr() 1459 SmallVector<Constant *, 2> COps; in simplifyInstruction() local 1466 COps.push_back(COp); in simplifyInstruction() 1468 auto *C = Evaluate(COps); in simplifyInstruction() 1498 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { in visitBitCast() argument 1499 return ConstantExpr::getBitCast(COps[0], I.getType()); in visitBitCast() 1520 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { in visitPtrToInt() argument 1521 return ConstantExpr::getPtrToInt(COps[0], I.getType()); in visitPtrToInt() 1553 return ConstantExpr::getIntToPtr(COps[0], I.getType()); in visitIntToPtr() [all …]
|
/dports/graphics/llvm-mesa/llvm-13.0.1.src/lib/Analysis/ |
H A D | InlineCost.cpp | 1433 for (unsigned int Index = 1; Index < COps.size(); ++Index) in visitGetElementPtr() 1434 Indices.push_back(COps[Index]); in visitGetElementPtr() 1459 SmallVector<Constant *, 2> COps; in simplifyInstruction() local 1466 COps.push_back(COp); in simplifyInstruction() 1468 auto *C = Evaluate(COps); in simplifyInstruction() 1498 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { in visitBitCast() argument 1499 return ConstantExpr::getBitCast(COps[0], I.getType()); in visitBitCast() 1520 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { in visitPtrToInt() argument 1521 return ConstantExpr::getPtrToInt(COps[0], I.getType()); in visitPtrToInt() 1553 return ConstantExpr::getIntToPtr(COps[0], I.getType()); in visitIntToPtr() [all …]
|
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/llvm/lib/Analysis/ |
H A D | InlineCost.cpp | 1432 for (unsigned int Index = 1; Index < COps.size(); ++Index) in visitGetElementPtr() 1433 Indices.push_back(COps[Index]); in visitGetElementPtr() 1458 SmallVector<Constant *, 2> COps; in simplifyInstruction() local 1465 COps.push_back(COp); in simplifyInstruction() 1467 auto *C = Evaluate(COps); in simplifyInstruction() 1476 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { in visitBitCast() argument 1477 return ConstantExpr::getBitCast(COps[0], I.getType()); in visitBitCast() 1498 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { in visitPtrToInt() argument 1499 return ConstantExpr::getPtrToInt(COps[0], I.getType()); in visitPtrToInt() 1531 return ConstantExpr::getIntToPtr(COps[0], I.getType()); in visitIntToPtr() [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/lib/Analysis/ |
H A D | InlineCost.cpp | 1493 for (unsigned int Index = 1; Index < COps.size(); ++Index) in visitGetElementPtr() 1494 Indices.push_back(COps[Index]); in visitGetElementPtr() 1519 SmallVector<Constant *, 2> COps; in simplifyInstruction() local 1526 COps.push_back(COp); in simplifyInstruction() 1528 auto *C = Evaluate(COps); in simplifyInstruction() 1558 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { in visitBitCast() argument 1559 return ConstantExpr::getBitCast(COps[0], I.getType()); in visitBitCast() 1580 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { in visitPtrToInt() argument 1581 return ConstantExpr::getPtrToInt(COps[0], I.getType()); in visitPtrToInt() 1613 return ConstantExpr::getIntToPtr(COps[0], I.getType()); in visitIntToPtr() [all …]
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/llvm/lib/Analysis/ |
H A D | InlineCost.cpp | 1433 for (unsigned int Index = 1; Index < COps.size(); ++Index) in visitGetElementPtr() 1434 Indices.push_back(COps[Index]); in visitGetElementPtr() 1459 SmallVector<Constant *, 2> COps; in simplifyInstruction() local 1466 COps.push_back(COp); in simplifyInstruction() 1468 auto *C = Evaluate(COps); in simplifyInstruction() 1498 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { in visitBitCast() argument 1499 return ConstantExpr::getBitCast(COps[0], I.getType()); in visitBitCast() 1520 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { in visitPtrToInt() argument 1521 return ConstantExpr::getPtrToInt(COps[0], I.getType()); in visitPtrToInt() 1553 return ConstantExpr::getIntToPtr(COps[0], I.getType()); in visitIntToPtr() [all …]
|
/dports/devel/llvm13/llvm-project-13.0.1.src/llvm/lib/Analysis/ |
H A D | InlineCost.cpp | 1433 for (unsigned int Index = 1; Index < COps.size(); ++Index) 1434 Indices.push_back(COps[Index]); 1459 SmallVector<Constant *, 2> COps; 1466 COps.push_back(COp); 1468 auto *C = Evaluate(COps); 1498 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { 1499 return ConstantExpr::getBitCast(COps[0], I.getType()); 1520 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { 1521 return ConstantExpr::getPtrToInt(COps[0], I.getType()); 1553 return ConstantExpr::getIntToPtr(COps[0], I.getType()); [all …]
|
/dports/security/clamav-lts/clamav-0.103.5/libclamav/c++/llvm/lib/Analysis/ |
H A D | InstructionSimplify.cpp | 386 Constant *COps[] = {CLHS, CRHS}; in SimplifyBinOp() local 387 return ConstantFoldInstOperands(Opcode, LHS->getType(), COps, 2, TD); in SimplifyBinOp()
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SimplifyCFG.cpp | 4716 SmallVector<Constant *, 4> COps; in ConstantFold() local 4719 COps.push_back(A); in ConstantFold() 4725 return ConstantFoldCompareInstOperands(Cmp->getPredicate(), COps[0], in ConstantFold() 4726 COps[1], DL); in ConstantFold() 4729 return ConstantFoldInstOperands(I, COps, DL); in ConstantFold()
|
/dports/devel/llvm10/llvm-10.0.1.src/lib/Transforms/Utils/ |
H A D | SimplifyCFG.cpp | 4715 SmallVector<Constant *, 4> COps; in ConstantFold() local 4718 COps.push_back(A); in ConstantFold() 4724 return ConstantFoldCompareInstOperands(Cmp->getPredicate(), COps[0], in ConstantFold() 4725 COps[1], DL); in ConstantFold() 4728 return ConstantFoldInstOperands(I, COps, DL); in ConstantFold()
|
/dports/devel/llvm11/llvm-11.0.1.src/lib/Transforms/Utils/ |
H A D | SimplifyCFG.cpp | 4769 SmallVector<Constant *, 4> COps; in ConstantFold() local 4772 COps.push_back(A); in ConstantFold() 4778 return ConstantFoldCompareInstOperands(Cmp->getPredicate(), COps[0], in ConstantFold() 4779 COps[1], DL); in ConstantFold() 4782 return ConstantFoldInstOperands(I, COps, DL); in ConstantFold()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
H A D | SimplifyCFG.cpp | 4716 SmallVector<Constant *, 4> COps; in ConstantFold() local 4719 COps.push_back(A); in ConstantFold() 4725 return ConstantFoldCompareInstOperands(Cmp->getPredicate(), COps[0], in ConstantFold() 4726 COps[1], DL); in ConstantFold() 4729 return ConstantFoldInstOperands(I, COps, DL); in ConstantFold()
|
/dports/devel/llvm90/llvm-9.0.1.src/lib/Transforms/Utils/ |
H A D | SimplifyCFG.cpp | 4602 SmallVector<Constant *, 4> COps; in ConstantFold() local 4605 COps.push_back(A); in ConstantFold() 4611 return ConstantFoldCompareInstOperands(Cmp->getPredicate(), COps[0], in ConstantFold() 4612 COps[1], DL); in ConstantFold() 4615 return ConstantFoldInstOperands(I, COps, DL); in ConstantFold()
|
/dports/devel/llvm80/llvm-8.0.1.src/lib/Transforms/Utils/ |
H A D | SimplifyCFG.cpp | 4612 SmallVector<Constant *, 4> COps; 4615 COps.push_back(A); 4621 return ConstantFoldCompareInstOperands(Cmp->getPredicate(), COps[0], 4622 COps[1], DL); 4625 return ConstantFoldInstOperands(I, COps, DL);
|
/dports/devel/llvm70/llvm-7.0.1.src/lib/Transforms/Utils/ |
H A D | SimplifyCFG.cpp | 4605 SmallVector<Constant *, 4> COps; in ConstantFold() local 4608 COps.push_back(A); in ConstantFold() 4614 return ConstantFoldCompareInstOperands(Cmp->getPredicate(), COps[0], in ConstantFold() 4615 COps[1], DL); in ConstantFold() 4618 return ConstantFoldInstOperands(I, COps, DL); in ConstantFold()
|