Home
last modified time | relevance | path

Searched defs:ConstantComparesGatherer (Results 1 – 3 of 3) sorted by relevance

/aosp_15_r20/external/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp400 struct ConstantComparesGatherer { struct
401 const DataLayout &DL;
402 Value *CompValue; /// Value found for the switch comparison
403 Value *Extra; /// Extra clause to be checked before the switch
404 SmallVector<ConstantInt *, 8> Vals; /// Set of integers to match in switch
405 unsigned UsedICmps; /// Number of comparisons matched in the and/or chain
408 ConstantComparesGatherer(Instruction *Cond, const DataLayout &DL) in ConstantComparesGatherer() function
421 bool setValueOnce(Value *NewVal) { in setValueOnce()
435 bool matchInstruction(Instruction *I, bool isEQ) { in matchInstruction()
580 void gather(Value *V) { in gather()
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp450 struct ConstantComparesGatherer { struct
451 const DataLayout &DL;
454 Value *CompValue = nullptr;
457 Value *Extra = nullptr;
460 SmallVector<ConstantInt *, 8> Vals;
463 unsigned UsedICmps = 0;
466 ConstantComparesGatherer(Instruction *Cond, const DataLayout &DL) : DL(DL) { in ConstantComparesGatherer() function
477 bool setValueOnce(Value *NewVal) { in setValueOnce()
491 bool matchInstruction(Instruction *I, bool isEQ) { in matchInstruction()
635 void gather(Value *V) { in gather()
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp521 struct ConstantComparesGatherer { struct
522 const DataLayout &DL;
525 Value *CompValue = nullptr;
528 Value *Extra = nullptr;
531 SmallVector<ConstantInt *, 8> Vals;
534 unsigned UsedICmps = 0;
537 ConstantComparesGatherer(Instruction *Cond, const DataLayout &DL) : DL(DL) { in ConstantComparesGatherer() argument
548 bool setValueOnce(Value *NewVal) { in setValueOnce()
562 bool matchInstruction(Instruction *I, bool isEQ) { in matchInstruction()
706 void gather(Value *V) { in gather()