Home
last modified time | relevance | path

Searched refs:ConstVal (Results 1 – 25 of 70) sorted by relevance

123

/external/llvm/utils/
Dllvm.grm223 ConstVal::= Types "[" ^ ConstVector ^ "]"
244 ConstExpr::= CastOps "(" ^ ConstVal to Types ^ ")"
245 | getelementptr OptInBounds "(" ^ ConstVal IndexList ^ ")"
246 | select "(" ^ ConstVal ^ "," ConstVal ^ "," ConstVal ^ ")"
247 | ArithmeticOps "(" ^ ConstVal ^ "," ConstVal ^ ")"
248 | LogicalOps "(" ^ ConstVal ^ "," ConstVal ^ ")"
249 | icmp IPredicates "(" ^ ConstVal ^ "," ConstVal ^ ")"
250 | fcmp FPredicates "(" ^ ConstVal ^ "," ConstVal ^ ")"
251 | extractelement "(" ^ ConstVal ^ "," ConstVal ^ ")"
252 | insertelement "(" ^ ConstVal ^ "," ConstVal ^ "," ConstVal ^ ")"
[all …]
/external/llvm-project/llvm/utils/
Dllvm.grm224 ConstVal::= Types "[" ^ ConstVector ^ "]"
245 ConstExpr::= CastOps "(" ^ ConstVal to Types ^ ")"
246 | getelementptr OptInBounds "(" ^ ConstVal IndexList ^ ")"
247 | select "(" ^ ConstVal ^ "," ConstVal ^ "," ConstVal ^ ")"
248 | ArithmeticOps "(" ^ ConstVal ^ "," ConstVal ^ ")"
249 | LogicalOps "(" ^ ConstVal ^ "," ConstVal ^ ")"
250 | icmp IPredicates "(" ^ ConstVal ^ "," ConstVal ^ ")"
251 | fcmp FPredicates "(" ^ ConstVal ^ "," ConstVal ^ ")"
252 | extractelement "(" ^ ConstVal ^ "," ConstVal ^ ")"
253 | insertelement "(" ^ ConstVal ^ "," ConstVal ^ "," ConstVal ^ ")"
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DValueLattice.h57 Constant *ConstVal; member
98 ConstVal = nullptr;
109 ConstVal = Other.ConstVal;
150 return ConstVal; in getConstant()
155 return ConstVal; in getNotConstant()
178 ConstVal = nullptr; in markOverdefined()
197 ConstVal = V; in markConstant()
215 ConstVal = V; in markNotConstant()
/external/llvm-project/llvm/include/llvm/Analysis/
DValueLattice.h87 Constant *ConstVal; member
160 ConstVal = Other.ConstVal; in ValueLatticeElement()
179 ConstVal = Other.ConstVal; in ValueLatticeElement()
258 return ConstVal; in getConstant()
263 return ConstVal; in getNotConstant()
318 ConstVal = V;
338 ConstVal = V; in markNotConstant()
/external/llvm/include/llvm/Support/
DYAMLTraits.h498 void enumCase(T &Val, const char* Str, const T ConstVal) {
499 if ( matchEnumScalar(Str, outputting() && Val == ConstVal) ) {
500 Val = ConstVal;
506 void enumCase(T &Val, const char* Str, const uint32_t ConstVal) {
507 if ( matchEnumScalar(Str, outputting() && Val == static_cast<T>(ConstVal)) ) {
508 Val = ConstVal;
523 void bitSetCase(T &Val, const char* Str, const T ConstVal) {
524 if ( bitSetMatch(Str, outputting() && (Val & ConstVal) == ConstVal) ) {
525 Val = Val | ConstVal;
531 void bitSetCase(T &Val, const char* Str, const uint32_t ConstVal) {
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DYAMLTraits.h553 void enumCase(T &Val, const char* Str, const T ConstVal) {
554 if ( matchEnumScalar(Str, outputting() && Val == ConstVal) ) {
555 Val = ConstVal;
561 void enumCase(T &Val, const char* Str, const uint32_t ConstVal) {
562 if ( matchEnumScalar(Str, outputting() && Val == static_cast<T>(ConstVal)) ) {
563 Val = ConstVal;
579 void bitSetCase(T &Val, const char* Str, const T ConstVal) {
580 if ( bitSetMatch(Str, outputting() && (Val & ConstVal) == ConstVal) ) {
581 Val = Val | ConstVal;
587 void bitSetCase(T &Val, const char* Str, const uint32_t ConstVal) {
[all …]
/external/llvm/include/llvm/CodeGen/
DMachineConstantPool.h72 const Constant *ConstVal; member
82 Val.ConstVal = V; in MachineConstantPoolEntry()
DSelectionDAGNodes.h1435 const Constant *ConstVal;
1448 Val.ConstVal = c;
1467 return Val.ConstVal;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineConstantPool.h70 const Constant *ConstVal; member
80 Val.ConstVal = V; in MachineConstantPoolEntry()
DSelectionDAGNodes.h1815 const Constant *ConstVal;
1828 Val.ConstVal = c;
1848 return Val.ConstVal;
/external/llvm-project/llvm/include/llvm/CodeGen/
DMachineConstantPool.h71 const Constant *ConstVal; member
82 Val.ConstVal = V; in MachineConstantPoolEntry()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DCallSiteSplitting.cpp170 Constant *ConstVal = cast<Constant>(Cond.first->getOperand(1)); in addConditions() local
172 setConstantInArgument(CB, Arg, ConstVal); in addConditions()
173 else if (ConstVal->getType()->isPointerTy() && ConstVal->isNullValue()) { in addConditions()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DCallSiteSplitting.cpp171 Constant *ConstVal = cast<Constant>(Cond.first->getOperand(1)); in addConditions() local
173 setConstantInArgument(CS, Arg, ConstVal); in addConditions()
174 else if (ConstVal->getType()->isPointerTy() && ConstVal->isNullValue()) { in addConditions()
/external/llvm/lib/CodeGen/
DMachineSSAUpdater.cpp196 if (unsigned ConstVal = InsertedPHI->isConstantValuePHI()) { in GetValueInMiddleOfBlock() local
198 return ConstVal; in GetValueInMiddleOfBlock()
DMachineFunction.cpp870 return Val.ConstVal->getType(); in getType()
876 return Val.ConstVal->needsRelocation(); in needsRelocation()
962 CanShareConstantPoolEntry(Constants[i].Val.ConstVal, C, DL)) { in getConstantPoolIndex()
999 Constants[i].Val.ConstVal->printAsOperand(OS, /*PrintType=*/false); in print()
/external/llvm-project/llvm/lib/CodeGen/
DMachineSSAUpdater.cpp201 if (unsigned ConstVal = InsertedPHI->isConstantValuePHI()) { in GetValueInMiddleOfBlock() local
203 return ConstVal; in GetValueInMiddleOfBlock()
DMachineFunction.cpp1113 return Val.ConstVal->getType(); in getType()
1119 return Val.ConstVal->needsRelocation(); in needsRelocation()
1211 CanShareConstantPoolEntry(Constants[i].Val.ConstVal, C, DL)) { in getConstantPoolIndex()
1247 Constants[i].Val.ConstVal->printAsOperand(OS, /*PrintType=*/false); in print()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineSSAUpdater.cpp198 if (unsigned ConstVal = InsertedPHI->isConstantValuePHI()) { in GetValueInMiddleOfBlock() local
200 return ConstVal; in GetValueInMiddleOfBlock()
DMachineFunction.cpp1008 return Val.ConstVal->getType(); in getType()
1014 return Val.ConstVal->needsRelocation(); in needsRelocation()
1107 CanShareConstantPoolEntry(Constants[i].Val.ConstVal, C, DL)) { in getConstantPoolIndex()
1144 Constants[i].Val.ConstVal->printAsOperand(OS, /*PrintType=*/false); in print()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroSplit.cpp832 auto *ConstVal = ConstantArray::get(ArrTy, Args); in setCoroInfo() local
833 auto *GV = new GlobalVariable(*M, ConstVal->getType(), /*isConstant=*/true, in setCoroInfo()
834 GlobalVariable::PrivateLinkage, ConstVal, in setCoroInfo()
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp2466 SDValue ConstVal; in LowerBUILD_VECTOR() local
2489 ConstVal = DAG.getConstant(Res, dl, MVT::i64); in LowerBUILD_VECTOR()
2491 ConstVal = DAG.getConstant(Res, dl, MVT::i32); in LowerBUILD_VECTOR()
2519 const SDValue Ops[] = {ConstVal, Operand, Combined}; in LowerBUILD_VECTOR()
2522 ConstVal = DAG.getNode(HexagonISD::INSERTRP, dl, MVT::i32, Ops); in LowerBUILD_VECTOR()
2524 ConstVal = DAG.getNode(HexagonISD::INSERTRP, dl, MVT::i64, Ops); in LowerBUILD_VECTOR()
2528 return DAG.getNode(ISD::BITCAST, dl, VT, ConstVal); in LowerBUILD_VECTOR()
/external/llvm-project/llvm/lib/Transforms/Coroutines/
DCoroSplit.cpp939 auto *ConstVal = ConstantArray::get(ArrTy, Args); in setCoroInfo() local
940 auto *GV = new GlobalVariable(*M, ConstVal->getType(), /*isConstant=*/true, in setCoroInfo()
941 GlobalVariable::PrivateLinkage, ConstVal, in setCoroInfo()
/external/llvm/lib/Target/X86/
DX86AsmPrinter.cpp562 const Constant *C = CPE.Val.ConstVal; in GetCPISymbol()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp4269 Constant *ConstVal = in GetCaseResults() local
4271 if (!ConstVal) in GetCaseResults()
4275 if (!ValidLookupTableConstant(ConstVal)) in GetCaseResults()
4278 Res.push_back(std::make_pair(PHI, ConstVal)); in GetCaseResults()
4554 ConstantInt *ConstVal = dyn_cast<ConstantInt>(TableContents[I]); in SwitchLookupTable() local
4555 if (!ConstVal) { in SwitchLookupTable()
4561 APInt Val = ConstVal->getValue(); in SwitchLookupTable()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp4791 Constant *ConstVal = in GetCaseResults() local
4793 if (!ConstVal) in GetCaseResults()
4797 if (!ValidLookupTableConstant(ConstVal, TTI)) in GetCaseResults()
4800 Res.push_back(std::make_pair(&PHI, ConstVal)); in GetCaseResults()
5090 ConstantInt *ConstVal = dyn_cast<ConstantInt>(TableContents[I]); in SwitchLookupTable() local
5091 if (!ConstVal) { in SwitchLookupTable()
5097 const APInt &Val = ConstVal->getValue(); in SwitchLookupTable()

123