Home
last modified time | relevance | path

Searched refs:InBounds (Results 1 – 25 of 35) sorted by relevance

12

/external/llvm-project/llvm/lib/IR/
DConstantFold.h51 Constant *ConstantFoldGetElementPtr(Type *Ty, Constant *C, bool InBounds,
DConstantFold.cpp2334 bool InBounds, in ConstantFoldGetElementPtr() argument
2347 return InBounds ? PoisonValue::get(GEPTy) : UndefValue::get(GEPTy); in ConstantFoldGetElementPtr()
2472 NewIndices, InBounds && cast<GEPOperator>(CE)->isInBounds(), in ConstantFoldGetElementPtr()
2500 Idxs, InBounds, InRangeIndex); in ConstantFoldGetElementPtr()
2635 return ConstantExpr::getGetElementPtr(PointeeTy, C, NewIdxs, InBounds, in ConstantFoldGetElementPtr()
2641 if (!Unknown && !InBounds) in ConstantFoldGetElementPtr()
DConstants.cpp2356 ArrayRef<Value *> Idxs, bool InBounds, in getGetElementPtr() argument
2366 ConstantFoldGetElementPtr(Ty, C, InBounds, InRangeIndex, Idxs)) in getGetElementPtr()
2410 unsigned SubClassOptionalData = InBounds ? GEPOperator::IsInBounds : 0; in getGetElementPtr()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantFold.h51 Constant *ConstantFoldGetElementPtr(Type *Ty, Constant *C, bool InBounds,
DConstantFold.cpp2190 bool InBounds, in ConstantFoldGetElementPtr() argument
2321 NewIndices, InBounds && cast<GEPOperator>(CE)->isInBounds(), in ConstantFoldGetElementPtr()
2349 Idxs, InBounds, InRangeIndex); in ConstantFoldGetElementPtr()
2481 return ConstantExpr::getGetElementPtr(PointeeTy, C, NewIdxs, InBounds, in ConstantFoldGetElementPtr()
2487 if (!Unknown && !InBounds) in ConstantFoldGetElementPtr()
DConstants.cpp2076 ArrayRef<Value *> Idxs, bool InBounds, in getGetElementPtr() argument
2086 ConstantFoldGetElementPtr(Ty, C, InBounds, InRangeIndex, Idxs)) in getGetElementPtr()
2123 unsigned SubClassOptionalData = InBounds ? GEPOperator::IsInBounds : 0; in getGetElementPtr()
/external/llvm/include/llvm/IR/
DConstants.h1077 bool InBounds = false,
1081 InBounds, OnlyIfReducedTy);
1084 bool InBounds = false,
1089 return getGetElementPtr(Ty, C, cast<Value>(Idx), InBounds, OnlyIfReducedTy);
1093 bool InBounds = false,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstants.h1156 bool InBounds = false,
1161 InBounds, InRangeIndex, OnlyIfReducedTy);
1164 bool InBounds = false,
1170 return getGetElementPtr(Ty, C, cast<Value>(Idx), InBounds, InRangeIndex,
1175 bool InBounds = false,
/external/llvm-project/llvm/include/llvm/IR/
DConstants.h1210 bool InBounds = false,
1215 InBounds, InRangeIndex, OnlyIfReducedTy);
1218 bool InBounds = false,
1224 return getGetElementPtr(Ty, C, cast<Value>(Idx), InBounds, InRangeIndex,
1229 bool InBounds = false,
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonCommonGEP.cpp182 InBounds = 0x08 enumerator
228 if (GN.Flags & GepNode::InBounds) { in operator <<()
339 uint32_t InBounds = GepI->isInBounds() ? GepNode::InBounds : 0; in processGepInst() local
343 N->Flags |= GepNode::Root | InBounds; in processGepInst()
379 Nx->Flags |= GepNode::Internal | InBounds; in processGepInst()
1120 NewInst->setIsInBounds(RN->Flags & GepNode::InBounds); in fabricateGEP()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonCommonGEP.cpp182 InBounds = 0x08 enumerator
238 if (GN.Flags & GepNode::InBounds) { in operator <<()
349 uint32_t InBounds = GepI->isInBounds() ? GepNode::InBounds : 0; in processGepInst() local
353 N->Flags |= GepNode::Root | InBounds; in processGepInst()
389 Nx->Flags |= GepNode::Internal | InBounds; in processGepInst()
1130 NewInst->setIsInBounds(RN->Flags & GepNode::InBounds); in fabricateGEP()
/external/llvm/lib/Transforms/Scalar/
DStraightLineStrengthReduce.cpp634 bool InBounds = cast<GetElementPtrInst>(C.Ins)->isInBounds(); in rewriteCandidateWithBasis() local
640 if (InBounds) in rewriteCandidateWithBasis()
650 if (InBounds) in rewriteCandidateWithBasis()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DStraightLineStrengthReduce.cpp669 bool InBounds = cast<GetElementPtrInst>(C.Ins)->isInBounds(); in rewriteCandidateWithBasis() local
675 if (InBounds) in rewriteCandidateWithBasis()
685 if (InBounds) in rewriteCandidateWithBasis()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DStraightLineStrengthReduce.cpp682 bool InBounds = cast<GetElementPtrInst>(C.Ins)->isInBounds(); in rewriteCandidateWithBasis() local
688 if (InBounds) in rewriteCandidateWithBasis()
698 if (InBounds) in rewriteCandidateWithBasis()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp2183 bool InBounds = true; member
2215 if (InBounds != other.InBounds) in compare()
2316 if (InBounds) in print()
3629 TestAddrMode.InBounds = false; in matchScaledValue()
4202 AddrMode.InBounds = false; in matchOperationAddr()
4229 AddrMode.InBounds = false; in matchOperationAddr()
4283 AddrMode.InBounds = false; in matchOperationAddr()
4318 AddrMode.InBounds = false; in matchOperationAddr()
5007 AddrMode.InBounds in optimizeMemoryInst()
5022 AddrMode.InBounds in optimizeMemoryInst()
/external/llvm-project/llvm/lib/CodeGen/
DCodeGenPrepare.cpp2322 bool InBounds = true; member
2354 if (InBounds != other.InBounds) in compare()
2455 if (InBounds) in print()
3777 TestAddrMode.InBounds = false; in matchScaledValue()
4350 AddrMode.InBounds = false; in matchOperationAddr()
4377 AddrMode.InBounds = false; in matchOperationAddr()
4436 AddrMode.InBounds = false; in matchOperationAddr()
4471 AddrMode.InBounds = false; in matchOperationAddr()
5163 AddrMode.InBounds in optimizeMemoryInst()
5178 AddrMode.InBounds in optimizeMemoryInst()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2590 bool InBounds = false; in parseConstants() local
2594 InBounds = Op & 1; in parseConstants()
2597 InBounds = true; in parseConstants()
2623 InBounds, InRangeIndex); in parseConstants()
3959 bool InBounds; in parseFunctionBody() local
3962 InBounds = Record[OpNum++]; in parseFunctionBody()
3966 InBounds = BitCode == bitc::FUNC_CODE_INST_INBOUNDS_GEP_OLD; in parseFunctionBody()
3994 if (InBounds) in parseFunctionBody()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DConstantFolding.cpp826 bool InBounds = GEP->isInBounds(); in SymbolicallyEvaluateGEP() local
879 InBounds &= GEP->isInBounds(); in SymbolicallyEvaluateGEP()
1000 InBounds, InRangeIndex); in SymbolicallyEvaluateGEP()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2221 bool InBounds = false; in vectorizeInterleaveGroup() local
2223 InBounds = gep->isInBounds(); in vectorizeInterleaveGroup()
2225 cast<GetElementPtrInst>(AddrPart)->setIsInBounds(InBounds); in vectorizeInterleaveGroup()
2403 bool InBounds = false; in vectorizeMemoryInstruction() local
2405 InBounds = gep->isInBounds(); in vectorizeMemoryInstruction()
2412 PartPtr->setIsInBounds(InBounds); in vectorizeMemoryInstruction()
2415 PartPtr->setIsInBounds(InBounds); in vectorizeMemoryInstruction()
2421 PartPtr->setIsInBounds(InBounds); in vectorizeMemoryInstruction()
/external/llvm-project/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2648 bool InBounds = false; in parseConstants() local
2652 InBounds = Op & 1; in parseConstants()
2655 InBounds = true; in parseConstants()
2681 InBounds, InRangeIndex); in parseConstants()
4059 bool InBounds; in parseFunctionBody() local
4062 InBounds = Record[OpNum++]; in parseFunctionBody()
4066 InBounds = BitCode == bitc::FUNC_CODE_INST_INBOUNDS_GEP_OLD; in parseFunctionBody()
4094 if (InBounds) in parseFunctionBody()
/external/llvm-project/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2560 bool InBounds = false; in vectorizeInterleaveGroup() local
2562 InBounds = gep->isInBounds(); in vectorizeInterleaveGroup()
2564 cast<GetElementPtrInst>(AddrPart)->setIsInBounds(InBounds); in vectorizeInterleaveGroup()
2746 bool InBounds = false; in vectorizeMemoryInstruction() local
2748 InBounds = gep->isInBounds(); in vectorizeMemoryInstruction()
2758 PartPtr->setIsInBounds(InBounds); in vectorizeMemoryInstruction()
2761 PartPtr->setIsInBounds(InBounds); in vectorizeMemoryInstruction()
2768 PartPtr->setIsInBounds(InBounds); in vectorizeMemoryInstruction()
/external/llvm-project/llvm/lib/Analysis/
DConstantFolding.cpp871 bool InBounds = GEP->isInBounds(); in SymbolicallyEvaluateGEP() local
922 InBounds &= GEP->isInBounds(); in SymbolicallyEvaluateGEP()
1043 InBounds, InRangeIndex); in SymbolicallyEvaluateGEP()
/external/llvm/lib/IR/
DConstants.cpp1895 ArrayRef<Value *> Idxs, bool InBounds, in getGetElementPtr() argument
1904 if (Constant *FC = ConstantFoldGetElementPtr(Ty, C, InBounds, Idxs)) in getGetElementPtr()
1941 InBounds ? GEPOperator::IsInBounds : 0, None, in getGetElementPtr()
/external/llvm/include/llvm/Analysis/
DScalarEvolution.h1243 bool InBounds = false);
/external/llvm/lib/AsmParser/
DLLParser.cpp3143 bool InBounds = false; in ParseValID() local
3148 InBounds = EatIfPresent(lltok::kw_inbounds); in ParseValID()
3200 ConstantExpr::getGetElementPtr(Ty, Elts[0], Indices, InBounds); in ParseValID()
6224 bool InBounds = EatIfPresent(lltok::kw_inbounds); in ParseGetElementPtr() local
6275 if (InBounds) in ParseGetElementPtr()

12