Searched refs:ParamState (Results 1 – 8 of 8) sorted by relevance
/external/llvm-project/clang/lib/Analysis/ |
D | Consumed.cpp | 634 ConsumedState ParamState = PInfo.getAsState(StateMap); in handleCall() local 637 if (ParamState != ExpectedState) in handleCall() 640 stateToString(ExpectedState), stateToString(ParamState)); in handleCall() 859 ConsumedState ParamState = consumed::CS_None; in VisitParmVarDecl() local 862 ParamState = mapParamTypestateAttrState(PTA); in VisitParmVarDecl() 864 ParamState = mapConsumableAttrState(ParamType); in VisitParmVarDecl() 867 ParamState = mapConsumableAttrState(ParamType->getPointeeType()); in VisitParmVarDecl() 870 ParamState = consumed::CS_Unknown; in VisitParmVarDecl() 872 if (ParamState != CS_None) in VisitParmVarDecl() 873 StateMap->setState(Param, ParamState); in VisitParmVarDecl()
|
/external/clang/lib/Analysis/ |
D | Consumed.cpp | 637 ConsumedState ParamState = PInfo.getAsState(StateMap); in handleCall() local 640 if (ParamState != ExpectedState) in handleCall() 643 stateToString(ExpectedState), stateToString(ParamState)); in handleCall() 875 ConsumedState ParamState = consumed::CS_None; in VisitParmVarDecl() local 878 ParamState = mapParamTypestateAttrState(PTA); in VisitParmVarDecl() 880 ParamState = mapConsumableAttrState(ParamType); in VisitParmVarDecl() 883 ParamState = mapConsumableAttrState(ParamType->getPointeeType()); in VisitParmVarDecl() 886 ParamState = consumed::CS_Unknown; in VisitParmVarDecl() 888 if (ParamState != CS_None) in VisitParmVarDecl() 889 StateMap->setState(Param, ParamState); in VisitParmVarDecl()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | SCCP.cpp | 199 DenseMap<Value *, ValueLatticeElement> ParamState; member in __anon8a29ba400111::SCCPSolver 514 PI = ParamState.insert(std::make_pair(V, ValueLatticeElement())); in getParamState() 1073 auto V1Param = ParamState.find(Op1); in visitCmpInst() 1074 ValueLatticeElement V1State = (V1Param != ParamState.end()) in visitCmpInst() 1078 auto V2Param = ParamState.find(Op2); in visitCmpInst() 1079 ValueLatticeElement V2State = V2Param != ParamState.end() in visitCmpInst()
|
/external/llvm-project/llvm/test/Transforms/SCCP/ |
D | ip-constant-ranges.ll | 169 ; Make sure we do re-evaluate the function after ParamState changes.
|
/external/clang/lib/Sema/ |
D | SemaDeclAttr.cpp | 953 ParamTypestateAttr::ConsumedState ParamState; in handleParamTypestateAttr() local 960 ParamState)) { in handleParamTypestateAttr() 984 ParamTypestateAttr(Attr.getRange(), S.Context, ParamState, in handleParamTypestateAttr()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaDeclAttr.cpp | 1228 ParamTypestateAttr::ConsumedState ParamState; in handleParamTypestateAttr() local 1235 ParamState)) { in handleParamTypestateAttr() 1258 D->addAttr(::new (S.Context) ParamTypestateAttr(S.Context, AL, ParamState)); in handleParamTypestateAttr()
|
/external/clang/include/clang/Basic/ |
D | Attr.td | 2013 let Args = [EnumArgument<"ParamState", "ConsumedState",
|
/external/llvm-project/clang/include/clang/Basic/ |
D | Attr.td | 3073 let Args = [EnumArgument<"ParamState", "ConsumedState",
|