Defined in 3 files as a function:
Referenced in 207 files:
- contrib/llvm/include/llvm-c/Core.h, line 1526
- contrib/llvm/include/llvm/Analysis/ConstantFolding.h, 2 times
- contrib/llvm/include/llvm/Analysis/TargetFolder.h, 44 times
- contrib/llvm/include/llvm/Analysis/Utils/Local.h, 2 times
- contrib/llvm/include/llvm/Analysis/ValueLattice.h, line 300
- contrib/llvm/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h, line 472
- contrib/llvm/include/llvm/IR/ConstantFolder.h, 44 times
- contrib/llvm/include/llvm/IR/Constants.h, 3 times
- contrib/llvm/include/llvm/IR/IRBuilder.h, 2 times
- contrib/llvm/include/llvm/IR/NoFolder.h, 4 times
- contrib/llvm/include/llvm/IR/Operator.h, 20 times
- contrib/llvm/include/llvm/IR/PatternMatch.h, 2 times
- contrib/llvm/include/llvm/Transforms/Scalar/ConstantHoisting.h, 6 times
- contrib/llvm/lib/Analysis/BranchProbabilityInfo.cpp, 2 times
- contrib/llvm/lib/Analysis/CFLGraph.h, 3 times
- contrib/llvm/lib/Analysis/CFLSteensAliasAnalysis.cpp, line 107
- contrib/llvm/lib/Analysis/ConstantFolding.cpp, 63 times
- contrib/llvm/lib/Analysis/InlineCost.cpp, 10 times
- contrib/llvm/lib/Analysis/InstructionSimplify.cpp, 24 times
- contrib/llvm/lib/Analysis/Lint.cpp, 2 times
- contrib/llvm/lib/Analysis/LoopUnrollAnalyzer.cpp, 2 times
- contrib/llvm/lib/Analysis/MemoryBuiltins.cpp, 4 times
- contrib/llvm/lib/Analysis/PHITransAddr.cpp, 2 times
- contrib/llvm/lib/Analysis/ScalarEvolution.cpp, 33 times
- contrib/llvm/lib/Analysis/ScalarEvolutionExpander.cpp, 5 times
- contrib/llvm/lib/Analysis/ValueTracking.cpp, 19 times
- contrib/llvm/lib/AsmParser/LLParser.cpp, 13 times
- contrib/llvm/lib/Bitcode/Reader/BitcodeReader.cpp, 11 times
- contrib/llvm/lib/Bitcode/Reader/ValueList.cpp, 6 times
- contrib/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp, 2 times
- contrib/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp, 5 times
- contrib/llvm/lib/CodeGen/CodeGenPrepare.cpp, 2 times
- contrib/llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp, 2 times
- contrib/llvm/lib/CodeGen/GlobalMerge.cpp, 3 times
- contrib/llvm/lib/CodeGen/IndirectBrExpandPass.cpp, line 157
- contrib/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp, line 965
- contrib/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp, 2 times
- contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp, line 307
- contrib/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp, 9 times
- contrib/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp, 2 times
- contrib/llvm/lib/CodeGen/ShadowStackGCLowering.cpp, 2 times
- contrib/llvm/lib/ExecutionEngine/ExecutionEngine.cpp, 4 times
- contrib/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp, 3 times
- contrib/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h, 2 times
- contrib/llvm/lib/ExecutionEngine/Orc/ExecutionUtils.cpp, 3 times
- contrib/llvm/lib/ExecutionEngine/Orc/IndirectionUtils.cpp, line 221
- contrib/llvm/lib/IR/AsmWriter.cpp, 3 times
- contrib/llvm/lib/IR/AutoUpgrade.cpp, 2 times
- contrib/llvm/lib/IR/BasicBlock.cpp, line 77
- contrib/llvm/lib/IR/ConstantFold.cpp, 125 times
- contrib/llvm/lib/IR/Constants.cpp, 98 times
- contrib/llvm/lib/IR/ConstantsContext.h, 37 times
- contrib/llvm/lib/IR/Core.cpp, 73 times
- contrib/llvm/lib/IR/Instructions.cpp, 3 times
- contrib/llvm/lib/IR/LLVMContextImpl.h, line 1285
- contrib/llvm/lib/IR/Module.cpp, 2 times
- contrib/llvm/lib/IR/Value.cpp, 5 times
- contrib/llvm/lib/IR/Verifier.cpp, 7 times
- contrib/llvm/lib/LTO/LTO.cpp, line 891
- contrib/llvm/lib/LTO/LTOModule.cpp, 2 times
- contrib/llvm/lib/Linker/IRMover.cpp, 4 times
- contrib/llvm/lib/Target/AArch64/AArch64FastISel.cpp, 3 times
- contrib/llvm/lib/Target/AArch64/AArch64PromoteConstant.cpp, line 554
- contrib/llvm/lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp, 3 times
- contrib/llvm/lib/Target/AMDGPU/AMDGPULowerKernelAttributes.cpp, 2 times
- contrib/llvm/lib/Target/AMDGPU/AMDGPUMCInstLower.cpp, line 219
- contrib/llvm/lib/Target/AMDGPU/AMDGPUOpenCLEnqueuedBlockLowering.cpp, 3 times
- contrib/llvm/lib/Target/ARM/ARMCodeGenPrepare.cpp, 2 times
- contrib/llvm/lib/Target/ARM/ARMFastISel.cpp, 2 times
- contrib/llvm/lib/Target/ARM/ARMISelLowering.cpp, line 3043
- contrib/llvm/lib/Target/Mips/MipsFastISel.cpp, 3 times
- contrib/llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp, 10 times
- contrib/llvm/lib/Target/NVPTX/NVPTXAsmPrinter.h, 2 times
- contrib/llvm/lib/Target/NVPTX/NVPTXGenericToNVVM.cpp, 5 times
- contrib/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp, 4 times
- contrib/llvm/lib/Target/NVPTX/NVVMReflect.cpp, 3 times
- contrib/llvm/lib/Target/PowerPC/PPCBoolRetToInt.cpp, line 98
- contrib/llvm/lib/Target/PowerPC/PPCFastISel.cpp, 2 times
- contrib/llvm/lib/Target/WebAssembly/WebAssemblyAddMissingPrototypes.cpp, 2 times
- contrib/llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp, 3 times
- contrib/llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp, line 265
- contrib/llvm/lib/Target/X86/X86FastISel.cpp, 6 times
- contrib/llvm/lib/Target/X86/X86ISelLowering.cpp, line 2251
- contrib/llvm/lib/Target/XCore/XCoreISelLowering.cpp, 2 times
- contrib/llvm/lib/Target/XCore/XCoreLowerThreadLocal.cpp, 6 times
- contrib/llvm/lib/Transforms/AggressiveInstCombine/TruncInstCombine.cpp, line 288
- contrib/llvm/lib/Transforms/Coroutines/CoroElide.cpp, 3 times
- contrib/llvm/lib/Transforms/Coroutines/CoroInstr.h, line 174
- contrib/llvm/lib/Transforms/Coroutines/CoroSplit.cpp, line 395
- contrib/llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp, line 249
- contrib/llvm/lib/Transforms/IPO/FunctionImport.cpp, line 1053
- contrib/llvm/lib/Transforms/IPO/GlobalOpt.cpp, 34 times
- contrib/llvm/lib/Transforms/IPO/GlobalSplit.cpp, line 127
- contrib/llvm/lib/Transforms/IPO/LowerTypeTests.cpp, 19 times
- contrib/llvm/lib/Transforms/IPO/MergeFunctions.cpp, 3 times
- contrib/llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp, line 161
- contrib/llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp, 6 times
- contrib/llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp, 15 times
- contrib/llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp, 25 times
- contrib/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp, 8 times
- contrib/llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp, 11 times
- contrib/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp, 33 times
- contrib/llvm/lib/Transforms/InstCombine/InstCombineInternal.h, 3 times
- contrib/llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp, 3 times
- contrib/llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp, 18 times
- contrib/llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp, 2 times
- contrib/llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp, 6 times
- contrib/llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp, 9 times
- contrib/llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp, line 1344
- contrib/llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp, 6 times
- contrib/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp, 27 times
- contrib/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp, 10 times
- contrib/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp, 5 times
- contrib/llvm/lib/Transforms/Instrumentation/EfficiencySanitizer.cpp, 11 times
- contrib/llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp, 3 times
- contrib/llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp, 2 times
- contrib/llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp, 4 times
- contrib/llvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp, line 684
- contrib/llvm/lib/Transforms/Scalar/ConstantHoisting.cpp, 4 times
- contrib/llvm/lib/Transforms/Scalar/GVNHoist.cpp, line 311
- contrib/llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp, 16 times
- contrib/llvm/lib/Transforms/Scalar/JumpThreading.cpp, 4 times
- contrib/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp, line 946
- contrib/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp, line 5198
- contrib/llvm/lib/Transforms/Scalar/NewGVN.cpp, line 4169
- contrib/llvm/lib/Transforms/Scalar/Reassociate.cpp, 7 times
- contrib/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp, line 1818
- contrib/llvm/lib/Transforms/Scalar/SCCP.cpp, 2 times
- contrib/llvm/lib/Transforms/Scalar/SROA.cpp, 2 times
- contrib/llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp, line 623
- contrib/llvm/lib/Transforms/Scalar/StructurizeCFG.cpp, line 402
- contrib/llvm/lib/Transforms/Utils/CanonicalizeAliases.cpp, line 52
- contrib/llvm/lib/Transforms/Utils/CtorUtils.cpp, line 58
- contrib/llvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp, line 52
- contrib/llvm/lib/Transforms/Utils/Evaluator.cpp, 19 times
- contrib/llvm/lib/Transforms/Utils/FunctionComparator.cpp, 4 times
- contrib/llvm/lib/Transforms/Utils/GlobalStatus.cpp, 2 times
- contrib/llvm/lib/Transforms/Utils/LibCallsShrinkWrap.cpp, 4 times
- contrib/llvm/lib/Transforms/Utils/Local.cpp, 3 times
- contrib/llvm/lib/Transforms/Utils/LowerSwitch.cpp, 2 times
- contrib/llvm/lib/Transforms/Utils/ModuleUtils.cpp, 2 times
- contrib/llvm/lib/Transforms/Utils/SanitizerStats.cpp, 5 times
- contrib/llvm/lib/Transforms/Utils/SimplifyCFG.cpp, 30 times
- contrib/llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp, 3 times
- contrib/llvm/lib/Transforms/Utils/VNCoercion.cpp, 7 times
- contrib/llvm/lib/Transforms/Utils/ValueMapper.cpp, 2 times
- contrib/llvm/tools/bugpoint/ExtractFunction.cpp, 2 times
- contrib/llvm/tools/bugpoint/Miscompilation.cpp, line 855
- contrib/llvm/tools/clang/include/clang/AST/Expr.h, 3 times
- contrib/llvm/tools/clang/include/clang/AST/RecursiveASTVisitor.h, line 2202
- contrib/llvm/tools/clang/include/clang/ASTMatchers/ASTMatchers.h, line 1636
- contrib/llvm/tools/clang/include/clang/CodeGen/ConstantInitBuilder.h, 2 times
- contrib/llvm/tools/clang/lib/AST/ASTImporter.cpp, 3 times
- contrib/llvm/tools/clang/lib/AST/Expr.cpp, 4 times
- contrib/llvm/tools/clang/lib/AST/ExprClassification.cpp, line 198
- contrib/llvm/tools/clang/lib/AST/ExprConstant.cpp, 4 times
- contrib/llvm/tools/clang/lib/AST/ItaniumMangle.cpp, line 3528
- contrib/llvm/tools/clang/lib/AST/StmtPrinter.cpp, line 909
- contrib/llvm/tools/clang/lib/AST/StmtProfile.cpp, line 1002
- contrib/llvm/tools/clang/lib/ASTMatchers/ASTMatchersInternal.cpp, line 671
- contrib/llvm/tools/clang/lib/Analysis/CFG.cpp, 4 times
- contrib/llvm/tools/clang/lib/Analysis/ThreadSafetyCommon.cpp, line 240
- contrib/llvm/tools/clang/lib/CodeGen/Address.h, line 89
- contrib/llvm/tools/clang/lib/CodeGen/BackendUtil.cpp, 3 times
- contrib/llvm/tools/clang/lib/CodeGen/CGBlocks.cpp, 13 times
- contrib/llvm/tools/clang/lib/CodeGen/CGBuiltin.cpp, line 3340
- contrib/llvm/tools/clang/lib/CodeGen/CGCUDANV.cpp, line 87
- contrib/llvm/tools/clang/lib/CodeGen/CGCXX.cpp, line 144
- contrib/llvm/tools/clang/lib/CodeGen/CGCall.cpp, 2 times
- contrib/llvm/tools/clang/lib/CodeGen/CGDecl.cpp, 5 times
- contrib/llvm/tools/clang/lib/CodeGen/CGDeclCXX.cpp, 3 times
- contrib/llvm/tools/clang/lib/CodeGen/CGException.cpp, 6 times
- contrib/llvm/tools/clang/lib/CodeGen/CGExpr.cpp, 4 times
- contrib/llvm/tools/clang/lib/CodeGen/CGExprAgg.cpp, line 128
- contrib/llvm/tools/clang/lib/CodeGen/CGExprComplex.cpp, line 104
- contrib/llvm/tools/clang/lib/CodeGen/CGExprConstant.cpp, 20 times
- contrib/llvm/tools/clang/lib/CodeGen/CGExprScalar.cpp, line 412
- contrib/llvm/tools/clang/lib/CodeGen/CGObjC.cpp, 3 times
- contrib/llvm/tools/clang/lib/CodeGen/CGObjCGNU.cpp, 42 times
- contrib/llvm/tools/clang/lib/CodeGen/CGObjCMac.cpp, 24 times
- contrib/llvm/tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp, 8 times
- contrib/llvm/tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp, 2 times
- contrib/llvm/tools/clang/lib/CodeGen/CGVTT.cpp, 2 times
- contrib/llvm/tools/clang/lib/CodeGen/CGVTables.cpp, 6 times
- contrib/llvm/tools/clang/lib/CodeGen/CodeGenFunction.cpp, 4 times
- contrib/llvm/tools/clang/lib/CodeGen/CodeGenModule.cpp, 27 times
- contrib/llvm/tools/clang/lib/CodeGen/CodeGenPGO.cpp, 2 times
- contrib/llvm/tools/clang/lib/CodeGen/ConstantInitBuilder.cpp, 5 times
- contrib/llvm/tools/clang/lib/CodeGen/CoverageMappingGen.cpp, line 1343
- contrib/llvm/tools/clang/lib/CodeGen/ItaniumCXXABI.cpp, 21 times
- contrib/llvm/tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp, 12 times
- contrib/llvm/tools/clang/lib/CodeGen/TargetInfo.cpp, 2 times
- contrib/llvm/tools/clang/lib/Sema/SemaDeclCXX.cpp, line 13913
- contrib/llvm/tools/clang/lib/Sema/SemaExceptionSpec.cpp, line 1055
- contrib/llvm/tools/clang/lib/Sema/SemaExpr.cpp, 3 times
- contrib/llvm/tools/clang/lib/Sema/SemaInit.cpp, line 5541
- contrib/llvm/tools/clang/lib/Sema/SemaOverload.cpp, line 5513
- contrib/llvm/tools/clang/lib/Sema/SemaTemplateDeduction.cpp, 4 times
- contrib/llvm/tools/clang/lib/Sema/TreeTransform.h, line 8952
- contrib/llvm/tools/clang/lib/Serialization/ASTReaderStmt.cpp, 2 times
- contrib/llvm/tools/clang/lib/Serialization/ASTWriterStmt.cpp, line 429
- contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/Environment.cpp, line 48
- contrib/llvm/tools/lldb/source/Expression/IRDynamicChecks.cpp, 4 times
- contrib/llvm/tools/lldb/source/Expression/IRInterpreter.cpp, 7 times
- contrib/llvm/tools/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp, 23 times
- contrib/llvm/tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp, line 183
- contrib/llvm/tools/llvm-diff/DifferenceEngine.cpp, 5 times